# CVE-2026-52922: batman-adv: dat: handle forward allocation error

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-06-24T07:14:17.185Z
- Modified: 2026-08-05T12:31:43.495Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 785ea1144182c341b8b85b0f8180291839d176a8 before 9bcebaedfb8479cb4affb23c7a0d000ca9a20e73; from 785ea1144182c341b8b85b0f8180291839d176a8 before 2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef; from 785ea1144182c341b8b85b0f8180291839d176a8 before ce0c381199402a2c58f4599f4f6ed100d872d0da; from 785ea1144182c341b8b85b0f8180291839d176a8 before 866ac1d57040ed0b44ca732e3c66b3aa6b93011c; from 785ea1144182c341b8b85b0f8180291839d176a8 before 4d420d9ee70a220a2cd95aa0dd2e15acad66a505; from 785ea1144182c341b8b85b0f8180291839d176a8 before 9cceea8eeba710def2a5707ee00f00c74a9a1cac; from 785ea1144182c341b8b85b0f8180291839d176a8 before cf48e75fc4fe0d5cc7721c82d454221d01367b93; from 785ea1144182c341b8b85b0f8180291839d176a8 before 2d8826a2d3657cea66fb0370f9e521575a673871; 3.8 (not affected: before 3.8; from 5.10.258 up to 5.10.*; from 5.15.209 up to 5.15.*; from 6.1.175 up to 6.1.*; from 6.6.142 up to 6.6.*; from 6.12.92 up to 6.12.*; from 6.18.34 up to 6.18.*; from 7.0.11 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.8 before 5.10.258; from 5.11 before 5.15.209; from 5.16 before 6.1.175; from 6.2 before 6.6.142; from 6.7 before 6.12.92; from 6.13 before 6.18.34; from 6.19 before 7.0.11; 7.1

## References

- <https://git.kernel.org/stable/c/9bcebaedfb8479cb4affb23c7a0d000ca9a20e73> (patch)
- <https://git.kernel.org/stable/c/2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef> (patch)
- <https://git.kernel.org/stable/c/ce0c381199402a2c58f4599f4f6ed100d872d0da> (patch)
- <https://git.kernel.org/stable/c/866ac1d57040ed0b44ca732e3c66b3aa6b93011c> (patch)
- <https://git.kernel.org/stable/c/4d420d9ee70a220a2cd95aa0dd2e15acad66a505> (patch)
- <https://git.kernel.org/stable/c/9cceea8eeba710def2a5707ee00f00c74a9a1cac> (patch)
- <https://git.kernel.org/stable/c/cf48e75fc4fe0d5cc7721c82d454221d01367b93> (patch)
- <https://git.kernel.org/stable/c/2d8826a2d3657cea66fb0370f9e521575a673871> (patch)

## Sources

- CVE List: [CVE-2026-52922](https://www.cve.org/CVERecord?id=CVE-2026-52922), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2026-52922](https://nvd.nist.gov/vuln/detail/CVE-2026-52922), Public domain, modified 2026-07-08

---

Page: https://cve.day/CVE-2026-52922 · Whole record: https://cve.day/CVE-2026-52922.json · Rebuilt by cve.day 2026-11-25T22:59:25.582Z
