CVE-2024-36883

High

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.

Package Linux Kernel
Published 2024-05-30
Last modified 2026-01-22
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.1

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Weakness type

CWE-125

CVE-2024-36883 is a Out-of-bounds Read vulnerability

What is Out-of-bounds Read?

The product reads data past the end or before the beginning of the intended buffer. Learn more on MITRE CWE

Affected versions

Linux kernel versions 3.0.19, 3.2.3, 3.3 and later are affected. Fixed in 4.19.314, 5.4.276, 5.10.217, 5.15.159, 6.1.91, 6.6.31, 6.8.10, 6.9 and their respective stable series.

Affected from
≥ 3.0.19 ≥ 3.2.3 ≥ 3.3
Fixed in
✓ 4.19.314 4.19.x ✓ 5.4.276 5.4.x ✓ 5.10.217 5.10.x ✓ 5.15.159 5.15.x ✓ 6.1.91 6.1.x ✓ 6.6.31 6.6.x ✓ 6.8.10 6.8.x ✓ 6.9

Frequently asked questions

  • What is CVE-2024-36883?

    CVE-2024-36883 is a High severity Linux kernel vulnerability with a CVSS score of 7.1 out of 10 , classified as an Out-of-bounds Read flaw (CWE-125) . It affects Linux kernel versions from 3.0.19 onward and has been patched in 4.19.314, 5.4.276, 5.10.217 and others. CVE-2024-36883 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-36883?

    CVE-2024-36883 has a CVSS score of 7.1 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H .

  • Is there a patch available for CVE-2024-36883?

    Yes. CVE-2024-36883 has been patched. Fixed versions include 4.19.314, 5.4.276, 5.10.217 and others. If you are running Linux kernel 3.0.19 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-36883 actively exploited?

    No. CVE-2024-36883 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.