{"id":"CVE-2024-41091","summary":"tun: add missing verification for short frame","details":"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--\u003eeth_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","modified":"2026-04-02T12:17:26.105269Z","published":"2024-07-29T06:18:12.019Z","related":["ALSA-2024:5928","ALSA-2024:7000","ALSA-2024:7001","MGASA-2024-0277","MGASA-2024-0278","SUSE-SU-2024:2802-1","SUSE-SU-2024:2892-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2901-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2940-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41091.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/049584807f1d797fc3078b68035450a9769eb5c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/32b0aaba5dbc85816898167d9b5d45a22eae82e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6100e0237204890269e3f934acfc50d35fd6f319"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8418f55302fa1d2eeb73e16e345167e545c598a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5ad89b7d01ed4e66fd04734fc63d6e78536692a"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41091.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41091"},{"type":"PACKAGE","url":"https://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":"043d222f93ab8c76b56a3b315cd8692e35affb6c"},{"fixed":"32b0aaba5dbc85816898167d9b5d45a22eae82e9"},{"fixed":"6100e0237204890269e3f934acfc50d35fd6f319"},{"fixed":"589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2"},{"fixed":"ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146"},{"fixed":"d5ad89b7d01ed4e66fd04734fc63d6e78536692a"},{"fixed":"a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb"},{"fixed":"8418f55302fa1d2eeb73e16e345167e545c598a5"},{"fixed":"049584807f1d797fc3078b68035450a9769eb5c3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41091.json"}}],"schema_version":"1.7.5"}