CVE-2026-52922 PUBLISHED

batman-adv: dat: handle forward allocation error

Assigner: Linux
Reserved: 09.06.2026 Published: 24.06.2026 Updated: 24.06.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 785ea1144182c341b8b85b0f8180291839d176a8 to 9bcebaedfb8479cb4affb23c7a0d000ca9a20e73 (excl.)
  • affected from 785ea1144182c341b8b85b0f8180291839d176a8 to 2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef (excl.)
  • affected from 785ea1144182c341b8b85b0f8180291839d176a8 to ce0c381199402a2c58f4599f4f6ed100d872d0da (excl.)
  • affected from 785ea1144182c341b8b85b0f8180291839d176a8 to 866ac1d57040ed0b44ca732e3c66b3aa6b93011c (excl.)
  • affected from 785ea1144182c341b8b85b0f8180291839d176a8 to 4d420d9ee70a220a2cd95aa0dd2e15acad66a505 (excl.)
  • affected from 785ea1144182c341b8b85b0f8180291839d176a8 to 9cceea8eeba710def2a5707ee00f00c74a9a1cac (excl.)
  • affected from 785ea1144182c341b8b85b0f8180291839d176a8 to cf48e75fc4fe0d5cc7721c82d454221d01367b93 (excl.)
  • affected from 785ea1144182c341b8b85b0f8180291839d176a8 to 2d8826a2d3657cea66fb0370f9e521575a673871 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 3.8 is affected
  • unaffected from 0 to 3.8 (excl.)
  • unaffected from 5.10.258 to 5.10.* (incl.)
  • unaffected from 5.15.209 to 5.15.* (incl.)
  • unaffected from 6.1.175 to 6.1.* (incl.)
  • unaffected from 6.6.142 to 6.6.* (incl.)
  • unaffected from 6.12.92 to 6.12.* (incl.)
  • unaffected from 6.18.34 to 6.18.* (incl.)
  • unaffected from 7.0.11 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References