Description (CNA)
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
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 4eb74a34ea401abfbbd5991076715dae3de938df; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 8461f27902727ad434375caf13a0100aafc0340f; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before 7065d3648b1a48d2c49da3d6364dd3c4d503b10c; affected e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 before d2ccf905f47d2344270749f4dfa905afcd3edeb0 |
| Linux / Linux | affected 5.15; unaffected 0 before 5.15; unaffected 6.6.160 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/5ffd180307a5ea34dae7f90ff9573ebed6b7fb12
- https://git.kernel.org/stable/c/4eb74a34ea401abfbbd5991076715dae3de938df
- https://git.kernel.org/stable/c/8461f27902727ad434375caf13a0100aafc0340f
- https://git.kernel.org/stable/c/7065d3648b1a48d2c49da3d6364dd3c4d503b10c
- https://git.kernel.org/stable/c/d2ccf905f47d2344270749f4dfa905afcd3edeb0