# CVE-2021-47252: batman-adv: Avoid WARN_ON timing related checks

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2024-05-21T14:19:48.174Z
- Modified: 2026-06-17T04:17:01.143Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00 before 45011f2973f6b52cf50db397bb27bf805f5f0e7f; from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00 before 6031daaaf6d5c359c99dfffa102e332df234ff09; from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00 before 77a99aad5bc3ea105806ebae6be3cbadc2fc615e; from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00 before e8e9d2968a9d08bf5c683afca182f1537edebf8d; from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00 before e7fbd8184fa9e85f0d648c499841cb7ff6dec9f4; from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00 before 282baa8104af44e04c4af3e7f933b44267c7f86f; from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00 before 2eb4e0b3631832a4291c8bf4c9db873f60b128c8; from ef0a937f7a1450d3a133ccd83c9c7d07587e7a00 before 9f460ae31c4435fd022c443a6029352217a16ac1; 3.14 (not affected: before 3.14; from 4.4.293 up to 4.4.*; from 4.9.274 up to 4.9.*; from 4.14.238 up to 4.14.*; from 4.19.196 up to 4.19.*; from 5.4.128 up to 5.4.*; from 5.10.46 up to 5.10.*; from 5.12.13 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 3.14 before 4.4.293; from 4.5 before 4.9.274; from 4.10 before 4.14.238; from 4.15 before 4.19.196; from 4.20 before 5.4.128; from 5.5 before 5.10.46; from 5.11 before 5.12.13; 5.13

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2021-47252](https://www.cve.org/CVERecord?id=CVE-2021-47252), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47252](https://nvd.nist.gov/vuln/detail/CVE-2021-47252), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47252 · Whole record: https://cve.day/CVE-2021-47252.json · Rebuilt by cve.day 2026-11-25T22:58:08.758Z
