smb: client: fix rlist race and missing initialization
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c037d6bde3dd5fa00b017b6b98a5389ec0ebc02f, Kernel 04082b1833856cb9ed87e0d3d5f04cbf836cf7da, Kernel 5a8f82f9c5839389cf4036029dd75a9911049e83 and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <c037d6bde3dd5fa00b017b6b98a5389ec0ebc02f, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <04082b1833856cb9ed87e0d3d5f04cbf836cf7da, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5a8f82f9c5839389cf4036029dd75a9911049e83, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <5f270f091256da1338c3631083e15d7f83cc05e1, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b5f924ffbfa976e4b97f17e8132c595b97482c2d, <6.12.112, <6.18.54, <6.6.158, <7.2.8 | c037d6bde3dd5fa00b017b6b98a5389ec0ebc02f, 04082b1833856cb9ed87e0d3d5f04cbf836cf7da, 5a8f82f9c5839389cf4036029dd75a9911049e83, 5f270f091256da1338c3631083e15d7f83cc05e1, b5f924ffbfa976e4b97f17e8132c595b97482c2d, 6.12.112, 6.18.54, 6.6.158, 7.2.8 |
| linux-kernel: Kernel | >=6.13.0 <6.18.54, >=6.19.0 <7.2.8, >=6.7.0 <6.12.112, <6.6.158 | 6.18.54, 7.2.8, 6.12.112, 6.6.158 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket