Vulnerability record
scsi: ufs: bsg: Validate request_len before accessing request
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.
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources