CVE-2026-52922 (GCVE-0-2026-52922)
Vulnerability from cvelistv5
Published
2026-06-24 07:14
Modified
2026-08-05 12:31
Summary
In the Linux kernel, the following vulnerability has been resolved: batman-adv: dat: handle forward allocation error batadv_dat_forward_data() calls pskb_copy_for_clone() to duplicate an skb for each DHT candidate, but does not check the return value before passing it to batadv_send_skb_prepare_unicast_4addr(). That function dereferences the skb unconditionally, so a failed allocation triggers a NULL pointer dereference. Skip forwarding to the current DHT candidate on allocation failure.
Impacted products
Vendor Product Version
Linux Linux Version: 785ea1144182c341b8b85b0f8180291839d176a8
Version: 785ea1144182c341b8b85b0f8180291839d176a8
Version: 785ea1144182c341b8b85b0f8180291839d176a8
Version: 785ea1144182c341b8b85b0f8180291839d176a8
Version: 785ea1144182c341b8b85b0f8180291839d176a8
Version: 785ea1144182c341b8b85b0f8180291839d176a8
Version: 785ea1144182c341b8b85b0f8180291839d176a8
Version: 785ea1144182c341b8b85b0f8180291839d176a8
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/batman-adv/distributed-arp-table.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9bcebaedfb8479cb4affb23c7a0d000ca9a20e73",
              "status": "affected",
              "version": "785ea1144182c341b8b85b0f8180291839d176a8",
              "versionType": "git"
            },
            {
              "lessThan": "2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef",
              "status": "affected",
              "version": "785ea1144182c341b8b85b0f8180291839d176a8",
              "versionType": "git"
            },
            {
              "lessThan": "ce0c381199402a2c58f4599f4f6ed100d872d0da",
              "status": "affected",
              "version": "785ea1144182c341b8b85b0f8180291839d176a8",
              "versionType": "git"
            },
            {
              "lessThan": "866ac1d57040ed0b44ca732e3c66b3aa6b93011c",
              "status": "affected",
              "version": "785ea1144182c341b8b85b0f8180291839d176a8",
              "versionType": "git"
            },
            {
              "lessThan": "4d420d9ee70a220a2cd95aa0dd2e15acad66a505",
              "status": "affected",
              "version": "785ea1144182c341b8b85b0f8180291839d176a8",
              "versionType": "git"
            },
            {
              "lessThan": "9cceea8eeba710def2a5707ee00f00c74a9a1cac",
              "status": "affected",
              "version": "785ea1144182c341b8b85b0f8180291839d176a8",
              "versionType": "git"
            },
            {
              "lessThan": "cf48e75fc4fe0d5cc7721c82d454221d01367b93",
              "status": "affected",
              "version": "785ea1144182c341b8b85b0f8180291839d176a8",
              "versionType": "git"
            },
            {
              "lessThan": "2d8826a2d3657cea66fb0370f9e521575a673871",
              "status": "affected",
              "version": "785ea1144182c341b8b85b0f8180291839d176a8",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/batman-adv/distributed-arp-table.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.8"
            },
            {
              "lessThan": "3.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.258",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.175",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.142",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.34",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.0.*",
              "status": "unaffected",
              "version": "7.0.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.258",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.209",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.175",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.142",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.92",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.34",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0.11",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbatman-adv: dat: handle forward allocation error\n\nbatadv_dat_forward_data() calls pskb_copy_for_clone() to duplicate an skb\nfor each DHT candidate, but does not check the return value before passing\nit to batadv_send_skb_prepare_unicast_4addr(). That function dereferences\nthe skb unconditionally, so a failed allocation triggers a NULL pointer\ndereference.\n\nSkip forwarding to the current DHT candidate on allocation failure."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - The vulnerable DAT forwarding path is reachable through attacker-supplied batman-adv mesh traffic carrying ARP/DHCP payloads, processed in the kernel receive/network path without a local syscall. Scoring the highest defensible deployment, a remote mesh participant can send packets to the affected node.\nAC:L - The packet format checks are straightforward and DAT is enabled by default when built; the attacker can repeatedly send valid ARP/DHCP-triggering traffic toward DAT candidates. Although the NULL dereference requires `GFP_ATOMIC` allocation failure, traffic flooding can plausibly create or hit that condition, so the higher-severity AC:L is selected.\nPR:N - The receive path has no authentication or authorization gate for a peer that can transmit batman-adv mesh packets to the node. Privileges are only needed to configure the victim mesh, not to trigger the bug as a remote sender.\nUI:N - No victim user action is required after the affected batman-adv mesh is active. The attacker triggers the path by sending network traffic.\nS:U - The impact is within the vulnerable kernel instance and does not cross a separate security authority such as a hypervisor or sandbox boundary. Standard kernel availability impact is scope unchanged.\nC:N - The bug is a NULL `skb` dereference after `pskb_copy_for_clone()` failure, not a use-after-free or out-of-bounds access. The investigated path shows no attacker-controlled memory disclosure primitive.\nI:N - The NULL pointer is dereferenced immediately in skb header preparation and does not provide an attacker-controlled write or control-flow primitive. There is no evidence of memory corruption beyond the crash.\nA:H - A failed allocation leads to an unchecked NULL pointer dereference in kernel networking code. This can oops or panic the kernel, causing high availability impact."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:31:43.495Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9bcebaedfb8479cb4affb23c7a0d000ca9a20e73"
        },
        {
          "url": "https://git.kernel.org/stable/c/2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef"
        },
        {
          "url": "https://git.kernel.org/stable/c/ce0c381199402a2c58f4599f4f6ed100d872d0da"
        },
        {
          "url": "https://git.kernel.org/stable/c/866ac1d57040ed0b44ca732e3c66b3aa6b93011c"
        },
        {
          "url": "https://git.kernel.org/stable/c/4d420d9ee70a220a2cd95aa0dd2e15acad66a505"
        },
        {
          "url": "https://git.kernel.org/stable/c/9cceea8eeba710def2a5707ee00f00c74a9a1cac"
        },
        {
          "url": "https://git.kernel.org/stable/c/cf48e75fc4fe0d5cc7721c82d454221d01367b93"
        },
        {
          "url": "https://git.kernel.org/stable/c/2d8826a2d3657cea66fb0370f9e521575a673871"
        }
      ],
      "title": "batman-adv: dat: handle forward allocation error",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-52922",
    "datePublished": "2026-06-24T07:14:17.185Z",
    "dateReserved": "2026-06-09T07:44:35.367Z",
    "dateUpdated": "2026-08-05T12:31:43.495Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…