{"id":"CVE-2024-41091","aliases":["CVE-2024-41091"],"related":[],"kind":"vulnerability","state":"published","title":"tun: add missing verification for short frame","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","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","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: tun: agrega verificación faltante para marcos cortos La confirmación citada no pudo verificar la validez de la longitud del marco en la ruta tun_xdp_one(), lo que podría provocar que un skb dañado se envíe hacia abajo. Incluso antes de que se transmita el skb, tun_xdp_one--&gt;eth_type_trans() puede acceder al encabezado de Ethernet aunque puede ser menor que ETH_HLEN. Una vez transmitido, esto podría provocar un acceso fuera de los límites más allá de la longitud real o confundir la capa subyacente con una longitud de encabezado incorrecta o inconsistente en los metadatos de skb. En la ruta alternativa, tun_get_user() ya prohíbe la transmisión de tramas cortas que tengan una longitud menor que el tamaño del encabezado Ethernet para IFF_TAP. Esto es para eliminar cualquier trama más corta que el tamaño del encabezado de Ethernet tal como lo hace tun_get_user(). CVE: CVE-2024-41091","source":"nvd"}],"published":"2024-07-29T06:18:12.019Z","modified":"2026-08-05T11:35:19.663Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","score":7.1,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"043d222f93ab8c76b56a3b315cd8692e35affb6c","fixed":"32b0aaba5dbc85816898167d9b5d45a22eae82e9","status":"affected"},{"type":"git","introduced":"043d222f93ab8c76b56a3b315cd8692e35affb6c","fixed":"6100e0237204890269e3f934acfc50d35fd6f319","status":"affected"},{"type":"git","introduced":"043d222f93ab8c76b56a3b315cd8692e35affb6c","fixed":"589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2","status":"affected"},{"type":"git","introduced":"043d222f93ab8c76b56a3b315cd8692e35affb6c","fixed":"ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146","status":"affected"},{"type":"git","introduced":"043d222f93ab8c76b56a3b315cd8692e35affb6c","fixed":"d5ad89b7d01ed4e66fd04734fc63d6e78536692a","status":"affected"},{"type":"git","introduced":"043d222f93ab8c76b56a3b315cd8692e35affb6c","fixed":"a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb","status":"affected"},{"type":"git","introduced":"043d222f93ab8c76b56a3b315cd8692e35affb6c","fixed":"8418f55302fa1d2eeb73e16e345167e545c598a5","status":"affected"},{"type":"git","introduced":"043d222f93ab8c76b56a3b315cd8692e35affb6c","fixed":"049584807f1d797fc3078b68035450a9769eb5c3","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.4.281","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.223","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.164","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.102","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.43","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.12","lastAffected":"6.9.*","status":"unaffected"},{"type":"semver","introduced":"6.10.2","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","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":"4.20","fixed":"5.4.281"},{"status":"affected","introduced":"5.5","fixed":"5.10.223"},{"status":"affected","introduced":"5.11","fixed":"5.15.164"},{"status":"affected","introduced":"5.16","fixed":"6.1.102"},{"status":"affected","introduced":"6.2","fixed":"6.6.43"},{"status":"affected","introduced":"6.7","fixed":"6.9.12"},{"status":"affected","introduced":"6.10","fixed":"6.10.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/32b0aaba5dbc85816898167d9b5d45a22eae82e9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6100e0237204890269e3f934acfc50d35fd6f319","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d5ad89b7d01ed4e66fd04734fc63d6e78536692a","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8418f55302fa1d2eeb73e16e345167e545c598a5","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/049584807f1d797fc3078b68035450a9769eb5c3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:24:56.109Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41091","url":"https://www.cve.org/CVERecord?id=CVE-2024-41091","licence":"CVE Terms of Use","modified":"2026-08-05T11:35:19.663Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41091","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41091","licence":"Public domain","modified":"2026-08-04T11:19:28.810Z"}],"updatedAt":"2026-11-25T22:58:43.277Z","epss":{"score":0.00256,"percentile":0.18459,"date":"2026-12-01T12:00:22.000Z"}}