batman-adv: dat: handle forward allocation error
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2d8826a2d3657cea66fb0370f9e521575a673871, Kernel 2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef, Kernel 4d420d9ee70a220a2cd95aa0dd2e15acad66a505 and 5 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.8, >=785ea1144182c341b8b85b0f8180291839d176a8 <2d8826a2d3657cea66fb0370f9e521575a673871, >=785ea1144182c341b8b85b0f8180291839d176a8 <2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef, >=785ea1144182c341b8b85b0f8180291839d176a8 <4d420d9ee70a220a2cd95aa0dd2e15acad66a505, >=785ea1144182c341b8b85b0f8180291839d176a8 <866ac1d57040ed0b44ca732e3c66b3aa6b93011c, >=785ea1144182c341b8b85b0f8180291839d176a8 <9bcebaedfb8479cb4affb23c7a0d000ca9a20e73, >=785ea1144182c341b8b85b0f8180291839d176a8 <9cceea8eeba710def2a5707ee00f00c74a9a1cac, >=785ea1144182c341b8b85b0f8180291839d176a8 <ce0c381199402a2c58f4599f4f6ed100d872d0da, >=785ea1144182c341b8b85b0f8180291839d176a8 <cf48e75fc4fe0d5cc7721c82d454221d01367b93 | 2d8826a2d3657cea66fb0370f9e521575a673871, 2edb8aeb3cdda9d00ec4997252dc5bcd6f54d8ef, 4d420d9ee70a220a2cd95aa0dd2e15acad66a505, 866ac1d57040ed0b44ca732e3c66b3aa6b93011c, 9bcebaedfb8479cb4affb23c7a0d000ca9a20e73, 9cceea8eeba710def2a5707ee00f00c74a9a1cac, ce0c381199402a2c58f4599f4f6ed100d872d0da, cf48e75fc4fe0d5cc7721c82d454221d01367b93 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket