CVE-2021-47252
JSON

5.5medium

batman-adv: Avoid WARN_ON timing related checks

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.23% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 and 1 more
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.*
CVE List
linux linux_kernelfrom 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.13NVD

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: batman-adv: Evite comprobaciones relacionadas con el tiempo WARN_ON. La interfaz soft/batadv para un MDS en cola se puede cambiar durante el tiempo que el MDS estuvo en cola para transmisión y cuando el MDS realmente se transmite por el trabajador. Pero WARN_ON debe usarse para indicar errores del kernel y no para imprimir simples advertencias. Una advertencia se puede imprimir simplemente usando pr_warn.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47252 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47252 changed 2026-06-17Public domain