Menu

Star on GitHub · 3.4k

CVE-2021-47396

5.5 · MEDIUM

In the Linux kernel, the following vulnerability has been resolved: mac80211-hwsim: fix late beacon hrtimer handling Thomas explained in https://lore.kernel.org/r/87mtoeb4hb.ffs@tglx that our han…

Published May 21, 2024EPSS 0.24%

Overview

CVE-2021-47396 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical description

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

mac80211-hwsim: fix late beacon hrtimer handling

Thomas explained in https://lore.kernel.org/r/87mtoeb4hb.ffs@tglx

that our handling of the hrtimer here is wrong: If the timer fires

late (e.g. due to vCPU scheduling, as reported by Dmitry/syzbot)

then it tries to actually rearm the timer at the next deadline,

which might be in the past already:

1 2 3 N N+1

| | | ... | |

^ intended to fire here (1)

^ next deadline here (2)

^ actually fired here

The next time it fires, it's later, but will still try to schedule

for the next deadline (now 3), etc. until it catches up with N,

but that might take a long time, causing stalls etc.

Now, all of this is simulation, so we just have to fix it, but

note that the behaviour is wrong even per spec, since there's no

value then in sending all those beacons unali

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2021-47396?

CVE-2021-47396 is a medium-severity vulnerability. It was published on May 21, 2024 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-47396?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-47396?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-47396?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2021-47396 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2021

View all
Watch the demo →