CyberSecBulletin
CVE-2024-35966NVD status: Modified

Linux: Out-of-bounds Read

CVE-2024-35966 is a high-severity out-of-bounds read vulnerability in Linux, with a CVSS 3.1 base score of 7.1 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. The record lists versions d072ea24748189cd8f4a9c3f585ca9af073a0838, 00767fbd67af70d7a550caa5b12d9515fa978bab, eea40d33bf936a5c7fb03c190e61e0cfee00e872 as the first without the flaw, so updating Linux to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.26% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Linux to d072ea24748189cd8f4a9c3f585ca9af073a0838 or 00767fbd67af70d7a550caa5b12d9515fa978bab or eea40d33bf936a5c7fb03c190e61e0cfee00e872 or 4ea65e2095e9bd151d0469328dd7fc2858feb546, whichever matches your release line, or a later version.
  2. Update SIMATIC S7-1500 TM MFP - GNU/Linux subsystem to V1.1.1 or a later version.
  3. Update Linux Kernel to 5.10.234 or 5.15.178 or 6.1.107 or 6.6.47, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinuxbb23c0ab824653be4aa7dfca15b07b3059717004 up to, but not including, d072ea24748189cd8f4a9c3f585ca9af073a0838; bb23c0ab824653be4aa7dfca15b07b3059717004 up to, but not including, 00767fbd67af70d7a550caa5b12d9515fa978bab; bb23c0ab824653be4aa7dfca15b07b3059717004 up to, but not including, eea40d33bf936a5c7fb03c190e61e0cfee00e872; bb23c0ab824653be4aa7dfca15b07b3059717004 up to, but not including, 4ea65e2095e9bd151d0469328dd7fc2858feb546; bb23c0ab824653be4aa7dfca15b07b3059717004 up to, but not including, c3f787a3eafe519c93df9abbb0ca5145861c8d0f; bb23c0ab824653be4aa7dfca15b07b3059717004 up to, but not including, a97de7bff13b1cc825c1b1344eaed8d6c2d3e695; 2.6.30d072ea24748189cd8f4a9c3f585ca9af073a0838, 00767fbd67af70d7a550caa5b12d9515fa978bab, eea40d33bf936a5c7fb03c190e61e0cfee00e872, 4ea65e2095e9bd151d0469328dd7fc2858feb546, c3f787a3eafe519c93df9abbb0ca5145861c8d0f, a97de7bff13b1cc825c1b1344eaed8d6c2d3e695
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystembefore V1.1.1V1.1.1
LinuxLinux Kernel2.6.30 up to, but not including, 5.10.234; 5.11 up to, but not including, 5.15.178; 5.16 up to, but not including, 6.1.107; 6.2 up to, but not including, 6.6.47; 6.7 up to, but not including, 6.8.7; 6.95.10.234, 5.15.178, 6.1.107, 6.6.47, 6.8.7

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
LocalThe attacker needs local access or must trick a user into running something.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H. Scored by NVD.

Official 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

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Out-of-bounds Read

The product reads data past the end, or before the beginning, of the intended buffer.

How developers prevent this class of flaw

  • Use a language that provides appropriate memory abstractions.

More Out-of-bounds Read vulnerabilities (CWE-125)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Recent Out-of-bounds Read vulnerabilities

Spotted an error? Tell us.