# CVE-2021-47006: ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-02-28T08:13:26.541Z
- Modified: 2026-06-17T04:16:09.363Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 1879445dfa7bbd6fe21b09c5cc72f4934798afed before 555a70f7fff03bd669123487905c47ae27dbdaac; from 1879445dfa7bbd6fe21b09c5cc72f4934798afed before ed1f67465327cec4457bb988775245b199da86e6; from 1879445dfa7bbd6fe21b09c5cc72f4934798afed before a9938d6d78a238d6ab8de57a4d3dcf77adceb9bb; from 1879445dfa7bbd6fe21b09c5cc72f4934798afed before 3ed8832aeaa9a37b0fc386bb72ff604352567c80; from 1879445dfa7bbd6fe21b09c5cc72f4934798afed before 630146203108bf6b8934eec0dfdb3e46dcb917de; from 1879445dfa7bbd6fe21b09c5cc72f4934798afed before 7eeacc6728c5478e3c01bc82a1f08958eaa12366; from 1879445dfa7bbd6fe21b09c5cc72f4934798afed before dabe299425b1a53a69461fed7ac8922ea6733a25; from 1879445dfa7bbd6fe21b09c5cc72f4934798afed before a506bd5756290821a4314f502b4bafc2afcf5260; 4.7 (not affected: before 4.7; from 4.9.269 up to 4.9.*; from 4.14.233 up to 4.14.*; from 4.19.191 up to 4.19.*; from 5.4.120 up to 5.4.*; from 5.10.38 up to 5.10.*; from 5.11.22 up to 5.11.*; from 5.12.5 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 4.7 before 4.9.269; from 4.10 before 4.14.233; from 4.15 before 4.19.191; from 4.20 before 5.4.120; from 5.5 before 5.10.38; from 5.11 before 5.11.22; from 5.12 before 5.12.5

## References

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

## Sources

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

---

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