CVE-2026-74356

Source
https://cve.org/CVERecord?id=CVE-2026-74356
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74356.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74356
Downstream
Published
2026-08-15T05:58:41.445Z
Modified
2026-08-18T03:56:54.423504374Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
vhost: fix vhost_get_avail_idx for a non empty ring
Details

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

vhost: fix vhostgetavail_idx for a non empty ring

vhostgetavailidx is supposed to report whether it has updated vq->availidx. Instead, it returns whether all entries have been consumed, which is usually the same. But not always - in drivers/vhost/net.c and when mergeable buffers have been enabled, the driver checks whether the combined entries are big enough to store an incoming packet. If not, the driver re-enables notifications with available entries still in the ring. The incorrect return value from vhostgetavailidx propagates through vhostenable_notify and causes the host to livelock if the guest is not making progress, as vhost will immediately disable notifications and retry using the available entries.

This goes back to commit d3bb267bbdcb ("vhost: cache avail index in vhostenablenotify()") which changed vhostenablenotify() to compare the freshly read avail index against vq->lastavailidx instead of the previously cached vq->availidx. Commit 7ad472397667 ("vhost: move smprmb() into vhostgetavailidx()") then carried over the same comparison when refactoring vhostenablenotify() to call the unified vhostgetavailidx().

The obvious fix is to make vhostgetavail_idx do what the comment says it does and report whether new entries have been added.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74356.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d3bb267bbdcba199568f1325743d9d501dea0560
Fixed
e115471008111f894c6528d9ab2ce7d0ce306f35
Fixed
7f229d27bf27c7e589eca690d8612763a7a4801f
Fixed
a9326b652bc7acd748d7a1143573845c7924d847
Fixed
09861858a68342f851f71c669ac0f69865c32151

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74356.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
6.12.97
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.40
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74356.json"