scsi: ufs: bsg: Validate request_len before accessing request
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 64d4864714c2cd2af35b48ab5b28a28ee863219a to before c38969789590a422af644093c61935a05df045e0 Affected64d4864714c2cd2af35b48ab5b28a28ee863219a to before 9af02dac8048ad6de598ddc18df7f1963403e269 Affected64d4864714c2cd2af35b48ab5b28a28ee863219a to before b745e2838c79aa3c452d6fcbc6d7093e069895dd Affected64d4864714c2cd2af35b48ab5b28a28ee863219a to before 0fcf2c7ace5fdab641a81aa2455e2dc56d4a6a20 Affected64d4864714c2cd2af35b48ab5b28a28ee863219a to before 42aa443718104d10dbdb6f258810b425eb2451f8 Affected |
| Linux Linux | 6.3 Affectedbefore 6.3 Not Affected6.6.163 through 6.6.* Not Affected6.12.118 through 6.12.* Not Affected6.18.64 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/c38969789590a422af644093c61935a05df045e0
- https://git.kernel.org/stable/c/9af02dac8048ad6de598ddc18df7f1963403e269
- https://git.kernel.org/stable/c/b745e2838c79aa3c452d6fcbc6d7093e069895dd
- https://git.kernel.org/stable/c/0fcf2c7ace5fdab641a81aa2455e2dc56d4a6a20
- https://git.kernel.org/stable/c/42aa443718104d10dbdb6f258810b425eb2451f8
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.