Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before b5f924ffbfa976e4b97f17e8132c595b97482c2d; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5a8f82f9c5839389cf4036029dd75a9911049e83; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 04082b1833856cb9ed87e0d3d5f04cbf836cf7da; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c037d6bde3dd5fa00b017b6b98a5389ec0ebc02f; affected 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 5f270f091256da1338c3631083e15d7f83cc05e1; affected 0 before 6.6.158; affected 0 before 6.12.112; affected 0 before 6.18.54; affected 0 before 7.2.8 |
| Linux / Linux | unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.54 through 6.18.*; unaffected 7.2.8 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/b5f924ffbfa976e4b97f17e8132c595b97482c2d
- https://git.kernel.org/stable/c/5a8f82f9c5839389cf4036029dd75a9911049e83
- https://git.kernel.org/stable/c/04082b1833856cb9ed87e0d3d5f04cbf836cf7da
- https://git.kernel.org/stable/c/c037d6bde3dd5fa00b017b6b98a5389ec0ebc02f
- https://git.kernel.org/stable/c/5f270f091256da1338c3631083e15d7f83cc05e1