{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-64150",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-64150"
  ],
  "published": "2026-07-19T15:41:06Z",
  "summary": "netfilter: nft_inner: release local_lock before re-enabling softirqs",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nft_inner: release local_lock before re-enabling softirqs\n\nQuoting sashiko:\n In the error path, local_bh_enable() is called before\n local_unlock_nested_bh().",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:13",
        "name": "linux"
      },
      "versions": [
        "1:6.18.29-1+rpt1",
        "1:6.18.33-1+rpt1"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-2712",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v6",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v7",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v8",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.29+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.29-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-2712",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v6",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v7",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v8",
            "binary_version": "1:6.18.33-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.33+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.33-1+rpt1"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.18.29-1+rpt1": {
            "linux_commit": "66318c5b5cd8145a662303af12ed39ac07eb27cc",
            "upstream_version": "6.18.29",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.34"
          },
          "1:6.18.33-1+rpt1": {
            "linux_commit": "95b85bebbedcaedfa7ca79116ed38b7376fba412",
            "upstream_version": "6.18.33",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.34"
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-64150"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/df19b6af171695a1352314597c9a4311d48d5171"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6fecd39c6401134b58505bc4eb1adc8a0e2fe992"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a6cb3ff979855f7f0ee9450a947fe8f96c2ba37a"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-05T13:16:28Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 9.8,
      "cvss_v3_severity": "Critical",
      "scenario": "AV:N - The bug is hit during packet evaluation in netfilter hooks (prerouting/forward/input) when tunneled traffic (GRE/UDP/Geneve) matching admin-deployed `inner` rules is processed; remote packets reach `nft_inner_restore_tun_ctx()` without any local syscall.\nAC:L - An attacker can reliably provoke the cookie-mismatch error path by sending concurrent tunneled packets through an `inner`-enabled chain, controlling both sides of the per-CPU context race; no attacker-uncontrollable memory layout or rare timing is required.\nPR:N - Exploitation requires only the ability to send network packets to a host whose nftables rules already include `inner` expressions (typical on cloud NFV/firewall gateways); no local account, capability, or user-namespace `CAP_NET_ADMIN` is needed by the remote attacker.\nUI:N - No victim interaction beyond normal network traffic delivery to a host running nftables tunnel-inspection rules; the attacker does not need the victim to open files, mount filesystems, or take any deliberate action.\nS:U - Impact is confined to kernel netfilter/nftables processing on the target host; it does not cross VM, container, or IOMMU security boundaries to affect separate security authorities.\nC:H - Re-enabling softirqs before releasing the nested-BH lock breaks serialization of the per-CPU `nft_pcpu_tun_ctx`, allowing concurrent corruption of inner header offsets that `nft_payload_inner_eval()` uses in `skb_copy_bits()`, yielding out-of-bounds kernel memory reads.\nI:H - The same unsynchronized per-CPU state corruption can desynchronize inner parsing metadata and, on PREEMPT_RT, leave a per-CPU spinlock held across softirq re-entry causing deadlock; memory corruption of parsing state is exploitable for further control of packet-processing behavior.\nA:H - On PREEMPT_RT kernels the inverted unlock/BH ordering leaves the per-CPU spinlock held while softirqs run, causing softirq handlers to block on the same lock and producing CPU deadlock or soft lockup; non-RT paths can also crash or hang from the resulting race."
    }
  }
}
