CVE-2026-52922 (GCVE-0-2026-52922)

Vulnerability from cvelistv5 – Published: 2026-06-24 07:14 – Updated: 2026-06-28 06:36
VLAI?
Title
batman-adv: dat: handle forward allocation error
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.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 785ea1144182c341b8b85b0f8180291839d176a8 , < 9bcebaedfb8479cb4affb23c7a0d000ca9a20e73 (git)
Affected: 785ea1144182c341b8b85b0f8180291839d176a8 , < 2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef (git)
Affected: 785ea1144182c341b8b85b0f8180291839d176a8 , < ce0c381199402a2c58f4599f4f6ed100d872d0da (git)
Affected: 785ea1144182c341b8b85b0f8180291839d176a8 , < 866ac1d57040ed0b44ca732e3c66b3aa6b93011c (git)
Affected: 785ea1144182c341b8b85b0f8180291839d176a8 , < 4d420d9ee70a220a2cd95aa0dd2e15acad66a505 (git)
Affected: 785ea1144182c341b8b85b0f8180291839d176a8 , < 9cceea8eeba710def2a5707ee00f00c74a9a1cac (git)
Affected: 785ea1144182c341b8b85b0f8180291839d176a8 , < cf48e75fc4fe0d5cc7721c82d454221d01367b93 (git)
Affected: 785ea1144182c341b8b85b0f8180291839d176a8 , < 2d8826a2d3657cea66fb0370f9e521575a673871 (git)
Create a notification for this product.
    Linux Linux Affected: 3.8
Unaffected: 0 , < 3.8 (semver)
Unaffected: 5.10.258 , ≤ 5.10.* (semver)
Unaffected: 5.15.209 , ≤ 5.15.* (semver)
Unaffected: 6.1.175 , ≤ 6.1.* (semver)
Unaffected: 6.6.142 , ≤ 6.6.* (semver)
Unaffected: 6.12.92 , ≤ 6.12.* (semver)
Unaffected: 6.18.34 , ≤ 6.18.* (semver)
Unaffected: 7.0.11 , ≤ 7.0.* (semver)
Unaffected: 7.1 , ≤ * (original_commit_for_fix)
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"
          }
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-06-28T06:36:43.785Z",
        "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-06-28T06:36:43.785Z",
    "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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…