{"id":"CVE-2026-74356","published":"2026-08-15T05:58:41Z","modified":"2026-10-30T12:29:51Z","title":"vhost: fix vhost_get_avail_idx for a non empty ring","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost: fix vhost_get_avail_idx for a non empty ring\n\nvhost_get_avail_idx is supposed to report whether it has updated\nvq->avail_idx. Instead, it returns whether all entries have been\nconsumed, which is usually the same. But not always - in\ndrivers/vhost/net.c and when mergeable buffers have been enabled, the\ndriver checks whether the combined entries are big enough to store an\nincoming packet. If not, the driver re-enables notifications with\navailable entries still in the ring. The incorrect return value from\nvhost_get_avail_idx propagates through vhost_enable_notify and causes\nthe host to livelock if the guest is not making progress, as vhost will\nimmediately disable notifications and retry using the available entries.\n\nThis goes back to commit d3bb267bbdcb (\"vhost: cache avail index in\nvhost_enable_notify()\") which changed vhost_enable_notify() to compare\nthe freshly read avail index against vq->last_avail_idx instead of the\npreviously cached vq->avail_idx. Commit 7ad472397667 (\"vhost: move\nsmp_rmb() into vhost_get_avail_idx()\") then carried over the same\ncomparison when refactoring vhost_enable_notify() to call the unified\nvhost_get_avail_idx().\n\nThe obvious fix is to make vhost_get_avail_idx do what the comment\nsays it does and report whether new entries have been added.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00248,"percentile":0.16382,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7536f8f72bd24f1ae316c24231faaa3667eba837","tags":[]},{"url":"https://git.kernel.org/stable/c/0fe5ca2d56f0122988016e415a074c95925504b7","tags":[]},{"url":"https://git.kernel.org/stable/c/e115471008111f894c6528d9ab2ce7d0ce306f35","tags":[]},{"url":"https://git.kernel.org/stable/c/7f229d27bf27c7e589eca690d8612763a7a4801f","tags":[]},{"url":"https://git.kernel.org/stable/c/a9326b652bc7acd748d7a1143573845c7924d847","tags":[]},{"url":"https://git.kernel.org/stable/c/09861858a68342f851f71c669ac0f69865c32151","tags":[]}],"priority":{"score":8.5,"factors":[{"name":"EPSS percentile","points":3.28},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d3bb267bbdcba199568f1325743d9d501dea0560, < 7536f8f72bd24f1ae316c24231faaa3667eba837",">= d3bb267bbdcba199568f1325743d9d501dea0560, < 0fe5ca2d56f0122988016e415a074c95925504b7",">= d3bb267bbdcba199568f1325743d9d501dea0560, < e115471008111f894c6528d9ab2ce7d0ce306f35",">= d3bb267bbdcba199568f1325743d9d501dea0560, < 7f229d27bf27c7e589eca690d8612763a7a4801f",">= d3bb267bbdcba199568f1325743d9d501dea0560, < a9326b652bc7acd748d7a1143573845c7924d847",">= d3bb267bbdcba199568f1325743d9d501dea0560, < 09861858a68342f851f71c669ac0f69865c32151"]},{"vendor":"Linux","product":"Linux","versions":["5.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-16T18:54:24.183895Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-59503","exploited":false,"provenance":"source"}}