CVE-2026-64095: batman-adv: bla: avoid double decrement of bla.num_requests

Published Jul 19, 2026
·
Updated

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

batman-adv: bla: avoid double decrement of bla.numrequests

The bla.numrequests is increased when no requestsent was in progress. And it is decremented in various places (announcement was received, backbone is purged, periodic work). But the check if the requestsent is actually set to a specific state and the atomicdec/inc are not safe because they are not atomic (TOCTOU) and multiple such code portions can run concurrently.

At the same time, it is necessary to modify requestsent (state) and bla.numrequests atomically. Otherwise batadvblasendrequest() might set requestsent to 1 and is interrupted. batadvhandleannounce() can then set requestsent back to 0 and decrement numrequests before batadvblasendrequest() incremented it.

The two operations must therefore be locked. And since state (requestsent) and waitperiods are only accessed inside this lock, they can be converted to simpler datatypes. And to avoid that the bla.numrequests is touched by a parallel running context with a valid backbonegw reference after batadvblapurgebackbonegw() ran, a third state "stopped" is required to correctly signal that a backbonegw is in the state of being cleaned up.

Affected Software

1 affected component
OpenWrt Linux kernel

Event History

Jul 19, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
DescriptionSeverity
Data Sourced
via NVD·04:17 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64095?

CVE-2026-64095 has a high severity rating of 7.1 according to CVSS version 3.1.

2

How do I fix CVE-2026-64095?

To fix CVE-2026-64095, users should update their OpenWrt Linux kernel to the latest version that contains the security patch.

3

What does CVE-2026-64095 affect?

CVE-2026-64095 affects the batman-adv module in the OpenWrt Linux kernel.

4

What are the potential impacts of CVE-2026-64095?

The exploitation of CVE-2026-64095 may lead to a denial of service due to the mishandling of request counts.

5

When was CVE-2026-64095 published?

CVE-2026-64095 was published on July 19, 2026.

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