CVE-2024-35966CWE-125

CVE-2024-35966

High · published May 20, 2024

CVSS v3.1
7.1
EPSS
0%
Percentile
16.8
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00260 · 16.8th percentile
Weakness
CWE-125 · Out-of-bounds Read
Published
2024-05-20T14:15Z
Affected products (8)
ProductVersionsFixed in
linux/linux_kernel≥ 2.6.30, < 5.10.2345.10.234
linux/linux_kernel≥ 5.11, < 5.15.1785.15.178
linux/linux_kernel≥ 5.16, < 6.1.1076.1.107
linux/linux_kernel≥ 6.2, < 6.6.476.6.47
linux/linux_kernel≥ 6.7, < 6.8.76.8.7
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (11)
EPSS history
Timeline
  • 20 MAY 09:41Z
    Bluetooth: RFCOMM: Fix not validating setsockopt user input
    cvelistv5