Skip to content
Heist/ feed
Back to feed
HighFix available

tun: add missing verification for short frame

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: tun: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tun_xdp_one() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tun_xdp_one-->eth_type_trans() may access the Ethernet header although it can be less than ETH_HLEN. Once transmitted, this could either cause out-of-bound access beyond the actual length, or confuse the underlayer with incorrect or inconsistent header length in the skb metadata. In the alternative path, tun_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted for IFF_TAP. This is to drop any frame shorter than the Ethernet header size just like how tun_get_user() does. CVE: CVE-2024-41091

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.223, 5.15.164, 5.4.281, 6.1.102, 6.10.2, 6.6.43, 6.9.12
CVEs
CVE-2024-41091
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 10:57 UTC · Revision 1

Source evidence

tun: add missing verification for short frame

core-osv · Original source

Published 29 Jul 2024, 06:18 UTC

In the Linux kernel, the following vulnerability has been resolved: tun: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tun_xdp_one() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tun_xdp_one-->eth_type_trans() may access the Ethernet header although it can be less than ETH_HLEN. Once transmitted, this could either cause out-of-bound access beyond the actual length, or confuse the underlayer with incorrect or inconsistent header length in the skb metadata. In the alternative path, tun_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted for IFF_TAP. This is to drop any frame shorter than the Ethernet header size just like how tun_get_user() does. CVE: CVE-2024-41091

osv:CVE-2024-41091

Kernel

Fixed versions: 5.4.281, 5.10.223, 5.15.164, 6.1.102, 6.6.43, 6.9.12, 6.10.2

Complete source record
{
  "id": "7cf03c9839ac7a11825180969eea3b77760688f2ff5989cbc412ce50d8bd41b7",
  "url": "https://osv.dev/vulnerability/CVE-2024-41091",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "tun: add missing verification for short frame",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: tun: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tun_xdp_one() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tun_xdp_one-->eth_type_trans() may access the Ethernet header although it can be less than ETH_HLEN. Once transmitted, this could either cause out-of-bound access beyond the actual length, or confuse the underlayer with incorrect or inconsistent header length in the skb metadata. In the alternative path, tun_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted for IFF_TAP. This is to drop any frame shorter than the Ethernet header size just like how tun_get_user() does. CVE: CVE-2024-41091",
    "evidence": "osv:CVE-2024-41091",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.281",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.223",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.164",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.102",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.43",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.9.12",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-41091",
      "aliases": [
        "CVE-2024-41091"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "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"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.281"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.223"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.164"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.102"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.43"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.9.12"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.10.0"
                },
                {
                  "fixed": "6.10.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41091.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.882241654Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/049584807f1d797fc3078b68035450a9769eb5c3",
        "https://git.kernel.org/stable/c/32b0aaba5dbc85816898167d9b5d45a22eae82e9",
        "https://git.kernel.org/stable/c/589382f50b4a5d90d16d8bc9dcbc0e927a3e39b2",
        "https://git.kernel.org/stable/c/6100e0237204890269e3f934acfc50d35fd6f319",
        "https://git.kernel.org/stable/c/8418f55302fa1d2eeb73e16e345167e545c598a5",
        "https://git.kernel.org/stable/c/a9d1c27e2ee3b0ea5d40c105d6e728fc114470bb",
        "https://git.kernel.org/stable/c/ad6b3f622ccfb4bfedfa53b6ebd91c3d1d04f146",
        "https://git.kernel.org/stable/c/d5ad89b7d01ed4e66fd04734fc63d6e78536692a",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41091.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-41091",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41091.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-41091",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 511669,
  "published_at": "2024-07-29T06:18:12.019+00:00"
}