CVE-2024-36883Linux Kernel
High 7.1
Follow: this CVE · Linux · Linux Kernel We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 3.1
- 7.1
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 25
- Auth required
- Yes
- Published
- May 30, 2024
- Updated
- Aug 4, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-125
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Linux Kernel.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| 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 | 3.3 |
| linux | linux_kernel | 3.3 |
| linux | linux_kernel | 3.3 |
| linux | linux_kernel | 3.3 |
| linux | linux_kernel | 3.3 |
| linux | linux_kernel | 3.3 |
| linux | linux_kernel | 6.9 |
| linux | linux_kernel | 6.9 |
| linux | linux_kernel | 6.9 |
| linux | linux_kernel | 6.9 |
| linux | linux_kernel | 6.9 |
| linux | linux_kernel | 6.9 |
| linux | linux_kernel | 6.9 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- git.kernel.org Patch
- lists.debian.org Third Party Advisory
- lists.debian.org Third Party Advisory
- security.netapp.com Third Party Advisory