CVE-2024-35966 Bluetooth: RFCOMM: Fix not validating setsockopt user input
설명
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Fix not validating setsockopt user input syzbot reported rfcomm_sock_setsockopt_old() is copying data without checking user input length. BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt_old net/bluetooth/rfcomm/sock.c:632 [inline] BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt+0x893/0xa70 net/bluetooth/rfcomm/sock.c:673 Read of size 4 at addr ffff8880209a8bc3 by task syz-executor632/5064
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 2.6.30
해결 버전
- 2.6.30 미만
- 5.10.234 이상
- 5.15.178 이상
- 6.1.107 이상
- 6.6.47 이상
- 6.8.7 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab (새 창)
- git.kernel.org https://git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872 (새 창)