{"id":"CVE-2026-74580","published":"2026-08-21T16:31:54Z","modified":"2026-10-29T03:57:01Z","title":"vhost: reset the vring metadata cache on vring reconfiguration","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost: reset the vring metadata cache on vring reconfiguration\n\nvq->meta_iotlb[] caches the vhost_iotlb_map that backs each vring\nmetadata region, and iotlb_access_ok() returns early on a cache hit,\ntaking the hit as proof that the region has already been validated:\n\n\tif (vhost_vq_meta_fetch(vq, addr, len, type))\n\t\treturn true;\n\nThe cache is reset on VHOST_IOTLB_UPDATE and VHOST_IOTLB_INVALIDATE, on\ndevice IOTLB (re)initialisation and on vq reset, but not when\nVHOST_SET_VRING_ADDR replaces vq->desc, vq->avail and vq->used, nor when\nVHOST_SET_VRING_NUM changes the region sizes.\n\nWith a device IOTLB attached both ioctls are accepted while the vq is\nlive, and neither validates the addresses at ioctl time: vq_access_ok()\nand vq_log_used_access_ok() return true early because the addresses are\nGIOVAs, deferring validation to prefetch time.  Once the cache has been\npopulated that deferred validation no longer runs -- vq_meta_prefetch()\nhits the stale entry and returns true -- and vhost_vq_meta_fetch() keeps\ntranslating through the old mapping as\n\n\tmap->addr + addr - map->start\n\nfor an address the mapping no longer covers.  vhost_copy_to_user() and\nvhost_copy_from_user() consume the result with __copy_to_user() and\n__copy_from_user(), which do not check it either, so a subsequent used\nring update or descriptor fetch accesses memory outside the region the\nIOTLB actually maps.\n\nReset the metadata cache whenever the vring is reconfigured, so the new\naddresses are pushed back through iotlb_access_ok()'s slow path.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00189,"percentile":0.04913,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/5224bd37e37d36076a550d99b2aebba33939fd95","tags":[]},{"url":"https://git.kernel.org/stable/c/54617e9119be2eb728ecdd8d977b99c99d4c498a","tags":[]},{"url":"https://git.kernel.org/stable/c/13fa6f32a56a386a82bd7451644c494beed034af","tags":[]},{"url":"https://git.kernel.org/stable/c/cf363a7a02ce132ef1f58084fdb13e1a3b7da7e7","tags":[]},{"url":"https://git.kernel.org/stable/c/6fa3e9b1fe856259555a7e22f3f3082e7827fd9b","tags":[]},{"url":"https://git.kernel.org/stable/c/f1e21108e3ddfcce62f6cad4ebd7b5674543c9e6","tags":[]},{"url":"https://git.kernel.org/stable/c/b70ebe0bba254e093dd5fd4c0c170941ce83eb85","tags":[]},{"url":"https://git.kernel.org/stable/c/de845981da67a6b049080c87e605130b0c30adc5","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/10/14/2","tags":[]},{"url":"https://github.com/YounesHfa/CVE-2026-74580","tags":["exploit"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":0.98},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"pocGithub":{"count":4,"skipped":0,"earliest":"2026-10-14","earliestUrl":"https://github.com/techupdate24/linux-kernel-cve-2026-74580-vghost","repos":[{"name":"YounesHfa/CVE-2026-74580","url":"https://github.com/YounesHfa/CVE-2026-74580","stars":3,"created":"2026-10-25"},{"name":"ABC00012345/CVE-2026-74580","url":"https://github.com/ABC00012345/CVE-2026-74580","stars":2,"created":"2026-10-14"},{"name":"V01DL1NG/vghost-watch","url":"https://github.com/V01DL1NG/vghost-watch","stars":1,"created":"2026-10-17"},{"name":"techupdate24/linux-kernel-cve-2026-74580-vghost","url":"https://github.com/techupdate24/linux-kernel-cve-2026-74580-vghost","stars":0,"created":"2026-10-14"}]},"first":{"date":"2026-10-14","source":"PoC-in-GitHub","url":"https://github.com/techupdate24/linux-kernel-cve-2026-74580-vghost"},"provenance":"source"},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f889491380582b4ba2981cf0b0d7d6a40fb30ab7, < 5224bd37e37d36076a550d99b2aebba33939fd95",">= f889491380582b4ba2981cf0b0d7d6a40fb30ab7, < 54617e9119be2eb728ecdd8d977b99c99d4c498a",">= f889491380582b4ba2981cf0b0d7d6a40fb30ab7, < 13fa6f32a56a386a82bd7451644c494beed034af",">= f889491380582b4ba2981cf0b0d7d6a40fb30ab7, < cf363a7a02ce132ef1f58084fdb13e1a3b7da7e7",">= f889491380582b4ba2981cf0b0d7d6a40fb30ab7, < 6fa3e9b1fe856259555a7e22f3f3082e7827fd9b",">= f889491380582b4ba2981cf0b0d7d6a40fb30ab7, < f1e21108e3ddfcce62f6cad4ebd7b5674543c9e6",">= f889491380582b4ba2981cf0b0d7d6a40fb30ab7, < b70ebe0bba254e093dd5fd4c0c170941ce83eb85",">= f889491380582b4ba2981cf0b0d7d6a40fb30ab7, < de845981da67a6b049080c87e605130b0c30adc5"]},{"vendor":"Linux","product":"Linux","versions":["4.11"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-10-28T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-64002","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/YounesHfa/CVE-2026-74580"]}