Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 5ffd180307a5ea34dae7f90ff9573ebed6b7fb12affectede2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 4eb74a34ea401abfbbd5991076715dae3de938dfaffectede2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 8461f27902727ad434375caf13a0100aafc0340faffectede2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 7065d3648b1a48d2c49da3d6364dd3c4d503b10caffectede2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < d2ccf905f47d2344270749f4dfa905afcd3edeb0affected
Linux Linux
Default version status: affected
5.15affected0 to < 5.15unaffected6.6.160 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.52 to ≤ 6.18.*unaffected7.2.6 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
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 ↗