scsi: ufs: bsg: Clear the reply buffer before use
- 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: Clear the reply buffer before use
The reply buffer is allocated once per tag and reused. Requests that complete with a positive status do not fill all of it, so user space receives bytes from an earlier request on the same tag.
Clear the whole reply buffer on entry to ufs_bsg_request().
| Product | Versions |
|---|---|
| Linux Linux | 95e34bf930eaee51dab23495342b148cd0ee2ba1 to before 62aafe2a31d5b40eaa85856b8b5a947912077f90 Affected95e34bf930eaee51dab23495342b148cd0ee2ba1 to before 9965e689045a21ee31833791e254ef044c5b9673 Affected95e34bf930eaee51dab23495342b148cd0ee2ba1 to before 3d59b8c275abc021f8613892d1721485d3b0b295 Affected95e34bf930eaee51dab23495342b148cd0ee2ba1 to before a7b428766a3e5205735a983618d718f07b66fc2e Affected95e34bf930eaee51dab23495342b148cd0ee2ba1 to before 061264243d07092cbaccd067ffe78c9d76ac8c1b Affected95e34bf930eaee51dab23495342b148cd0ee2ba1 to before a3e6b9d63f4545f2e2c6522eb7b180a607420ef7 Affected95e34bf930eaee51dab23495342b148cd0ee2ba1 to before 230b5c5c36216cbc6876e702c96bbe601249a1a5 Affected95e34bf930eaee51dab23495342b148cd0ee2ba1 to before 2e63ac76cc08ea376ba61fef52f7b7849e35024d Affected |
| Linux Linux | 4.20 Affectedbefore 4.20 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 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/62aafe2a31d5b40eaa85856b8b5a947912077f90
- https://git.kernel.org/stable/c/9965e689045a21ee31833791e254ef044c5b9673
- https://git.kernel.org/stable/c/3d59b8c275abc021f8613892d1721485d3b0b295
- https://git.kernel.org/stable/c/a7b428766a3e5205735a983618d718f07b66fc2e
- https://git.kernel.org/stable/c/061264243d07092cbaccd067ffe78c9d76ac8c1b
- https://git.kernel.org/stable/c/a3e6b9d63f4545f2e2c6522eb7b180a607420ef7
- https://git.kernel.org/stable/c/230b5c5c36216cbc6876e702c96bbe601249a1a5
- https://git.kernel.org/stable/c/2e63ac76cc08ea376ba61fef52f7b7849e35024d
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.