# CVE-2021-47252: batman-adv: Avoid WARN\_ON timing related checks

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **Published:** 2024-05-21T14:19:48.174Z
- **Modified:** 2026-06-17T04:17:01.143Z

## Who should check

- Anyone running Linux \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 45011f2973f6b52cf50db397bb27bf805f5f0e7f; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 6031daaaf6d5c359c99dfffa102e332df234ff09; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 77a99aad5bc3ea105806ebae6be3cbadc2fc615e; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< e8e9d2968a9d08bf5c683afca182f1537edebf8d; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< e7fbd8184fa9e85f0d648c499841cb7ff6dec9f4; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 282baa8104af44e04c4af3e7f933b44267c7f86f; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 2eb4e0b3631832a4291c8bf4c9db873f60b128c8; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 9f460ae31c4435fd022c443a6029352217a16ac1
- Anyone running Linux 3.14

## Description

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

batman-adv: Avoid WARN\_ON timing related checks

The soft/batadv interface for a queued OGM can be changed during the time
the OGM was queued for transmission and when the OGM is actually
transmitted by the worker.

But WARN\_ON must be used to denote kernel bugs and not to print simple
warnings. A warning can simply be printed using pr\_warn.

## Affected and fixed versions

- Linux: \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 45011f2973f6b52cf50db397bb27bf805f5f0e7f; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 6031daaaf6d5c359c99dfffa102e332df234ff09; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 77a99aad5bc3ea105806ebae6be3cbadc2fc615e; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< e8e9d2968a9d08bf5c683afca182f1537edebf8d; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< e7fbd8184fa9e85f0d648c499841cb7ff6dec9f4; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 282baa8104af44e04c4af3e7f933b44267c7f86f; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 2eb4e0b3631832a4291c8bf4c9db873f60b128c8; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 9f460ae31c4435fd022c443a6029352217a16ac1 (cvelist)
- Linux: 3.14 (cvelist)

## Mitigation

- Upgrade Linux to 9f460ae31c4435fd022c443a6029352217a16ac1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-47252. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47252.md
Affected: Linux >= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, < 45011f2973f6b52cf50db397bb27bf805f5f0e7f; >= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, < 6031daaaf6d5c359c99dfffa102e332df234ff09; >= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, < 77a99aad5bc3ea105806ebae6be3cbadc2fc615e; >= ef0a937f7a1450d3a133ccd…
Fixed in: Linux 45011f2973f6b52cf50db397bb27bf805f5f0e7f, Linux 6031daaaf6d5c359c99dfffa102e332df234ff09, Linux 77a99aad5bc3ea105806ebae6be3cbadc2fc615e, Linux 282baa8104af44e04c4af3e7f933b44267c7f86f, Linux 2eb4e0b3631832a4291c8bf4c9db873f60b128c8, Linux 9f460ae31c4435fd022c443a6029352217a16ac1

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-47252 being exploited?

There is no confirmed exploitation: CVE-2021-47252 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-47252?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-47252?

Linux \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 45011f2973f6b52cf50db397bb27bf805f5f0e7f; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 6031daaaf6d5c359c99dfffa102e332df234ff09; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 77a99aad5bc3ea105806ebae6be3cbadc2fc615e; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< e8e9d2968a9d08bf5c683afca182f1537edebf8d; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< e7fbd8184fa9e85f0d648c499841cb7ff6dec9f4; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 282baa8104af44e04c4af3e7f933b44267c7f86f; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 2eb4e0b3631832a4291c8bf4c9db873f60b128c8; \>= ef0a937f7a1450d3a133ccd83c9c7d07587e7a00, \< 9f460ae31c4435fd022c443a6029352217a16ac1; Linux 3.14.

### Is there a fix for CVE-2021-47252?

Yes. Fixed in Linux 45011f2973f6b52cf50db397bb27bf805f5f0e7f, Linux 6031daaaf6d5c359c99dfffa102e332df234ff09, Linux 77a99aad5bc3ea105806ebae6be3cbadc2fc615e, Linux 282baa8104af44e04c4af3e7f933b44267c7f86f, Linux 2eb4e0b3631832a4291c8bf4c9db873f60b128c8, Linux 9f460ae31c4435fd022c443a6029352217a16ac1. Upgrade Linux to 9f460ae31c4435fd022c443a6029352217a16ac1 or later.

### How do I check if I'm affected by CVE-2021-47252?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/45011f2973f6b52cf50db397bb27bf805f5f0e7f>
- patch: <https://git.kernel.org/stable/c/6031daaaf6d5c359c99dfffa102e332df234ff09>
- patch: <https://git.kernel.org/stable/c/77a99aad5bc3ea105806ebae6be3cbadc2fc615e>
- patch: <https://git.kernel.org/stable/c/e8e9d2968a9d08bf5c683afca182f1537edebf8d>
- patch: <https://git.kernel.org/stable/c/e7fbd8184fa9e85f0d648c499841cb7ff6dec9f4>
- patch: <https://git.kernel.org/stable/c/282baa8104af44e04c4af3e7f933b44267c7f86f>
- patch: <https://git.kernel.org/stable/c/2eb4e0b3631832a4291c8bf4c9db873f60b128c8>
- patch: <https://git.kernel.org/stable/c/9f460ae31c4435fd022c443a6029352217a16ac1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-47252>

HTML: <https://flawdb.com/CVE-2021-47252> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-47252>
