# CVE-2026-89515: scsi: core: Fill in DMA padding bytes in scsi\_alloc\_sgtables()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2026-09-11T19:43:59.300Z
- **Modified:** 2026-10-19T09:17:45.930Z

## Who should check

- Anyone running Linux \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 1aa6df61cef1f47f503c3ccf60d08c4dd931fdc1; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 6da140ebdfdd6aa3773945f2c0ebba01d2ef33d8; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< fd2cbe08c6ccba7fc1ddb830653a93bb7e2d833c; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 28ed5343666ff424ce5e248fa1c5a402303b4aff; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< a4353ec7742bdf87dcdde5875270feb3a1982a51; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< e7143c3f4e5c0a7986733c6f27009274bf6c4264; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 6fd1cce5018fdcc8d928e00a6a1dd2997d5b9409; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 626147717bea776b61ed3631d2c26283760c4cc4
- Anyone running Linux 2.6.25

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: core: Fill in DMA padding bytes in scsi\_alloc\_sgtables()

During fuzz testing, the following issue was discovered:

BUG: KMSAN: uninit-value in \_\_dma\_map\_sg\_attrs+0x217/0x310
 \_\_dma\_map\_sg\_attrs+0x217/0x310
 dma\_map\_sg\_attrs+0x4a/0x70
 ata\_qc\_issue+0x9f8/0x1420
 \_\_ata\_scsi\_queuecmd+0x1657/0x1740
 ata\_scsi\_queuecmd+0x79a/0x920
 scsi\_queue\_rq+0x4472/0x4f40
 blk\_mq\_dispatch\_rq\_list+0x1cca/0x3ee0
 \_\_blk\_mq\_sched\_dispatch\_requests+0x458/0x630
 blk\_mq\_sched\_dispatch\_requests+0x15b/0x340
 \_\_blk\_mq\_run\_hw\_queue+0xe5/0x250
 \_\_blk\_mq\_delay\_run\_hw\_queue+0x138/0x780
 blk\_mq\_run\_hw\_queue+0x4bb/0x7e0
 blk\_mq\_sched\_insert\_request+0x2a7/0x4c0
 blk\_execute\_rq+0x497/0x8a0
 sg\_io+0xbe0/0xe20
 scsi\_ioctl+0x2b36/0x3c60
 sr\_block\_ioctl+0x319/0x440
 blkdev\_ioctl+0x80f/0xd70
 \_\_se\_sys\_ioctl+0x219/0x420
 \_\_x64\_sys\_ioctl+0x93/0xe0
 x64\_sys\_call+0x1d6c/0x3ad0
 do\_syscall\_64+0x4c/0xa0
 entry\_SYSCALL\_64\_after\_hwframe+0x6e/0xd8

Uninit was created at:
 \_\_alloc\_pages+0x5c0/0xc80
 alloc\_pages+0xe0e/0x1050
 blk\_rq\_map\_user\_iov+0x2b77/0x6100
 blk\_rq\_map\_user\_io+0x2fa/0x4d0
 sg\_io+0xad6/0xe20
 scsi\_ioctl+0x2b36/0x3c60
 sr\_block\_ioctl+0x319/0x440
 blkdev\_ioctl+0x80f/0xd70
 \_\_se\_sys\_ioctl+0x219/0x420
 \_\_x64\_sys\_ioctl+0x93/0xe0
 x64\_sys\_call+0x1d6c/0x3ad0
 do\_syscall\_64+0x4c/0xa0
 entry\_SYSCALL\_64\_after\_hwframe+0x6e/0xd8

Bytes 14-15 of 16 are uninitialized
Memory access of size 16 starts at ffff88800cbdb000

When processing the last unaligned element of the scatterlist, it is
supplemented with missing bytes in the amount of pad\_len.  These bytes
remain uninitialized, which leads to a problem.

Extend last\_sg-\>length by pad\_len first, then use sg\_zero\_buffer() to
zero those pad\_len bytes.  sg\_zero\_buffer() uses sg\_miter internally,
which correctly handles sg entries spanning multiple pages and padding
that crosses a page boundary.

Found by Linux Verification Center (linuxtesting.org) with Syzkaller.

