CVE-2026-89951: batman-adv: fix stale receive device on merged fragments

Published Sep 16, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

batman-adv: fix stale receive device on merged fragments

Fragment reassembly reuses the skb from the highest-numbered buffered fragment as the merged packet. When that fragment was received on a hard interface which is deleted before the chain completes, the merged skb can re-enter the receive path with a stale skb->dev and skbiif.

batadvbatmanskbrecv() passes such merged packets through the normal receive handlers again. DAT and bridge loop avoidance both derive the ARP header length from skb->dev, so they can dereference the freed netdevice before the packet reaches the local mesh interface.

Refresh the receive device metadata from the current receive device before running the packet handlers. This keeps internally reinjected merged fragments consistent with the normal receive path after hard interface teardown.

Event History

Sep 16, 2026
CVE Published
via MITRE·10:32 AM
Data Sourced
via MITRE·10:32 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the issue?

A fragmented packet must be undergoing batman-adv reassembly, and the highest-numbered buffered fragment must have arrived through a hard interface that is deleted before fragment reassembly completes. The merged packet must then be reinjected through the normal receive handlers.

2

Which packet-processing paths can access the freed device?

The DAT and bridge loop-avoidance receive paths are affected because both derive ARP header length from skb->dev. If the merged packet retains metadata for the deleted hard interface, those handlers can dereference the freed net_device.

3

What does the fix change?

The fix refreshes the merged packet's receive-device metadata from the current receive device before normal packet handlers run. This prevents internally reinjected merged fragments from retaining a stale skb->dev or skb_iif after hard-interface teardown.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203