CVE-2026-64092: batman-adv: tp_meter: fix tp_vars reference leak in receiver shutdown

Published Jul 19, 2026
·
Updated

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

batman-adv: tpmeter: fix tpvars reference leak in receiver shutdown

The receiver shutdown timer handler, batadvtpreceivershutdown(), is responsible for releasing the tpvars reference it holds. However, the existing logic for coordinating this release with batadvtpstopall() was flawed.

timershutdownsync() guarantees the timer will not fire again after it returns, but it returns non-zero only when the timer was pending at the time of the call. If the timer had already expired (and batadvtpstopall() would unsucessfully try to rearm itself), batadvtpstopall() skips its batadvtpvarsput(), and batadvtpreceivershutdown() fails to put its own reference as well.

Fix this by introducing a new atomic variable receiving that is set to 1 when the receiver is initialized and cleared atomically with atomicxchg() by whichever side claims it first. Only the side that observes the transition from 1 to 0 is responsible for releasing the tpvars timer reference, eliminating the uncertainty.

Affected Software

7 affected components
Linux Kernel
Linux Linux kernel>=5.10.259<5.11
Linux Linux kernel>=6.6.140<6.6.142
Linux Linux kernel>=6.12.90<6.12.92
Linux Linux kernel>=6.18.32<6.18.34
Linux Linux kernel>=7.0.9<7.0.11
Linux Linux kernel=7.1-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update batman-adv tp_meter code to fix the tp_vars reference leak in receiver shutdown by atomically coordinating shutdown/release: initialize a new atomic variable (receiving) to 1, and clear it atomically using atomic_xchg() such that only the side that transitions from 1 to 0 releases the tp_vars timer/reference.

    Linux kernel (batman-adv: tp_meter) atomic variable/atomic_xchg = Introduce new atomic variable receiving that is set to 1; clear the receiver shutdown state atomically with atomic_xchg() so the side transitioning from 1 to 0 releases the tp_vars reference.

Event History

Jul 19, 2026
CVE Published
via MITRE·03:40 PM
Data Sourced
via MITRE·03:40 PM
Description
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityAffected Software

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