smb/server: fix null-ptr-deref in ksmbd_ipc_tree_connect_request()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.110, 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: smb/server: fix null-ptr-deref in ksmbd_ipc_tree_connect_request() See the procedure below: ksmbd_tree_conn_connect ksmbd_share_config_get share->name = kstrdup() // fail if (!test_share_config_flag(share, KSMBD_SHARE_FLAG_PIPE)) // false // do not check `share->name` ksmbd_ipc_tree_connect_request strlen(share->name) // null-ptr-deref
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12; From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in 4eb74a34ea401abfbbd5991076715dae3de938df; From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in 8461f27902727ad434375caf13a0100aafc0340f; From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in 7065d3648b1a48d2c49da3d6364dd3c4d503b10c; From e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 · fixed in d2ccf905f47d2344270749f4dfa905afcd3edeb0
- Linux Linux
5.15
- KernelLinux
From 5.15.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6