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

CVE-2026-99442
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ a4f865ecdbdd2b466f7914c293246c3c13654fc4 < 2b76fa7fb0a44ded2367e51b1d296f962854301f
affected : ≥ 7a06ef75107799675ea6e4d73b9df37e18e352a8 < 006ad1a97ab79f0173e44d82f75340243b54024b
affected : ≥ 7a06ef75107799675ea6e4d73b9df37e18e352a8 < 91895cfc28aed7c5daad13475c68588a844843d8
affected : ≥ 7a06ef75107799675ea6e4d73b9df37e18e352a8 < 24530401e8001aaa637dd5007fcdc6fbc00300be
affected : 4ff5631498091f82f3abdf7db15e888fe60ee572
affected : ≥ 6.12.31 < 6.12.117
affected : ≥ 6.14.9 < 6.15
Other versions : unaffected
Linux · Linux
affected : 6.15
unaffected : ≥ 0 < 6.15
unaffected : ≥ 6.12.117 ≤ 6.12.*
unaffected : ≥ 6.18.61 ≤ 6.18.*
unaffected : ≥ 7.3.2 ≤ 7.3.*
unaffected : ≥ 7.4-rc1 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD