nvmem: core: Fix OOB read for bit offsets of more than one byte

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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.

ProductVersions
Linux Linuxa4f865ecdbdd2b466f7914c293246c3c13654fc4 to before 2b76fa7fb0a44ded2367e51b1d296f962854301f Affected7a06ef75107799675ea6e4d73b9df37e18e352a8 to before 006ad1a97ab79f0173e44d82f75340243b54024b Affected7a06ef75107799675ea6e4d73b9df37e18e352a8 to before 91895cfc28aed7c5daad13475c68588a844843d8 Affected7a06ef75107799675ea6e4d73b9df37e18e352a8 to before 24530401e8001aaa637dd5007fcdc6fbc00300be Affected4ff5631498091f82f3abdf7db15e888fe60ee572 Affected6.12.31 to before 6.12.117 Affected6.14.9 to before 6.15 Affected
Linux Linux6.15 Affectedbefore 6.15 Not Affected6.12.117 through 6.12.* Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.