CVE-2024-36883
net: fix out-of-bounds access in ops_init
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 3cdc34d76c4f777579e28ad373979d36c030cfd3; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 0c3248bc708a7797be573214065cf908ff1f54c7; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 2d60ff5874aefd006717ca5e22ac1e25eac29c42; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < b6dbfd5bcc267a95a0bf1bf96af46243f96ec6cd; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < f4f94587e1bf87cb40ec33955a9d90148dd026ab; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < a26ff37e624d12e28077e5b24d2b264f62764ad6; 561331eae0a03d0c4cf60f3cf485aa3e8aa5ab48; a2c82f7bee1ffa9eafa1fb0bd886a7eea8c9e497; …; Linux 3.3
- Fixed in
- Linux 3cdc34d76c4f777579e28ad373979d36c030cfd3, Linux 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f, Linux 0c3248bc708a7797be573214065cf908ff1f54c7, Linux 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030, Linux 2d60ff5874aefd006717ca5e22ac1e25eac29c42
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
- CWE
- CWE-125
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 3cdc34d76c4f777579e28ad373979d36c030cfd3; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 0c3248bc708a7797be573214065cf908ff1f54c7; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < 2d60ff5874aefd006717ca5e22ac1e25eac29c42; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < b6dbfd5bcc267a95a0bf1bf96af46243f96ec6cd; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < f4f94587e1bf87cb40ec33955a9d90148dd026ab; >= 073862ba5d249c20bd5c49fc6d904ff0e1f6a672, < a26ff37e624d12e28077e5b24d2b264f62764ad6; 561331eae0a03d0c4cf60f3cf485aa3e8aa5ab48; a2c82f7bee1ffa9eafa1fb0bd886a7eea8c9e497; … | — | cvelist |
| Linux | 3.3 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/3cdc34d76c4f777579e28ad373979d36c030cfd3
- https://git.kernel.org/stable/c/7b0e64583eab8c1d896b47e5dd0bf2e7d86ec41f
- https://git.kernel.org/stable/c/0c3248bc708a7797be573214065cf908ff1f54c7
- https://git.kernel.org/stable/c/9518b79bfd2fbf99fa9b7e8e36bcb1825e7ba030
- https://git.kernel.org/stable/c/2d60ff5874aefd006717ca5e22ac1e25eac29c42
- https://git.kernel.org/stable/c/b6dbfd5bcc267a95a0bf1bf96af46243f96ec6cd
- https://git.kernel.org/stable/c/f4f94587e1bf87cb40ec33955a9d90148dd026ab
- https://git.kernel.org/stable/c/a26ff37e624d12e28077e5b24d2b264f62764ad6
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.