Linux
smb: client: fix rlist race and missing initialization
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < b5f924ffbfa976e4b97f17e8132c595b97482c2d
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5a8f82f9c5839389cf4036029dd75a9911049e83
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 04082b1833856cb9ed87e0d3d5f04cbf836cf7da
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c037d6bde3dd5fa00b017b6b98a5389ec0ebc02f
- >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5f270f091256da1338c3631083e15d7f83cc05e1
- < 6.6.158
- < 6.12.112
- < 6.18.54
- < 7.2.8
Fixed in b5f924ffbfa976e4b97f17e8132c595b97482c2d, 5a8f82f9c5839389cf4036029dd75a9911049e83, 04082b1833856cb9ed87e0d3d5f04cbf836cf7da, c037d6bde3dd5fa00b017b6b98a5389ec0ebc02f, 5f270f091256da1338c3631083e15d7f83cc05e1, 6.6.158, 6.12.112, 6.18.54, 7.2.8
Fixed in 6.6.158, 6.12.112, 6.18.54, 7.2.8, 7.3
Mitigation
Upgrade Linux to b5f924ffbfa976e4b97f17e8132c595b97482c2d or 5a8f82f9c5839389cf4036029dd75a9911049e83 or 04082b1833856cb9ed87e0d3d5f04cbf836cf7da or c037d6bde3dd5fa00b017b6b98a5389ec0ebc02f or 5f270f091256da1338c3631083e15d7f83cc05e1 or 6.6.158 or 6.12.112 or 6.18.54 or 7.2.8 or later.
Upgrade Linux to 6.6.158 or 6.12.112 or 6.18.54 or 7.2.8 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.