High · published March 3, 2024
In the Linux kernel, the following vulnerability has been resolved:
net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
Sili Luo reported a race in nfc_llcp_sock_get(), leading to UAF.
Getting a reference on the socket found in a lookup while
holding a lock should happen before releasing the lock.
nfc_llcp_sock_get_sn() has a similar problem.
Finally nfc_llcp_recv_snl() needs to make sure the socket
found by nfc_llcp_sock_from_sn() does not disappear.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 3.6, < 4.19.297 | 4.19.297 |
| linux/linux_kernel | ≥ 4.20, < 5.4.259 | 5.4.259 |
| linux/linux_kernel | ≥ 5.5, < 5.10.199 | 5.10.199 |
| linux/linux_kernel | ≥ 5.11, < 5.15.136 | 5.15.136 |
| linux/linux_kernel | ≥ 5.16, < 6.1.59 | 6.1.59 |
| linux/linux_kernel | ≥ 6.2, < 6.5.8 | 6.5.8 |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |
| linux/linux_kernel | all versions | — |