{"id":"CVE-2024-41091","published":"2024-07-29T06:18:12Z","modified":"2026-08-05T11:35:19Z","title":"tun: add missing verification for short frame","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ntun: add missing verification for short frame\n\nThe cited commit missed to check against the validity of the frame length\nin the tun_xdp_one() path, which could cause a corrupted skb to be sent\ndownstack. Even before the skb is transmitted, the\ntun_xdp_one-->eth_type_trans() may access the Ethernet header although it\ncan be less than ETH_HLEN. Once transmitted, this could either cause\nout-of-bound access beyond the actual length, or confuse the underlayer\nwith incorrect or inconsistent header length in the skb metadata.\n\nIn the alternative path, tun_get_user() already prohibits short frame which\nhas the length less than Ethernet header size from being transmitted for\nIFF_TAP.\n\nThis is to drop any frame shorter than the Ethernet header size just like\nhow tun_get_user() does.\n\nCVE: CVE-2024-41091","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.00336,"percentile":0.1947,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/32b0aaba5dbc85816898167d9b5d45a22eae82e9","tags":[]},{"url":"https://git.kernel.org/stable/c/6100e0237204890269e3f934acfc50d35fd6f319","tags":[]},{"url":"https://git.kernel.org/stable/c/589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2","tags":[]},{"url":"https://git.kernel.org/stable/c/ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146","tags":[]},{"url":"https://git.kernel.org/stable/c/d5ad89b7d01ed4e66fd04734fc63d6e78536692a","tags":[]},{"url":"https://git.kernel.org/stable/c/a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb","tags":[]},{"url":"https://git.kernel.org/stable/c/8418f55302fa1d2eeb73e16e345167e545c598a5","tags":[]},{"url":"https://git.kernel.org/stable/c/049584807f1d797fc3078b68035450a9769eb5c3","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":10.1,"factors":[{"name":"EPSS percentile","points":3.89},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 043d222f93ab8c76b56a3b315cd8692e35affb6c, < 32b0aaba5dbc85816898167d9b5d45a22eae82e9",">= 043d222f93ab8c76b56a3b315cd8692e35affb6c, < 6100e0237204890269e3f934acfc50d35fd6f319",">= 043d222f93ab8c76b56a3b315cd8692e35affb6c, < 589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2",">= 043d222f93ab8c76b56a3b315cd8692e35affb6c, < ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146",">= 043d222f93ab8c76b56a3b315cd8692e35affb6c, < d5ad89b7d01ed4e66fd04734fc63d6e78536692a",">= 043d222f93ab8c76b56a3b315cd8692e35affb6c, < a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb",">= 043d222f93ab8c76b56a3b315cd8692e35affb6c, < 8418f55302fa1d2eeb73e16e345167e545c598a5",">= 043d222f93ab8c76b56a3b315cd8692e35affb6c, < 049584807f1d797fc3078b68035450a9769eb5c3"]},{"vendor":"Linux","product":"Linux","versions":["4.20"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:24:56.109252Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-38888","exploited":false,"provenance":"source"}}