# CVE-2026-74702: vhost-scsi: reject feature changes after endpoint

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-08-22T15:33:02.223Z
- **Modified:** 2026-10-14T13:10:00.187Z

## Who should check

- Anyone running Linux \>= bf2d650391be508dd8b5e188b65ed32300cf3489, \< a06e4611d45518896fbff4f45d9581578b107e91; \>= bf2d650391be508dd8b5e188b65ed32300cf3489, \< 9a3eb77a612f9d158e4d27df43677a014e9cfa55; \>= bf2d650391be508dd8b5e188b65ed32300cf3489, \< 42bc45df5905e2b7dccb72adaf7730f66cfbe03f
- Anyone running Linux 6.15

## Description

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

vhost-scsi: reject feature changes after endpoint

vhost\_scsi\_setup\_vq\_cmds() runs from VHOST\_SCSI\_SET\_ENDPOINT and allocates
each command's protection scatterlist array (prot\_sgl) according to the
acknowledged VIRTIO\_SCSI\_F\_T10\_PI bit.  The command pools are not rebuilt
when VHOST\_SET\_FEATURES changes that bit later.

Although virtio feature bits must not change after feature negotiation,
vhost\_scsi\_set\_features() currently accepts such a request after the
endpoint is active and updates acked\_features.  Enabling T10-PI after
endpoint setup therefore leaves prot\_sgl NULL while the I/O path follows
the new feature bit.

For a 129-page protection payload, vhost\_scsi\_mapal() passes the missing
first chunk to sg\_alloc\_table\_chained():

  sg\_alloc\_table\_chained(table, 129, first\_chunk=NULL,
                         nents\_first\_chunk=inline\_sg\_cnt)

sg\_pool\_index() then hits:

  BUG\_ON(nents \> SG\_CHUNK\_SIZE);   /\* 129 \> 128 \*/

The kernel reported the following call trace and register state:

  Call Trace:
   \<TASK\>
   ? \_\_sg\_alloc\_table+0x1d8/0x250
   ? \_\_pfx\_vhost\_run\_work\_list+0x10/0x10 \[vhost\]
   sg\_alloc\_table\_chained+0x59/0xf0
   ? \_\_pfx\_sg\_pool\_alloc+0x10/0x10
   ? vhost\_scsi\_calc\_sgls.constprop.0+0x43/0x60 \[vhost\_scsi\]
   vhost\_scsi\_handle\_vq+0xf02/0x1700 \[vhost\_scsi\]
   ? \_\_pfx\_vhost\_scsi\_handle\_vq+0x10/0x10 \[vhost\_scsi\]
   vhost\_scsi\_handle\_kick+0x37/0x50 \[vhost\_scsi\]
   vhost\_run\_work\_list+0x8e/0xd0 \[vhost\]
   vhost\_task\_fn+0xe1/0x210
   ret\_from\_fork+0x348/0x540
   \</TASK\>

  RIP: 0010:0x4
  CR2 = 0x4
  RSP: 0018:ffffc90000dbf940 EFLAGS: 00010202
  RAX: ffffffff82396810 RBX: ffff88811dc28b80 RCX: 0000000000000000
  RDX: 0000000000000000 RSI: 0000000000000820 RDI: 0000000000000081

VHOST\_F\_LOG\_ALL is a vhost-specific runtime feature and remains the only
exception.

Reject changes to any feature other than VHOST\_F\_LOG\_ALL while the
endpoint is active.  This preserves the existing runtime log toggle while
preventing feature-dependent command resources and data-path state from
becoming inconsistent.  Userspace must clear the endpoint before changing
any other negotiated feature and set the endpoint up again afterward.

## Affected and fixed versions

- Linux: \>= bf2d650391be508dd8b5e188b65ed32300cf3489, \< a06e4611d45518896fbff4f45d9581578b107e91; \>= bf2d650391be508dd8b5e188b65ed32300cf3489, \< 9a3eb77a612f9d158e4d27df43677a014e9cfa55; \>= bf2d650391be508dd8b5e188b65ed32300cf3489, \< 42bc45df5905e2b7dccb72adaf7730f66cfbe03f (cvelist)
- Linux: 6.15 (cvelist)

## Mitigation

- Upgrade Linux to 42bc45df5905e2b7dccb72adaf7730f66cfbe03f 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-74702. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74702.md
Affected: Linux >= bf2d650391be508dd8b5e188b65ed32300cf3489, < a06e4611d45518896fbff4f45d9581578b107e91; >= bf2d650391be508dd8b5e188b65ed32300cf3489, < 9a3eb77a612f9d158e4d27df43677a014e9cfa55; >= bf2d650391be508dd8b5e188b65ed32300cf3489, < 42bc45df5905e2b7dccb72adaf7730f66cfbe03f; Linux 6.15
Fixed in: Linux 9a3eb77a612f9d158e4d27df43677a014e9cfa55, Linux 42bc45df5905e2b7dccb72adaf7730f66cfbe03f

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

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

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

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= bf2d650391be508dd8b5e188b65ed32300cf3489, \< a06e4611d45518896fbff4f45d9581578b107e91; \>= bf2d650391be508dd8b5e188b65ed32300cf3489, \< 9a3eb77a612f9d158e4d27df43677a014e9cfa55; \>= bf2d650391be508dd8b5e188b65ed32300cf3489, \< 42bc45df5905e2b7dccb72adaf7730f66cfbe03f; Linux 6.15.

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

Yes. Fixed in Linux 9a3eb77a612f9d158e4d27df43677a014e9cfa55, Linux 42bc45df5905e2b7dccb72adaf7730f66cfbe03f. Upgrade Linux to 42bc45df5905e2b7dccb72adaf7730f66cfbe03f or later.

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

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/a06e4611d45518896fbff4f45d9581578b107e91>
- other: <https://git.kernel.org/stable/c/9a3eb77a612f9d158e4d27df43677a014e9cfa55>
- other: <https://git.kernel.org/stable/c/42bc45df5905e2b7dccb72adaf7730f66cfbe03f>

## 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-74702>

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