Search covers the description text, product and vendor names and weakness types (also partial words).
This vulnerability can be exploited with local access to the device, with a regular user account, without any user interaction.
A successful attack has high impact: reading confidential data, crashing the system or making it unavailable.
Weakness type: Out-of-bounds read.
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
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.
Weakness: CWE-125 – Out-of-bounds read
| 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 | 6.9 |
| debian | debian linux | 10.0 |