CVE-2026-99442: In the Linux kernel, the following vulnerability has been resolved: nvmem: core: Fix OOB read for bit offsets of more than one byte When the bit offset is BITS…
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- linux
https://nvd.nist.gov/vuln/detail/CVE-2026-99442 ↗
In the Linux kernel, the following vulnerability has been resolved: nvmem: core: Fix OOB read for bit offsets of more than one byte When the bit offset is BITS_PER_BYTE or larger the read position is advanced by `bytes_offset`. This is not taken into account in the per-byte read loop which still reads `cell->bytes` resulting in an out of bounds read of `bytes_offset` bytes. The information read OOB does not leak directly as the erroneously read bits are cleared. Detected by KASAN while looking for a use-after-free in simplefb.c. References: https://git.kernel.org/stable/c/006ad1a97ab79f0173e44d82f75340243b54024b https://git.kernel.org/stable/c/24530401e8001aaa637dd5007fcdc6fbc00300be https://git.kernel.org/stable/c/2b76fa7fb0a44ded2367e51b1d296f962854301f https://git.kernel.org/stable/c/91895cfc28aed7c5daad13475c68588a844843d8