{
  "id": "CVE-2026-46320",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-46320",
  "published_at": "2026-06-09T12:11:12.882Z",
  "title": "tap: free page on error paths in tap_get_user_xdp()",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\ntap: free page on error paths in tap_get_user_xdp()\n\ntap_get_user_xdp() rejects a frame shorter than ETH_HLEN with -EINVAL,\nand returns -ENOMEM when build_skb() fails. Both paths jump to the err\nlabel without freeing the page that vhost_net_build_xdp() allocated for\nthe frame. tap_sendmsg() discards the per-buffer return value and always\nreturns 0, so vhost_tx_batch() takes the success path and never frees\nthe page; each rejected frame in a batch leaks one page-frag chunk.\n\nFree the page on both error paths, before the skb is built. This is the\ntap counterpart of the same leak in tun_xdp_one().",
  "cwe": "CWE-401",
  "cpes": [
    "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*",
    "cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 0efac27791ee068075d80f07c55a229b1335ce12, \u003c 8d03e65eb6cfbffec471a6b65416f93679bf3286",
          "\u003e= 0efac27791ee068075d80f07c55a229b1335ce12, \u003c f979971835dddbca86cf99e3b2e2b94a408a1ab2",
          "\u003e= 0efac27791ee068075d80f07c55a229b1335ce12, \u003c 3f52a86a482a69294c50a5a2a097bd6f4104990a",
          "\u003e= 0efac27791ee068075d80f07c55a229b1335ce12, \u003c d30aac0fa00ca0afc3e08174cf7f974a66bdcf05",
          "\u003e= 0efac27791ee068075d80f07c55a229b1335ce12, \u003c d68eab61944a9b0826fa2e954e42db1aa3201b7a",
          "\u003e= 0efac27791ee068075d80f07c55a229b1335ce12, \u003c e27c17346628cb56843a83f93ac63c314c00f388",
          "\u003e= 0efac27791ee068075d80f07c55a229b1335ce12, \u003c 18a84c35842e19cd3c5534d8cee73d31863f696d",
          "\u003e= 0efac27791ee068075d80f07c55a229b1335ce12, \u003c 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2"
        ],
        "fixed_in": [
          "8d03e65eb6cfbffec471a6b65416f93679bf3286",
          "f979971835dddbca86cf99e3b2e2b94a408a1ab2",
          "3f52a86a482a69294c50a5a2a097bd6f4104990a",
          "d30aac0fa00ca0afc3e08174cf7f974a66bdcf05",
          "d68eab61944a9b0826fa2e954e42db1aa3201b7a",
          "e27c17346628cb56843a83f93ac63c314c00f388",
          "18a84c35842e19cd3c5534d8cee73d31863f696d",
          "3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "4.20"
        ],
        "fixed_in": [
          "0",
          "5.10.259",
          "5.15.210",
          "6.1.176",
          "6.6.143",
          "6.12.94",
          "6.18.36",
          "7.0.12",
          "7.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 8d03e65eb6cfbffec471a6b65416f93679bf3286 or f979971835dddbca86cf99e3b2e2b94a408a1ab2 or 3f52a86a482a69294c50a5a2a097bd6f4104990a or d30aac0fa00ca0afc3e08174cf7f974a66bdcf05 or d68eab61944a9b0826fa2e954e42db1aa3201b7a or e27c17346628cb56843a83f93ac63c314c00f388 or 18a84c35842e19cd3c5534d8cee73d31863f696d or 3bcf7aec6a9d16438f2cec29f5d7c8d5b8edf9b2 or later.",
      "Upgrade Linux to 0 or 5.10.259 or 5.15.210 or 6.1.176 or 6.6.143 or 6.12.94 or 6.18.36 or 7.0.12 or 7.1 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
