CVE-2024-35966
Severity CVSS v4.0:
Pending analysis
Type:
CWE-125
Out-of-bounds Read
Publication date:
20/05/2024
Last modified:
12/05/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
Bluetooth: RFCOMM: Fix not validating setsockopt user input<br />
<br />
syzbot reported rfcomm_sock_setsockopt_old() is copying data without<br />
checking user input length.<br />
<br />
BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset<br />
include/linux/sockptr.h:49 [inline]<br />
BUG: KASAN: slab-out-of-bounds in copy_from_sockptr<br />
include/linux/sockptr.h:55 [inline]<br />
BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt_old<br />
net/bluetooth/rfcomm/sock.c:632 [inline]<br />
BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt+0x893/0xa70<br />
net/bluetooth/rfcomm/sock.c:673<br />
Read of size 4 at addr ffff8880209a8bc3 by task syz-executor632/5064
Impact
Base Score 3.x
7.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 2.6.30 (including) | 5.10.234 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.11 (including) | 5.15.178 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.107 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.47 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.8.7 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/00767fbd67af70d7a550caa5b12d9515fa978bab
- https://git.kernel.org/stable/c/4ea65e2095e9bd151d0469328dd7fc2858feb546
- https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695
- https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f
- https://git.kernel.org/stable/c/d072ea24748189cd8f4a9c3f585ca9af073a0838
- https://git.kernel.org/stable/c/eea40d33bf936a5c7fb03c190e61e0cfee00e872
- https://git.kernel.org/stable/c/a97de7bff13b1cc825c1b1344eaed8d6c2d3e695
- https://git.kernel.org/stable/c/c3f787a3eafe519c93df9abbb0ca5145861c8d0f
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html



