remoteproc: fix OOB read via signed offset in rsc_table_for_each_entry() (Linux Linux)

CVE-2026-90314
Not available

At a glance

Source
NVD
EPSS
EPSS 0.23 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: remoteproc: fix OOB read via signed offset in rsc_table_for_each_entry() table->offset[i] is a u32 from firmware, but was stored into a signed int. A crafted offset like 0xFFFFFFF0 becomes -16, placing hdr 16 bytes before the table buffer. The subsequent avail check was bypassed because the negative int was promoted to a large size_t in the expression "table_sz - offset - sizeof(*hdr)", yielding a large positive avail and letting the out-of-bounds hdr->type read proceed undetected. Store the offset as u32 and validate it with unsigned comparisons before any pointer arithmetic.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected fd2c15ec1dd3c2fdfc6ff03bb9644da9d530e3b9 < 0d385be8f199b349f325cf90584b47b6a044ea79 ; affected fd2c15ec1dd3c2fdfc6ff03bb9644da9d530e3b9 < cc85e0d3d3333fd5fd2d50c9a4578d209d7f2564 ; affected fd2c15ec1dd3c2fdfc6ff03bb9644da9d530e3b9 < 6a01ad25aa4f3a02153cf1d112cb9b65865cd5d8 ; affected fd2c15ec1dd3c2fdfc6ff03bb9644da9d530e3b9 < c82241a9454b2d30d53b50884f94b7972ba44a5e ; affected fd2c15ec1dd3c2fdfc6ff03bb9644da9d530e3b9 < bc4940793aaa16a9cf90063b11d6926f8014a1b7 ; affected fd2c15ec1dd3c2fdfc6ff03bb9644da9d530e3b9 < 6fd220604f06c746760183df74b07384c3fdd660
Linux · Linuxaffected 3.4 ; unaffected 0 < 3.4 ; unaffected 5.10.270 ≤ 5.10.* ; unaffected 5.15.221 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

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