CyberSecBulletin
CVE-2024-36883NVD status: Modified

Linux: Out-of-bounds Read

CVE-2024-36883 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 3cdc34d76c4f777579e28ad373979d36c030cfd3, 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f, 0c3248bc708a7797be573214065cf908ff1f54c7 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.31% 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 3cdc34d76c4f777579e28ad373979d36c030cfd3 or 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f or 0c3248bc708a7797be573214065cf908ff1f54c7 or 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030, whichever matches your release line, or a later version.
  2. Update Linux Kernel to 3.1 or 3.3 or 4.19.314 or 5.4.276, whichever matches your release line, or a later version.

Affected products and versions

VendorProductAffected versionsFixed in
LinuxLinux073862ba5d249c20bd5c49fc6d904ff0e1f6a672 up to, but not including, 3cdc34d76c4f777579e28ad373979d36c030cfd3; 073862ba5d249c20bd5c49fc6d904ff0e1f6a672 up to, but not including, 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f; 073862ba5d249c20bd5c49fc6d904ff0e1f6a672 up to, but not including, 0c3248bc708a7797be573214065cf908ff1f54c7; 073862ba5d249c20bd5c49fc6d904ff0e1f6a672 up to, but not including, 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030; 073862ba5d249c20bd5c49fc6d904ff0e1f6a672 up to, but not including, 2d60ff5874aefd006717ca5e22ac1e25eac29c42; 073862ba5d249c20bd5c49fc6d904ff0e1f6a672 up to, but not including, b6dbfd5bcc267a95a0bf1bf96af46243f96ec6cd; 073862ba5d249c20bd5c49fc6d904ff0e1f6a672 up to, but not including, f4f94587e1bf87cb40ec33955a9d90148dd026ab; 073862ba5d249c20bd5c49fc6d904ff0e1f6a672 up to, but not including, a26ff37e624d12e28077e5b24d2b264f62764ad6; and 5 more ranges3cdc34d76c4f777579e28ad373979d36c030cfd3, 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f, 0c3248bc708a7797be573214065cf908ff1f54c7, 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030, 2d60ff5874aefd006717ca5e22ac1e25eac29c42, b6dbfd5bcc267a95a0bf1bf96af46243f96ec6cd
LinuxLinux Kernel3.0.19 up to, but not including, 3.1; 3.2.3 up to, but not including, 3.3; 3.3.1 up to, but not including, 4.19.314; 4.20 up to, but not including, 5.4.276; 5.5 up to, but not including, 5.10.217; 5.11 up to, but not including, 5.15.159; 5.16 up to, but not including, 6.1.91; 6.2 up to, but not including, 6.6.31; and 3 more ranges3.1, 3.3, 4.19.314, 5.4.276, 5.10.217, 5.15.159
DebianDebian Linux10.0Not stated

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.

Scoring systemScoreSeverityScored by
CVSS 3.17.8HighCNA
CVSS 3.17.1HighNVD

Official description

In the Linux kernel, the following vulnerability has been resolved: net: fix out-of-bounds access in ops_init net_alloc_generic is called by net_alloc, which is called without any locking. It reads max_gen_ptrs, which is changed under pernet_ops_rwsem. It is read twice, first to allocate an array, then to set s.len, which is later used to limit the bounds of the array access. It is possible that the array is allocated and another thread is registering a new pernet ops, increments max_gen_ptrs, which is then used to set s.len with a larger than allocated length for the variable array. Fix it by reading max_gen_ptrs only once in net_alloc_generic. If max_gen_ptrs is later incremented, it will be caught in net_assign_generic.

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.