CVE-2024-36883
Last modified
CVE-2024-36883 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 3.0.19, < 3.1 | — |
| Linux | Linux Kernel | >= 3.2.3, < 3.3 | — |
| Linux | Linux Kernel | >= 3.3.1, < 4.19.314 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.276 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.217 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.159 | — |
| Linux | Linux Kernel | >= 5.16, < 6.1.91 | — |
| Linux | Linux Kernel | >= 6.2, < 6.6.31 | — |
| Linux | Linux Kernel | >= 6.7, < 6.8.10 | — |
| Linux | Linux Kernel | 3.3 | — |
| Linux | Linux Kernel | 6.9 | Rc1 |
| Debian | Debian Linux | 10.0 | — |
References
- https://lists.debian.org/debian-lts-announce/2024/06/msg00019.htmlThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/06/msg00020.htmlThird Party Advisory
- https://security.netapp.com/advisory/ntap-20241018-0001/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-36883?
How severe is CVE-2024-36883?
How do I fix CVE-2024-36883?
Are you affected by CVE-2024-36883?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
