# CVE-2024-36883: net: fix out-of-bounds access in ops\_init

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.39% (percentile 25, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2024-05-30T15:28:53.302Z
- **Modified:** 2026-08-05T11:31:49.005Z

## Who should check

- Anyone running Linux \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 3cdc34d76c4f777579e28ad373979d36c030cfd3; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 0c3248bc708a7797be573214065cf908ff1f54c7; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 2d60ff5874aefd006717ca5e22ac1e25eac29c42; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< b6dbfd5bcc267a95a0bf1bf96af46243f96ec6cd; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< f4f94587e1bf87cb40ec33955a9d90148dd026ab; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< a26ff37e624d12e28077e5b24d2b264f62764ad6; 561331eae0a03d0c4cf60f3cf485aa3e8aa5ab48; a2c82f7bee1ffa9eafa1fb0bd886a7eea8c9e497; …
- Anyone running Linux 3.3

## 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.

## Affected and fixed versions

- Linux: \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 3cdc34d76c4f777579e28ad373979d36c030cfd3; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 0c3248bc708a7797be573214065cf908ff1f54c7; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 2d60ff5874aefd006717ca5e22ac1e25eac29c42; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< b6dbfd5bcc267a95a0bf1bf96af46243f96ec6cd; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< f4f94587e1bf87cb40ec33955a9d90148dd026ab; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< a26ff37e624d12e28077e5b24d2b264f62764ad6; 561331eae0a03d0c4cf60f3cf485aa3e8aa5ab48; a2c82f7bee1ffa9eafa1fb0bd886a7eea8c9e497; … (cvelist)
- Linux: 3.3 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-36883. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-36883.md
Affected: Linux >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 3cdc34d76c4f777579e28ad373979d36c030cfd3; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 0c3248bc708a7797be573214065cf908ff1f54c7; >= 073862ba5d249c20bd5c49f…
Fixed in: Linux 3cdc34d76c4f777579e28ad373979d36c030cfd3, Linux 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f, Linux 0c3248bc708a7797be573214065cf908ff1f54c7, Linux 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030, Linux 2d60ff5874aefd006717ca5e22ac1e25eac29c42

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-36883 being exploited?

There is no confirmed exploitation: CVE-2024-36883 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-36883?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-36883?

Linux \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 3cdc34d76c4f777579e28ad373979d36c030cfd3; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 0c3248bc708a7797be573214065cf908ff1f54c7; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< 2d60ff5874aefd006717ca5e22ac1e25eac29c42; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< b6dbfd5bcc267a95a0bf1bf96af46243f96ec6cd; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< f4f94587e1bf87cb40ec33955a9d90148dd026ab; \>= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, \< a26ff37e624d12e28077e5b24d2b264f62764ad6; 561331eae0a03d0c4cf60f3cf485aa3e8aa5ab48; a2c82f7bee1ffa9eafa1fb0bd886a7eea8c9e497; …; Linux 3.3.

### Is there a fix for CVE-2024-36883?

Yes. Fixed in Linux 3cdc34d76c4f777579e28ad373979d36c030cfd3, Linux 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f, Linux 0c3248bc708a7797be573214065cf908ff1f54c7, Linux 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030, Linux 2d60ff5874aefd006717ca5e22ac1e25eac29c42. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-36883?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3cdc34d76c4f777579e28ad373979d36c030cfd3>
- patch: <https://git.kernel.org/stable/c/7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f>
- patch: <https://git.kernel.org/stable/c/0c3248bc708a7797be573214065cf908ff1f54c7>
- patch: <https://git.kernel.org/stable/c/9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030>
- patch: <https://git.kernel.org/stable/c/2d60ff5874aefd006717ca5e22ac1e25eac29c42>
- patch: <https://git.kernel.org/stable/c/b6dbfd5bcc267a95a0bf1bf96af46243f96ec6cd>
- patch: <https://git.kernel.org/stable/c/f4f94587e1bf87cb40ec33955a9d90148dd026ab>
- patch: <https://git.kernel.org/stable/c/a26ff37e624d12e28077e5b24d2b264f62764ad6>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00019.html>
- other: <https://security.netapp.com/advisory/ntap-20241018-0001/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-36883>

HTML: <https://flawdb.com/CVE-2024-36883> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-36883>
