# CVE-2021-47006: ARM: 9064/1: hw\_breakpoint: Do not directly check the event's overflow\_handler hook

> 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, CNA) `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.25% (percentile 10, 2026-11-26)
- **Published:** 2024-02-28T08:13:26.541Z
- **Modified:** 2026-06-17T04:16:09.363Z

## Who should check

- Anyone running Linux \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 555a70f7fff03bd669123487905c47ae27dbdaac; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< ed1f67465327cec4457bb988775245b199da86e6; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< a9938d6d78a238d6ab8de57a4d3dcf77adceb9bb; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 3ed8832aeaa9a37b0fc386bb72ff604352567c80; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 630146203108bf6b8934eec0dfdb3e46dcb917de; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 7eeacc6728c5478e3c01bc82a1f08958eaa12366; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< dabe299425b1a53a69461fed7ac8922ea6733a25; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< a506bd5756290821a4314f502b4bafc2afcf5260
- Anyone running Linux 4.7

## Description

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

ARM: 9064/1: hw\_breakpoint: Do not directly check the event's overflow\_handler hook

The commit 1879445dfa7b ("perf/core: Set event's default
::overflow\_handler()") set a default event-\>overflow\_handler in
perf\_event\_alloc(), and replace the check event-\>overflow\_handler with
is\_default\_overflow\_handler(), but one is missing.

Currently, the bp-\>overflow\_handler can not be NULL. As a result,
enable\_single\_step() is always not invoked.

Comments from Zhen Lei:

 https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210207105934.2001-1-thunder.leizhen@huawei.com/

## Affected and fixed versions

- Linux: \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 555a70f7fff03bd669123487905c47ae27dbdaac; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< ed1f67465327cec4457bb988775245b199da86e6; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< a9938d6d78a238d6ab8de57a4d3dcf77adceb9bb; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 3ed8832aeaa9a37b0fc386bb72ff604352567c80; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 630146203108bf6b8934eec0dfdb3e46dcb917de; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 7eeacc6728c5478e3c01bc82a1f08958eaa12366; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< dabe299425b1a53a69461fed7ac8922ea6733a25; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< a506bd5756290821a4314f502b4bafc2afcf5260 (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2021-47006.md
Affected: Linux >= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, < 555a70f7fff03bd669123487905c47ae27dbdaac; >= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, < ed1f67465327cec4457bb988775245b199da86e6; >= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, < a9938d6d78a238d6ab8de57a4d3dcf77adceb9bb; >= 1879445dfa7bbd6fe21b09c…
Fixed in: Linux 555a70f7fff03bd669123487905c47ae27dbdaac, Linux 3ed8832aeaa9a37b0fc386bb72ff604352567c80, Linux 630146203108bf6b8934eec0dfdb3e46dcb917de, Linux 7eeacc6728c5478e3c01bc82a1f08958eaa12366

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-47006 being exploited?

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

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

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

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

Linux \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 555a70f7fff03bd669123487905c47ae27dbdaac; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< ed1f67465327cec4457bb988775245b199da86e6; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< a9938d6d78a238d6ab8de57a4d3dcf77adceb9bb; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 3ed8832aeaa9a37b0fc386bb72ff604352567c80; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 630146203108bf6b8934eec0dfdb3e46dcb917de; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< 7eeacc6728c5478e3c01bc82a1f08958eaa12366; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< dabe299425b1a53a69461fed7ac8922ea6733a25; \>= 1879445dfa7bbd6fe21b09c5cc72f4934798afed, \< a506bd5756290821a4314f502b4bafc2afcf5260; Linux 4.7.

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

Yes. Fixed in Linux 555a70f7fff03bd669123487905c47ae27dbdaac, Linux 3ed8832aeaa9a37b0fc386bb72ff604352567c80, Linux 630146203108bf6b8934eec0dfdb3e46dcb917de, Linux 7eeacc6728c5478e3c01bc82a1f08958eaa12366. No fix listed yet: follow the vendor advisory.

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

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/555a70f7fff03bd669123487905c47ae27dbdaac>
- patch: <https://git.kernel.org/stable/c/ed1f67465327cec4457bb988775245b199da86e6>
- patch: <https://git.kernel.org/stable/c/a9938d6d78a238d6ab8de57a4d3dcf77adceb9bb>
- patch: <https://git.kernel.org/stable/c/3ed8832aeaa9a37b0fc386bb72ff604352567c80>
- patch: <https://git.kernel.org/stable/c/630146203108bf6b8934eec0dfdb3e46dcb917de>
- patch: <https://git.kernel.org/stable/c/7eeacc6728c5478e3c01bc82a1f08958eaa12366>
- patch: <https://git.kernel.org/stable/c/dabe299425b1a53a69461fed7ac8922ea6733a25>
- patch: <https://git.kernel.org/stable/c/a506bd5756290821a4314f502b4bafc2afcf5260>

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

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