## Affected and fixed versions

- Linux: \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 1aa6df61cef1f47f503c3ccf60d08c4dd931fdc1; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 6da140ebdfdd6aa3773945f2c0ebba01d2ef33d8; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< fd2cbe08c6ccba7fc1ddb830653a93bb7e2d833c; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 28ed5343666ff424ce5e248fa1c5a402303b4aff; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< a4353ec7742bdf87dcdde5875270feb3a1982a51; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< e7143c3f4e5c0a7986733c6f27009274bf6c4264; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 6fd1cce5018fdcc8d928e00a6a1dd2997d5b9409; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 626147717bea776b61ed3631d2c26283760c4cc4 (cvelist)
- Linux: 2.6.25 (cvelist)

## Mitigation

- Upgrade Linux to 626147717bea776b61ed3631d2c26283760c4cc4 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89515.md
Affected: Linux >= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, < 1aa6df61cef1f47f503c3ccf60d08c4dd931fdc1; >= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, < 6da140ebdfdd6aa3773945f2c0ebba01d2ef33d8; >= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, < fd2cbe08c6ccba7fc1ddb830653a93bb7e2d833c; >= 40b01b9bbdf51ae543a0474…
Fixed in: Linux 1aa6df61cef1f47f503c3ccf60d08c4dd931fdc1, Linux 6da140ebdfdd6aa3773945f2c0ebba01d2ef33d8, Linux 28ed5343666ff424ce5e248fa1c5a402303b4aff, Linux 6fd1cce5018fdcc8d928e00a6a1dd2997d5b9409, Linux 626147717bea776b61ed3631d2c26283760c4cc4

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.
```

## FAQ

### Is CVE-2026-89515 being exploited?

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

### How serious is CVE-2026-89515?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-89515?

Linux \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 1aa6df61cef1f47f503c3ccf60d08c4dd931fdc1; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 6da140ebdfdd6aa3773945f2c0ebba01d2ef33d8; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< fd2cbe08c6ccba7fc1ddb830653a93bb7e2d833c; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 28ed5343666ff424ce5e248fa1c5a402303b4aff; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< a4353ec7742bdf87dcdde5875270feb3a1982a51; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< e7143c3f4e5c0a7986733c6f27009274bf6c4264; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 6fd1cce5018fdcc8d928e00a6a1dd2997d5b9409; \>= 40b01b9bbdf51ae543a04744283bf2d56c4a6afa, \< 626147717bea776b61ed3631d2c26283760c4cc4; Linux 2.6.25.

### Is there a fix for CVE-2026-89515?

Yes. Fixed in Linux 1aa6df61cef1f47f503c3ccf60d08c4dd931fdc1, Linux 6da140ebdfdd6aa3773945f2c0ebba01d2ef33d8, Linux 28ed5343666ff424ce5e248fa1c5a402303b4aff, Linux 6fd1cce5018fdcc8d928e00a6a1dd2997d5b9409, Linux 626147717bea776b61ed3631d2c26283760c4cc4. Upgrade Linux to 626147717bea776b61ed3631d2c26283760c4cc4 or later.

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

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.

## References

- other: <https://git.kernel.org/stable/c/1aa6df61cef1f47f503c3ccf60d08c4dd931fdc1>
- other: <https://git.kernel.org/stable/c/6da140ebdfdd6aa3773945f2c0ebba01d2ef33d8>
- other: <https://git.kernel.org/stable/c/fd2cbe08c6ccba7fc1ddb830653a93bb7e2d833c>
- other: <https://git.kernel.org/stable/c/28ed5343666ff424ce5e248fa1c5a402303b4aff>
- other: <https://git.kernel.org/stable/c/a4353ec7742bdf87dcdde5875270feb3a1982a51>
- other: <https://git.kernel.org/stable/c/e7143c3f4e5c0a7986733c6f27009274bf6c4264>
- other: <https://git.kernel.org/stable/c/6fd1cce5018fdcc8d928e00a6a1dd2997d5b9409>
- other: <https://git.kernel.org/stable/c/626147717bea776b61ed3631d2c26283760c4cc4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89515>

HTML: <https://flawdb.com/CVE-2026-89515> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89515>
