scsi: ufs: bsg: Validate request_len before accessing request (Linux Linux)

CVE-2026-99937
Not available

At a glance

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

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: bsg: Validate request_len before accessing request ufs_bsg_request() and ufs_bsg_exec_advanced_rpmb_req() read the request buffer without checking job->request_len, which userspace controls. A short request causes an out-of-bounds read. Found by syzkaller. Reject requests shorter than the structure each path reads.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 64d4864714c2cd2af35b48ab5b28a28ee863219a < c38969789590a422af644093c61935a05df045e0
affected : ≥ 64d4864714c2cd2af35b48ab5b28a28ee863219a < 9af02dac8048ad6de598ddc18df7f1963403e269
affected : ≥ 64d4864714c2cd2af35b48ab5b28a28ee863219a < b745e2838c79aa3c452d6fcbc6d7093e069895dd
affected : ≥ 64d4864714c2cd2af35b48ab5b28a28ee863219a < 0fcf2c7ace5fdab641a81aa2455e2dc56d4a6a20
affected : ≥ 64d4864714c2cd2af35b48ab5b28a28ee863219a < 42aa443718104d10dbdb6f258810b425eb2451f8
Other versions : unaffected
Linux · Linux
affected : 6.3
unaffected : ≥ 0 < 6.3
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.4 ≤ 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