batman-adv: dat: handle forward allocation error (Linux Linux)

CVE-2026-52922
HIGH 7.5

At a glance

Source
NVD
EPSS
EPSS 0.39 % · percentile 33 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

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.

Weaknesses (CWE)

  • CWE-476 — NULL Pointer Dereference

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
CVSS 3.1HIGH 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 785ea1144182c341b8b85b0f8180291839d176a8 < 9bcebaedfb8479cb4affb23c7a0d000ca9a20e73 ; affected 785ea1144182c341b8b85b0f8180291839d176a8 < 2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef ; affected 785ea1144182c341b8b85b0f8180291839d176a8 < ce0c381199402a2c58f4599f4f6ed100d872d0da ; affected 785ea1144182c341b8b85b0f8180291839d176a8 < 866ac1d57040ed0b44ca732e3c66b3aa6b93011c ; affected 785ea1144182c341b8b85b0f8180291839d176a8 < 4d420d9ee70a220a2cd95aa0dd2e15acad66a505 ; affected 785ea1144182c341b8b85b0f8180291839d176a8 < 9cceea8eeba710def2a5707ee00f00c74a9a1cac
Linux · Linuxaffected 3.8 ; unaffected 0 < 3.8 ; unaffected 5.10.258 ≤ 5.10.* ; unaffected 5.15.209 ≤ 5.15.* ; unaffected 6.1.175 ≤ 6.1.* ; unaffected 6.6.142 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD