Not scored
smb: client: fix races in cifsd thread creation
- Severity
- Not scored
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix races in cifsd thread creation The cifsd demultiplex thread can run and access tcp_ses before the parent thread has finished populating tcp_ses, which the worker thread accesses locklessly. Also, the kthread_run macro may start the thread before returning the thread pointer. Because the pointer is part of the structure that the thread can access, if the kernel is preempted after the thread is spawned, but before the thread pointer is populated and the thread attempts to exit, it will sleep, waiting for a SIGKILL signal. Fix this by moving creation of the thread to after all of tcp_ses'es fields are populated, and spawning the thread last, using a split kthread_create/wake_up_process logic.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from aaf737adb6937339494d5a7111f0433cd9676db8 before 2376fb3348b4fa72a5158c8a63ff2489e1956541, from aaf737adb6937339494d5a7111f0433cd9676db8 before cfa09f63e75cf440c9be97d1e73d509bfbb2c2c5, from aaf737adb6937339494d5a7111f0433cd9676db8 before ee8f811cbac56ffb738b3a73671a9e75b0f56e99, from aaf737adb6937339494d5a7111f0433cd9676db8 before 0eee1e6cddd1d9ce14da06e0238ca8d3362dec90, from aaf737adb6937339494d5a7111f0433cd9676db8 before e8a5cf2ff5a13fefb228f2069e29dd7d8e37185d, 2.6.22 Not affected: before 2.6.22, from 6.1.191 up to 6.1.*, from 6.6.158 up to 6.6.*, from 6.12.111 up to 6.12.*, from 6.18.53 up to 6.18.*, from 7.2 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-93829 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-93829 changed 2026-10-30 | Public domain |