smb: client: fix races in cifsd thread creation
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.
CVE-2026-93829
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-93829
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "aaf737adb6937339494d5a7111f0433cd9676db8",
"lessThan": "cfa09f63e75cf440c9be97d1e73d509bfbb2c2c5",
"versionType": "git"
},
{
"status": "affected",
"version": "aaf737adb6937339494d5a7111f0433cd9676db8",
"lessThan": "ee8f811cbac56ffb738b3a73671a9e75b0f56e99",
"versionType": "git"
},
{
"status": "affected",
"version": "aaf737adb6937339494d5a7111f0433cd9676db8",
"lessThan": "0eee1e6cddd1d9ce14da06e0238ca8d3362dec90",
"versionType": "git"
},
{
"status": "affected",
"version": "aaf737adb6937339494d5a7111f0433cd9676db8",
"lessThan": "e8a5cf2ff5a13fefb228f2069e29dd7d8e37185d",
"versionType": "git"
}
],
"programFiles": [
"fs/smb/client/connect.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "2.6.22"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "2.6.22",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.158",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.111",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/smb/client/connect.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-93829
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #8299 · Revision 1
- Added to Heist Feed
- Publisher date