CVEvulnerability

CVE-2024-35966

7.1 HIGH Published 2024-05-20 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2024-05-20
Last modified
2026-10-15
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weaknesses
CWE-125

Description

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

Affected configurations

• linux linux kernel (>= 2.6.30 < 5.10.234) • linux linux kernel (>= 5.11 < 5.15.178) • linux linux kernel (>= 5.16 < 6.1.107) • linux linux kernel (>= 6.2 < 6.6.47) • linux linux kernel (>= 6.7 < 6.8.7) • linux linux kernel 6.9

Related

Weakness · CWE (1)

  • CWE-125 Out-of-bounds Read weakness

References