Skip to content
Heist/ feed
Back to feed
HighFix available

tap: add missing verification for short frame

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: tap: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tap_get_user_xdp() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tap_get_user_xdp()-->skb_set_network_header() may assume the size is more 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, tap_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted. This is to drop any frame shorter than the Ethernet header size just like how tap_get_user() does. CVE: CVE-2024-41090

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-41090
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 00:59 UTC · Revision 1

Source evidence

tap: 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: tap: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tap_get_user_xdp() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tap_get_user_xdp()-->skb_set_network_header() may assume the size is more 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, tap_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted. This is to drop any frame shorter than the Ethernet header size just like how tap_get_user() does. CVE: CVE-2024-41090

osv:CVE-2024-41090

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": "92041aeab82abab522ec2f0f2ac1653a3f9ff03e2dfb5ff20ff8d5c554750fbc",
  "url": "https://osv.dev/vulnerability/CVE-2024-41090",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "tap: add missing verification for short frame",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: tap: add missing verification for short frame The cited commit missed to check against the validity of the frame length in the tap_get_user_xdp() path, which could cause a corrupted skb to be sent downstack. Even before the skb is transmitted, the tap_get_user_xdp()-->skb_set_network_header() may assume the size is more 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, tap_get_user() already prohibits short frame which has the length less than Ethernet header size from being transmitted. This is to drop any frame shorter than the Ethernet header size just like how tap_get_user() does. CVE: CVE-2024-41090",
    "evidence": "osv:CVE-2024-41090",
    "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-41090",
      "aliases": [
        "CVE-2024-41090"
      ],
      "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": "0efac27791ee068075d80f07c55a229b1335ce12"
                },
                {
                  "fixed": "8be915fc5ff9a5e296f6538be12ea75a1a93bdea"
                },
                {
                  "fixed": "7431144b406ae82807eb87d8c98e518475b0450f"
                },
                {
                  "fixed": "e5e5e63c506b93b89b01f522b6a7343585f784e6"
                },
                {
                  "fixed": "ee93e6da30377cf2a75e16cd32bb9fcd86a61c46"
                },
                {
                  "fixed": "aa6a5704cab861c9b2ae9f475076e1881e87f5aa"
                },
                {
                  "fixed": "73d462a38d5f782b7c872fe9ae8393d9ef5483da"
                },
                {
                  "fixed": "e1a786b9bbb767fd1c922d424aaa8078cc542309"
                },
                {
                  "fixed": "ed7f2afdd0e043a397677e597ced0830b83ba0b3"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41090.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-41090.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:41.557194083Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/73d462a38d5f782b7c872fe9ae8393d9ef5483da",
        "https://git.kernel.org/stable/c/7431144b406ae82807eb87d8c98e518475b0450f",
        "https://git.kernel.org/stable/c/8be915fc5ff9a5e296f6538be12ea75a1a93bdea",
        "https://git.kernel.org/stable/c/aa6a5704cab861c9b2ae9f475076e1881e87f5aa",
        "https://git.kernel.org/stable/c/e1a786b9bbb767fd1c922d424aaa8078cc542309",
        "https://git.kernel.org/stable/c/e5e5e63c506b93b89b01f522b6a7343585f784e6",
        "https://git.kernel.org/stable/c/ed7f2afdd0e043a397677e597ced0830b83ba0b3",
        "https://git.kernel.org/stable/c/ee93e6da30377cf2a75e16cd32bb9fcd86a61c46",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41090.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-41090",
        "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-41090.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-41090",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508827,
  "published_at": "2024-07-29T06:18:10.896+00:00"
}