# CVE-2026-99754: scsi: target: Verify the iSCSI ISID is null-terminated

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.48% (percentile 34, 2026-11-28)
- **Published:** 2026-11-20T05:51:23.755Z
- **Modified:** 2026-11-23T08:18:15.797Z

## Who should check

- Anyone running Linux \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 7cc1ed496b739e0f57c10dd61e289a0b27ca7158; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< c8f8c568a73d1ba6b045dcb94e23ab50633da9e5; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 54bf2d26275efaa9caad854880ebba1a42f9a2ad; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< a5ebdf5b5a2105557a22c00b5e678a8d753a1f8c; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 29c5ce6465b5696fbdf8126fcd0a6946b005c8b7; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 8a71f25a34439e99e094fabb619f787d15aaf9ae; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< d1db24c32bbe7b998573392070c3a6bdd9f4066c; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< cdf4b87a18cb6a0ee26865cb1b7b5660a491d302
- Anyone running Linux 2.6.38

## Description

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

scsi: target: Verify the iSCSI ISID is null-terminated

iscsi\_parse\_pr\_out\_transport\_id() returns the ISID of a FORMAT CODE 01b
TransportID as a pointer into the PERSISTENT RESERVE OUT parameter list,
lowercased in place and never null-terminated.  spc4r37 Table 508 requires
the field to be null-terminated, but a non-conforming initiator can omit
the NULL; when the ISID ends at the end of the received buffer, the pointer
is not a C string.

The registration code still consumes it as one: strcmp() in
\_\_core\_scsi3\_locate\_pr\_reg() and in the REGISTER AND MOVE path, and
snprintf("%s") in \_\_core\_scsi3\_do\_alloc\_registration(), which also reads
its first 8 bytes unconditionally with get\_unaligned\_be64() - a NUL check
does not bound that read.

When the parameter list spans more than one page, transport\_kmap\_data\_sg()
maps it with vmap(), and the over-read walks off the end of the mapping
into the vmalloc() guard page and oopses.  Reproduced with a PR OUT
REGISTER + SPEC\_I\_PT parameter list of exactly 8192 bytes whose final
TransportID carries a 12-byte ISID without a terminating NUL:

  BUG: unable to handle page fault for address: ffffc9000138c000
  RIP: 0010:strcmp+0xc/0x30
  Call Trace:
   \_\_core\_scsi3\_locate\_pr\_reg+0xd3/0x120 \[target\_core\_mod\]
   core\_scsi3\_decode\_spec\_i\_port+0x8fc/0x13a0 \[target\_core\_mod\]
   core\_scsi3\_emulate\_pro\_register+0x73c/0x900 \[target\_core\_mod\]
   ...
   iscsi\_target\_rx\_thread+0xef/0x1d0 \[iscsi\_target\_mod\]

With a single-page parameter list the buffer is a kmap() direct mapping, so
the over-read continues into the physically adjacent page instead of
faulting.  snprintf("%s") then copies whatever follows the ISID in memory
into pr\_reg\_isid, and PR IN READ FULL STATUS reports the registration back
to any initiator, turning the over-read into an info leak of kernel heap
contents.  Reproduced with a 4096-byte parameter list whose last
TransportID ends at the end of the buffer with a 4-byte ISID and no NUL,
interleaved with I/O to populate adjacent pages: the READ FULL STATUS
response returned the ISID as "0xleak" followed by raw bytes that were not
part of the parameter list.  The snprintf() into
pr\_reg\_isid\[PR\_REG\_ISID\_LEN\] caps the echoed ISID at 15 characters, so at
most 11 bytes past the buffer are leaked per command, but the PR OUT
command is not rate limited.

Any initiator that can send PR OUT to an iSCSI-exported LUN can trigger
either variant, including a guest via vhost-scsi.

Require 8 bytes to remain after the ",i,0x" separator, and a NUL inside the
rest of the descriptor, before the ISID pointer is returned.  REGISTER AND
MOVE fails with TCM\_INVALID\_PARAMETER\_LIST; on SPEC\_I\_PT no target port
claims the malformed TransportID, and the command fails the same way.

## Affected and fixed versions

- Linux: \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 7cc1ed496b739e0f57c10dd61e289a0b27ca7158; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< c8f8c568a73d1ba6b045dcb94e23ab50633da9e5; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 54bf2d26275efaa9caad854880ebba1a42f9a2ad; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< a5ebdf5b5a2105557a22c00b5e678a8d753a1f8c; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 29c5ce6465b5696fbdf8126fcd0a6946b005c8b7; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 8a71f25a34439e99e094fabb619f787d15aaf9ae; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< d1db24c32bbe7b998573392070c3a6bdd9f4066c; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< cdf4b87a18cb6a0ee26865cb1b7b5660a491d302 (cvelist)
- Linux: 2.6.38 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-99754.md
Affected: Linux >= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, < 7cc1ed496b739e0f57c10dd61e289a0b27ca7158; >= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, < c8f8c568a73d1ba6b045dcb94e23ab50633da9e5; >= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, < 54bf2d26275efaa9caad854880ebba1a42f9a2ad; >= c66ac9db8d4ad9994a02b3e…
Fixed in: Linux 7cc1ed496b739e0f57c10dd61e289a0b27ca7158, Linux 54bf2d26275efaa9caad854880ebba1a42f9a2ad, Linux 29c5ce6465b5696fbdf8126fcd0a6946b005c8b7, Linux 8a71f25a34439e99e094fabb619f787d15aaf9ae

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-99754 being exploited?

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

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

High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed.

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

Linux \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 7cc1ed496b739e0f57c10dd61e289a0b27ca7158; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< c8f8c568a73d1ba6b045dcb94e23ab50633da9e5; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 54bf2d26275efaa9caad854880ebba1a42f9a2ad; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< a5ebdf5b5a2105557a22c00b5e678a8d753a1f8c; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 29c5ce6465b5696fbdf8126fcd0a6946b005c8b7; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< 8a71f25a34439e99e094fabb619f787d15aaf9ae; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< d1db24c32bbe7b998573392070c3a6bdd9f4066c; \>= c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5, \< cdf4b87a18cb6a0ee26865cb1b7b5660a491d302; Linux 2.6.38.

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

Yes. Fixed in Linux 7cc1ed496b739e0f57c10dd61e289a0b27ca7158, Linux 54bf2d26275efaa9caad854880ebba1a42f9a2ad, Linux 29c5ce6465b5696fbdf8126fcd0a6946b005c8b7, Linux 8a71f25a34439e99e094fabb619f787d15aaf9ae. No fix listed yet: follow the vendor advisory.

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

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/7cc1ed496b739e0f57c10dd61e289a0b27ca7158>
- other: <https://git.kernel.org/stable/c/c8f8c568a73d1ba6b045dcb94e23ab50633da9e5>
- other: <https://git.kernel.org/stable/c/54bf2d26275efaa9caad854880ebba1a42f9a2ad>
- other: <https://git.kernel.org/stable/c/a5ebdf5b5a2105557a22c00b5e678a8d753a1f8c>
- other: <https://git.kernel.org/stable/c/29c5ce6465b5696fbdf8126fcd0a6946b005c8b7>
- other: <https://git.kernel.org/stable/c/8a71f25a34439e99e094fabb619f787d15aaf9ae>
- other: <https://git.kernel.org/stable/c/d1db24c32bbe7b998573392070c3a6bdd9f4066c>
- other: <https://git.kernel.org/stable/c/cdf4b87a18cb6a0ee26865cb1b7b5660a491d302>

## 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-99754>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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