CVSS 7.1 · High EPSS 0,18%
Kerentanan Out-of-bounds Read pada linux kernel, debian linux. Skor CVSS 3.1 7.1 (High) menurut NVD.
In the Linux kernel, the following vulnerability has been resolved: regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods drvdata::gpiods is supposed to hold an array of 'gpio_desc' pointers. But the memory is allocated for only one pointer. This will lead to out-of-bounds access later in the code if 'config::ngpios' is > 1. So fix the code to allocate enough memory to hold 'config::ngpios' of GPIO descriptors. While at it, also move the check for memory allocation failure to be below the allocation to make it more readable.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
· uraikan di kalkulator | Vendor | Produk | Versi terdampak |
|---|---|---|
| linux | linux kernel | Versi 5.1 hingga sebelum 5.4.296 |
| linux | linux kernel | Versi 5.5 hingga sebelum 5.10.240 |
| linux | linux kernel | Versi 5.11 hingga sebelum 5.15.187 |
| linux | linux kernel | Versi 5.16 hingga sebelum 6.1.144 |
| linux | linux kernel | Versi 6.2 hingga sebelum 6.6.97 |
| linux | linux kernel | Versi 6.7 hingga sebelum 6.12.37 |
| linux | linux kernel | Versi 6.13 hingga sebelum 6.15.6 |
| linux | linux kernel | Versi 6.16 rc1 |
| linux | linux kernel | Versi 6.16 rc2 |
| linux | linux kernel | Versi 6.16 rc3 |
| linux | linux kernel | Versi 6.16 rc4 |
| debian | debian linux | Versi 11.0 |