CVE-2023-52502 net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 3.6
해결 버전
- 3.6 미만
- 4.19.297 이상
- 5.4.259 이상
- 5.10.199 이상
- 5.15.136 이상
- 6.1.59 이상
- 6.5.8 이상
참고 자료 7건
- git.kernel.org https://git.kernel.org/stable/c/31c07dffafce914c1d1543c135382a11ff058d93 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6ac22ecdaad2ecc662048f8c6b0ceb1ca0699ef9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7adcf014bda16cdbf804af5c164d94d5d025db2d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d1af8a39cf839d93c8967fdd858f6bbdc3e4a15c (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d888d3f70b0de32b4f51534175f039ddab15eef8 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e4f2611f07c87b3ddb57c4b9e8efcd1e330fc3dc (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e863f5720a5680e50c4cecf12424d7cc31b3eb0a (새 창)