Skip to content
Heist/ feed
Back to feed
HighFix available

netfilter: nf_queue: hold bridge skb->dev while queued

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_queue: hold bridge skb->dev while queued br_pass_frame_up() rewrites skb->dev from the ingress port to the bridge master before queueing bridge LOCAL_IN packets. NFQUEUE only holds references on state.in/out and bridge physdevs, so a queued bridge packet can retain a freed bridge master in skb->dev until reinjection. When the verdict is reinjected later, br_netif_receive_skb() re-enters the receive path with skb->dev still pointing at the freed bridge master, triggering a use-after-free. Store skb->dev in the queue entry, hold a reference on it for the queue lifetime, and use the saved device when dropping queued packets during NETDEV_DOWN handling.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.259, 5.15.209, 6.1.175, 6.12.92, 6.18.34, 6.6.142, 7.0.11
CVEs
CVE-2026-52912
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 11:16 UTC · Revision 1

Source evidence

netfilter: nf_queue: hold bridge skb->dev while queued

core-osv · Original source

Published 24 Jun 2026, 07:14 UTC

In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_queue: hold bridge skb->dev while queued br_pass_frame_up() rewrites skb->dev from the ingress port to the bridge master before queueing bridge LOCAL_IN packets. NFQUEUE only holds references on state.in/out and bridge physdevs, so a queued bridge packet can retain a freed bridge master in skb->dev until reinjection. When the verdict is reinjected later, br_netif_receive_skb() re-enters the receive path with skb->dev still pointing at the freed bridge master, triggering a use-after-free. Store skb->dev in the queue entry, hold a reference on it for the queue lifetime, and use the saved device when dropping queued packets during NETDEV_DOWN handling.

osv:CVE-2026-52912

Kernel

Fixed versions: 5.10.259, 5.15.209, 6.1.175, 6.6.142, 6.12.92, 6.18.34, 7.0.11

Complete source record
{
  "id": "4e1a73e421c3de604b7eb33aefa5f531d64329b382abd818d402c8f9253ae6fb",
  "url": "https://osv.dev/vulnerability/CVE-2026-52912",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "netfilter: nf_queue: hold bridge skb->dev while queued",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_queue: hold bridge skb->dev while queued br_pass_frame_up() rewrites skb->dev from the ingress port to the bridge master before queueing bridge LOCAL_IN packets. NFQUEUE only holds references on state.in/out and bridge physdevs, so a queued bridge packet can retain a freed bridge master in skb->dev until reinjection. When the verdict is reinjected later, br_netif_receive_skb() re-enters the receive path with skb->dev still pointing at the freed bridge master, triggering a use-after-free. Store skb->dev in the queue entry, hold a reference on it for the queue lifetime, and use the saved device when dropping queued packets during NETDEV_DOWN handling.",
    "evidence": "osv:CVE-2026-52912",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.259",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.209",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.175",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.142",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.92",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.34",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-52912",
      "aliases": [
        "CVE-2026-52912"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/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": "ac28634456867b23b95faccba7997a62ec430603"
                },
                {
                  "fixed": "950d809f154dca04e5fbe5d3c8b9c5e44769cd57"
                },
                {
                  "fixed": "a698ac8ab2561cf575d2d9f34095032651dd952e"
                },
                {
                  "fixed": "19924bdd8a45ebc72a7b84c57fd63057d1dc75ac"
                },
                {
                  "fixed": "1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be"
                },
                {
                  "fixed": "3823c27099cfe2482299065814adbaa771be9644"
                },
                {
                  "fixed": "15d464265120ab9818bd673af301deee09bedab2"
                },
                {
                  "fixed": "3fb0f5c0f64162a8c3f25616a4f1e340b921737f"
                },
                {
                  "fixed": "e196115ec330a18de415bdb9f5071aa9f08e53ce"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52912.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.7.0"
                },
                {
                  "fixed": "5.10.259"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.209"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.175"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.142"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.92"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.34"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-52912.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.087267987Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-019113.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-457936.html",
        "https://git.kernel.org/stable/c/15d464265120ab9818bd673af301deee09bedab2",
        "https://git.kernel.org/stable/c/19924bdd8a45ebc72a7b84c57fd63057d1dc75ac",
        "https://git.kernel.org/stable/c/1e5e20031c5eee8d2e490a90ff4d6a2feecfc3be",
        "https://git.kernel.org/stable/c/3823c27099cfe2482299065814adbaa771be9644",
        "https://git.kernel.org/stable/c/3fb0f5c0f64162a8c3f25616a4f1e340b921737f",
        "https://git.kernel.org/stable/c/950d809f154dca04e5fbe5d3c8b9c5e44769cd57",
        "https://git.kernel.org/stable/c/a698ac8ab2561cf575d2d9f34095032651dd952e",
        "https://git.kernel.org/stable/c/e196115ec330a18de415bdb9f5071aa9f08e53ce",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52912.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-52912",
        "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/2026/52xxx/CVE-2026-52912.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-52912",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494898,
  "published_at": "2026-06-24T07:14:10.583+00:00"
}