ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook (Linux Linux)

CVE-2021-47006
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.25 % · percentile 17 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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/

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 1879445dfa7bbd6fe21b09c5cc72f4934798afed < 555a70f7fff03bd669123487905c47ae27dbdaac ; affected 1879445dfa7bbd6fe21b09c5cc72f4934798afed < ed1f67465327cec4457bb988775245b199da86e6 ; affected 1879445dfa7bbd6fe21b09c5cc72f4934798afed < a9938d6d78a238d6ab8de57a4d3dcf77adceb9bb ; affected 1879445dfa7bbd6fe21b09c5cc72f4934798afed < 3ed8832aeaa9a37b0fc386bb72ff604352567c80 ; affected 1879445dfa7bbd6fe21b09c5cc72f4934798afed < 630146203108bf6b8934eec0dfdb3e46dcb917de ; affected 1879445dfa7bbd6fe21b09c5cc72f4934798afed < 7eeacc6728c5478e3c01bc82a1f08958eaa12366
Linux · Linuxaffected 4.7 ; unaffected 0 < 4.7 ; unaffected 4.9.269 ≤ 4.9.* ; unaffected 4.14.233 ≤ 4.14.* ; unaffected 4.19.191 ≤ 4.19.* ; unaffected 5.4.120 ≤ 5.4.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD