Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-99157

UNSCOREDEPSS 6%

scsi: bsg: Pass reply_len to bsg_setup_queue() to fit UFS ARPMB replies

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 913a1876fbe9a168030013b9e6cb2746fe41fff4; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < bfb0582708b3432919a8baaa3a65de5fdb1490ea; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 2effbe746452c108188f85a6951f2b0b65653840; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 7a755f6d47b811d3abd93c1642ce5e63894540b8; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < ec6b083915e8146e147314a5f4f1285d07b57bfc
  • Anyone running Linux 6.3

Vulnerability facts

Affected
Linux >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 913a1876fbe9a168030013b9e6cb2746fe41fff4; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < bfb0582708b3432919a8baaa3a65de5fdb1490ea; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 2effbe746452c108188f85a6951f2b0b65653840; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 7a755f6d47b811d3abd93c1642ce5e63894540b8; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < ec6b083915e8146e147314a5f4f1285d07b57bfc; Linux 6.3
Fixed in
Linux 913a1876fbe9a168030013b9e6cb2746fe41fff4, Linux 2effbe746452c108188f85a6951f2b0b65653840, Linux 7a755f6d47b811d3abd93c1642ce5e63894540b8
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.21% chance of exploitation in 30 days (percentile 6, 2026-11-26)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: bsg: Pass reply_len to bsg_setup_queue() to fit UFS ARPMB replies bsg-lib allocates a 96-byte (SCSI_SENSE_BUFFERSIZE) reply buffer per job, but struct ufs_rpmb_reply is 104 bytes: a 40-byte struct ufs_bsg_reply followed by a 64-byte EHS. When an Advanced RPMB command returns an EHS, ufshcd_advanced_rpmb_req_handler() copies it right after the 40-byte header and writes 8 bytes past the end of the buffer. Let each BSG transport pass its reply buffer size to bsg_setup_queue() and have ufs_bsg request sizeof(struct ufs_rpmb_reply), so the full reply reaches user space. Other transports keep SCSI_SENSE_BUFFERSIZE.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 913a1876fbe9a168030013b9e6cb2746fe41fff4; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < bfb0582708b3432919a8baaa3a65de5fdb1490ea; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 2effbe746452c108188f85a6951f2b0b65653840; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 7a755f6d47b811d3abd93c1642ce5e63894540b8; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < ec6b083915e8146e147314a5f4f1285d07b57bfc—cvelist
Linux6.3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-99157. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99157.md
Affected: Linux >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 913a1876fbe9a168030013b9e6cb2746fe41fff4; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < bfb0582708b3432919a8baaa3a65de5fdb1490ea; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 2effbe746452c108188f85a6951f2b0b65653840; >= 6ff265fc5ef660499e0edc4…
Fixed in: Linux 913a1876fbe9a168030013b9e6cb2746fe41fff4, Linux 2effbe746452c108188f85a6951f2b0b65653840, Linux 7a755f6d47b811d3abd93c1642ce5e63894540b8

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-99157 being exploited?

There is no confirmed exploitation: CVE-2026-99157 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-99157?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2026-99157?

Linux >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 913a1876fbe9a168030013b9e6cb2746fe41fff4; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < bfb0582708b3432919a8baaa3a65de5fdb1490ea; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 2effbe746452c108188f85a6951f2b0b65653840; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < 7a755f6d47b811d3abd93c1642ce5e63894540b8; >= 6ff265fc5ef660499e0edc4641647e99eed3f519, < ec6b083915e8146e147314a5f4f1285d07b57bfc; Linux 6.3.

Is there a fix for CVE-2026-99157?

Yes. Fixed in Linux 913a1876fbe9a168030013b9e6cb2746fe41fff4, Linux 2effbe746452c108188f85a6951f2b0b65653840, Linux 7a755f6d47b811d3abd93c1642ce5e63894540b8. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2026-99157?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors