{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-72235",
  "modified": "2026-10-09T11:39:44Z",
  "upstream": [
    "CVE-2026-72235"
  ],
  "published": "2026-08-15T06:04:33Z",
  "summary": "batman-adv: retrieve ethhdr after potential skb realloc on RX",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: retrieve ethhdr after potential skb realloc on RX\n\npskb_may_pull() in batadv_interface_rx() could reallocate the buffer behind\nthe skb. Variables which were pointing to the old buffer need to be\nreassigned to avoid an use-after-free.\n\nThis was done correctly for the VLAN header but missed for the ethernet\nheader which is later used for the TT and AP isolation handling.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.178",
            "compiled_filter": false
          }
        }
      }
    },
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:13",
        "name": "linux"
      },
      "versions": [
        "1:6.18.29-1+rpt1",
        "1:6.18.33-1+rpt1",
        "1:6.18.34-1+rpt1",
        "1:6.18.39-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"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-2712",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v6",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v7",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v8",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.34+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.34-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-2712",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v6",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v7",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v8",
            "binary_version": "1:6.18.39-1+rpt1"
          },
          {
            "binary_name": "linux-image-6.18.39+rpt-rpi-v8-rt",
            "binary_version": "1:6.18.39-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.40"
          },
          "1:6.18.33-1+rpt1": {
            "linux_commit": "95b85bebbedcaedfa7ca79116ed38b7376fba412",
            "upstream_version": "6.18.33",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.40"
          },
          "1:6.18.34-1+rpt1": {
            "linux_commit": "c8c7494100e99ee05b11aaa4f0588a223a63d1af",
            "upstream_version": "6.18.34",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.40"
          },
          "1:6.18.39-1+rpt1": {
            "linux_commit": "60ea684a8ace97bb0db1a16e20753bdd6ab371ff",
            "upstream_version": "6.18.39",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.18.40"
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-72235"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6e189f14d1ea28db212b9d70a02131a7ce518012"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a1820344b180cb55af748f102bc536b5c93164db"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/6abf73589bed3f27ee240c08108feb72bed0b9c6"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/f19259395b44af67f3c274e34237c295b526b859"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2cefa5141cab8ec1e4b24cf585958b13f2e3049d"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/85a71a81854e0e191ad0e533eabb4eff54866feb"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b031fc97e1993d29d6c3a0e86a99140528cf31e8"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/035e1fed892d3d06002a73ff73668f618a514644"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-17T05:50:24Z",
    "severity": {
      "source": "kernel CNA",
      "cvss_v3_score": 8.8,
      "cvss_v3_severity": "High",
      "scenario": "AV:A - Exploitation requires delivering crafted ETH_P_BATMAN frames on the victim's batman-adv mesh hard interface (802.11/wired L2 mesh), reachable from any adjacent mesh peer without local shell access.\nAC:L - The attacker fully controls remote batman-adv packet contents (VLAN-encapsulated payload and skb layout) and can repeatedly send unicast/broadcast frames to reliably force pskb_may_pull() skb reallocation.\nPR:N - No privileges on the victim are required; any unauthenticated remote mesh participant that can inject batman-adv RX frames onto an active mesh node can reach batadv_interface_rx().\nUI:N - Exploitation is triggered solely by the attacker sending malicious mesh packets; no victim user action (mounting, clicking, or configuration changes) is needed at exploit time.\nS:U - Impact is kernel memory corruption and potential privilege escalation on the mesh node; it does not cross a VM/host, IOMMU, or sandbox security boundary.\nC:H - Stale ethhdr after skb realloc is a use-after-free read of freed skb data; attacker-influenced bytes from ethhdr->h_source/h_dest are consumed by TT and AP-isolation logic, enabling arbitrary kernel memory disclosure.\nI:H - UAF-supplied MAC data is copied into translation-table heap objects via batadv_tt_add_temporary_global_entry()/batadv_tt_global_add(), providing a memory-corruption primitive suitable for control-flow or data hijacking.\nA:H - Use-after-free on the RX path can cause kernel oops/panic from dereferencing freed skb buffer memory during TT/AP-isolation handling, even before full exploitation."
    }
  }
}
