{"id":"CVE-2026-46321","aliases":["CVE-2026-46321"],"related":[],"kind":"vulnerability","state":"published","title":"tun: free page on short-frame rejection in tun_xdp_one()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ntun: free page on short-frame rejection in tun_xdp_one()\n\ntun_xdp_one() returns -EINVAL on a frame shorter than ETH_HLEN without\nfreeing the page that vhost_net_build_xdp() allocated for it.\ntun_sendmsg() discards that -EINVAL and still returns total_len, so\nvhost_tx_batch() takes the success path and never frees the page; each\nshort frame in a batch leaks one page-frag chunk.\n\nA local process that can open /dev/net/tun and /dev/vhost-net can hit\nthis path: it attaches a tun/tap device as the vhost-net backend and\nfeeds TX descriptors whose length minus the virtio-net header is below\nETH_HLEN. Each kick leaks the page-frag chunks for that batch, and a\ntight submission loop exhausts host memory and triggers an OOM panic.\nFree the page before returning -EINVAL, matching the XDP-program error\npath in the same function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntun: free page on short-frame rejection in tun_xdp_one()\n\ntun_xdp_one() returns -EINVAL on a frame shorter than ETH_HLEN without\nfreeing the page that vhost_net_build_xdp() allocated for it.\ntun_sendmsg() discards that -EINVAL and still returns total_len, so\nvhost_tx_batch() takes the success path and never frees the page; each\nshort frame in a batch leaks one page-frag chunk.\n\nA local process that can open /dev/net/tun and /dev/vhost-net can hit\nthis path: it attaches a tun/tap device as the vhost-net backend and\nfeeds TX descriptors whose length minus the virtio-net header is below\nETH_HLEN. Each kick leaks the page-frag chunks for that batch, and a\ntight submission loop exhausts host memory and triggers an OOM panic.\nFree the page before returning -EINVAL, matching the XDP-program error\npath in the same function.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ntun: liberar página en el rechazo de tramas cortas en tun_xdp_one()\n\ntun_xdp_one() devuelve -EINVAL en una trama más corta que ETH_HLEN sin liberar la página que vhost_net_build_xdp() asignó para ella. tun_sendmsg() descarta ese -EINVAL y aún devuelve total_len, por lo que vhost_tx_batch() toma la ruta de éxito y nunca libera la página; cada trama corta en un lote filtra un chunk de fragmento de página.\n\nUn proceso local que puede abrir /dev/net/tun y /dev/vhost-net puede alcanzar esta ruta: adjunta un dispositivo tun/tap como el backend de vhost-net y alimenta descriptores TX cuya longitud menos el encabezado virtio-net está por debajo de ETH_HLEN. Cada kick filtra los chunks de fragmentos de página para ese lote, y un bucle de envío ajustado agota la memoria del host y desencadena un pánico OOM. Liberar la página antes de devolver -EINVAL, coincidiendo con la ruta de error del programa XDP en la misma función.","source":"nvd"}],"published":"2026-06-09T12:11:13.872Z","modified":"2026-10-15T02:19:53.553Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"6100e0237204890269e3f934acfc50d35fd6f319","fixed":"0a6f46a9332ad6958992d64d3b3a81a80b2ca940","status":"affected"},{"type":"git","introduced":"589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2","fixed":"0e8211fcf9426f5adddf32516ba0f400ceb9544d","status":"affected"},{"type":"git","introduced":"ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146","fixed":"e915445942af6dcea628bf66d6241641201a0c41","status":"affected"},{"type":"git","introduced":"d5ad89b7d01ed4e66fd04734fc63d6e78536692a","fixed":"5b34f9e4fe2f203724a6e893d6df0316b9670057","status":"affected"},{"type":"git","introduced":"049584807f1d797fc3078b68035450a9769eb5c3","fixed":"69863ff2720a0e9871f1a5710f2a33a94217fee0","status":"affected"},{"type":"git","introduced":"049584807f1d797fc3078b68035450a9769eb5c3","fixed":"37a1c268c2c8090bf4dc552d732bd23ba36f8eb0","status":"affected"},{"type":"git","introduced":"049584807f1d797fc3078b68035450a9769eb5c3","fixed":"98c67be9eb9de72465a071949e84a3cdb8fab5a3","status":"affected"},{"type":"git","introduced":"049584807f1d797fc3078b68035450a9769eb5c3","fixed":"f4feb1e20058e407cb00f45aff47f5b7e19a6bbf","status":"affected"},{"type":"git","version":"32b0aaba5dbc85816898167d9b5d45a22eae82e9","status":"affected"},{"type":"git","version":"a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb","status":"affected"},{"type":"git","version":"8418f55302fa1d2eeb73e16e345167e545c598a5","status":"affected"},{"type":"semver","introduced":"5.10.223","fixed":"5.10.259","status":"affected"},{"type":"semver","introduced":"5.15.164","fixed":"5.15.210","status":"affected"},{"type":"semver","introduced":"6.1.102","fixed":"6.1.176","status":"affected"},{"type":"semver","introduced":"6.6.43","fixed":"6.6.143","status":"affected"},{"type":"semver","introduced":"5.4.281","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"6.9.12","fixed":"6.10","status":"affected"},{"type":"semver","introduced":"6.10.2","fixed":"6.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"5.10.259","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.210","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.176","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.143","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.93","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.35","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.0.12","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.4.281","fixed":"5.5"},{"status":"affected","introduced":"5.10.223","fixed":"5.10.259"},{"status":"affected","introduced":"5.15.164","fixed":"5.15.210"},{"status":"affected","introduced":"6.1.102","fixed":"6.1.176"},{"status":"affected","introduced":"6.6.43","fixed":"6.6.143"},{"status":"affected","introduced":"6.9.12","fixed":"6.10"},{"status":"affected","introduced":"6.10.2","fixed":"6.12.93"},{"status":"affected","introduced":"6.13","fixed":"6.18.35"},{"status":"affected","introduced":"6.19","fixed":"7.0.12"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"},{"status":"affected","version":"7.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0a6f46a9332ad6958992d64d3b3a81a80b2ca940","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0e8211fcf9426f5adddf32516ba0f400ceb9544d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e915445942af6dcea628bf66d6241641201a0c41","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b34f9e4fe2f203724a6e893d6df0316b9670057","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69863ff2720a0e9871f1a5710f2a33a94217fee0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37a1c268c2c8090bf4dc552d732bd23ba36f8eb0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/98c67be9eb9de72465a071949e84a3cdb8fab5a3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4feb1e20058e407cb00f45aff47f5b7e19a6bbf","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46321","url":"https://www.cve.org/CVERecord?id=CVE-2026-46321","licence":"CVE Terms of Use","modified":"2026-10-15T01:21:35.519Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46321","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46321","licence":"Public domain","modified":"2026-10-15T02:19:53.553Z"}],"updatedAt":"2026-11-25T22:59:24.098Z","epss":{"score":0.00133,"percentile":0.03052,"date":"2026-12-01T12:00:22.000Z"}}