smb: client: fix rlist race and missing initialization
- 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.158, 6.12.112, 6.18.54, 7.2.8
- 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: client: fix rlist race and missing initialization TCP_Server_Info.rlist is allocated via kzalloc which zeros both ->next and ->prev to NULL instead of pointing to itself, making list_empty() always return false and list_add() dereference a NULL ->prev pointer. Also, cifs_signal_cifsd_for_reconnect() can be called concurrently from multiple cifsd threads, allowing the same server's rlist node to be added twice into the local list, corrupting it.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in b5f924ffbfa976e4b97f17e8132c595b97482c2d; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 5a8f82f9c5839389cf4036029dd75a9911049e83; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 04082b1833856cb9ed87e0d3d5f04cbf836cf7da; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in c037d6bde3dd5fa00b017b6b98a5389ec0ebc02f; From 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · fixed in 5f270f091256da1338c3631083e15d7f83cc05e1; fixed in 6.6.158; fixed in 6.12.112; fixed in 6.18.54; fixed in 7.2.8
- Linux Linux
Version range not reported
- KernelLinux
fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8