Linux
ksmbd: add chann_lock to protect ksmbd_chann_list xarray
In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock to protect ksmbd_chann_list xarray ksmbd_chann_list xarray lacks synchronization, allowing use-after-free in multi-channel sessions (between lookup_chann_list() and ksmbd_chann_del). Adds rw_semaphore chann_lock to struct ksmbd_session and protects all xa_load/xa_store/xa_erase accesses.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 91bbf9cb2387a0d76322e9a343bc6bc160f66b3f, < c00f3938f7ac52770907768e440cf253af9cbb63
- >= 1d9c4172110e645b383ff13eee759728d74f1a5d, < 43ad494ac6e940a8eabf25d5bd77bb3bb53b1153
- >= 1d9c4172110e645b383ff13eee759728d74f1a5d, < 4c2ca31608521895dd742a43beca4b4d29762345
- >= 1d9c4172110e645b383ff13eee759728d74f1a5d, < e4a8a96a93d08570e0405cfd989a8a07e5b6ff33
- >= 1d9c4172110e645b383ff13eee759728d74f1a5d, < 36ef605c0395b94b826a8c8d6f2697071173de6e
- >= 1d9c4172110e645b383ff13eee759728d74f1a5d, < 4f3a06cc57976cafa8c6f716646be6c79a99e485
- b1caecbf34b8c8260d851ec4efde71f3694460b7
- 853c416710b075153c1e1421e099ffbe5dac68ce
- >= 6.1.29, < 6.1.191
- >= 5.15.145, < 5.16
- >= 6.2.16, < 6.3
Fixed in c00f3938f7ac52770907768e440cf253af9cbb63, 43ad494ac6e940a8eabf25d5bd77bb3bb53b1153, 4c2ca31608521895dd742a43beca4b4d29762345, e4a8a96a93d08570e0405cfd989a8a07e5b6ff33, 36ef605c0395b94b826a8c8d6f2697071173de6e, 4f3a06cc57976cafa8c6f716646be6c79a99e485, 6.1.191, 5.16, 6.3
- 6.3
Fixed in 0, 6.1.191, 6.6.160, 6.12.77, 6.18.11, 6.19.1, 7.0
Mitigation
Upgrade Linux to c00f3938f7ac52770907768e440cf253af9cbb63 or 43ad494ac6e940a8eabf25d5bd77bb3bb53b1153 or 4c2ca31608521895dd742a43beca4b4d29762345 or e4a8a96a93d08570e0405cfd989a8a07e5b6ff33 or 36ef605c0395b94b826a8c8d6f2697071173de6e or 4f3a06cc57976cafa8c6f716646be6c79a99e485 or 6.1.191 or 5.16 or 6.3 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.77 or 6.18.11 or 6.19.1 or 7.0 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.