{"id":"CVE-2021-47006","aliases":["CVE-2021-47006"],"related":[],"kind":"vulnerability","state":"published","title":"ARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook\n\nThe commit 1879445dfa7b (\"perf/core: Set event's default\n::overflow_handler()\") set a default event->overflow_handler in\nperf_event_alloc(), and replace the check event->overflow_handler with\nis_default_overflow_handler(), but one is missing.\n\nCurrently, the bp->overflow_handler can not be NULL. As a result,\nenable_single_step() is always not invoked.\n\nComments from Zhen Lei:\n\n https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210207105934.2001-1-thunder.leizhen@huawei.com/","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nARM: 9064/1: hw_breakpoint: Do not directly check the event's overflow_handler hook\n\nThe commit 1879445dfa7b (\"perf/core: Set event's default\n::overflow_handler()\") set a default event->overflow_handler in\nperf_event_alloc(), and replace the check event->overflow_handler with\nis_default_overflow_handler(), but one is missing.\n\nCurrently, the bp->overflow_handler can not be NULL. As a result,\nenable_single_step() is always not invoked.\n\nComments from Zhen Lei:\n\n https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210207105934.2001-1-thunder.leizhen@huawei.com/","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ARM: 9064/1: hw_breakpoint: no comprobar directamente el gancho overflow_handler del evento. el commit 1879445dfa7b (\"perf/core: establecer el valor predeterminado del evento ::overflow_handler()\") establece un valor predeterminado event-&gt;overflow_handler en perf_event_alloc(), y reemplace check event-&gt;overflow_handler con is_default_overflow_handler(), pero falta uno. Actualmente, bp-&gt;overflow_handler no puede ser NULL. Como resultado, enable_single_step() no siempre se invoca. Comentarios de Zhen Lei: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20210207105934.2001-1-thunder.leizhen@huawei.com/","source":"nvd"}],"published":"2024-02-28T08:13:26.541Z","modified":"2026-06-17T04:16:09.363Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1879445dfa7bbd6fe21b09c5cc72f4934798afed","fixed":"555a70f7fff03bd669123487905c47ae27dbdaac","status":"affected"},{"type":"git","introduced":"1879445dfa7bbd6fe21b09c5cc72f4934798afed","fixed":"ed1f67465327cec4457bb988775245b199da86e6","status":"affected"},{"type":"git","introduced":"1879445dfa7bbd6fe21b09c5cc72f4934798afed","fixed":"a9938d6d78a238d6ab8de57a4d3dcf77adceb9bb","status":"affected"},{"type":"git","introduced":"1879445dfa7bbd6fe21b09c5cc72f4934798afed","fixed":"3ed8832aeaa9a37b0fc386bb72ff604352567c80","status":"affected"},{"type":"git","introduced":"1879445dfa7bbd6fe21b09c5cc72f4934798afed","fixed":"630146203108bf6b8934eec0dfdb3e46dcb917de","status":"affected"},{"type":"git","introduced":"1879445dfa7bbd6fe21b09c5cc72f4934798afed","fixed":"7eeacc6728c5478e3c01bc82a1f08958eaa12366","status":"affected"},{"type":"git","introduced":"1879445dfa7bbd6fe21b09c5cc72f4934798afed","fixed":"dabe299425b1a53a69461fed7ac8922ea6733a25","status":"affected"},{"type":"git","introduced":"1879445dfa7bbd6fe21b09c5cc72f4934798afed","fixed":"a506bd5756290821a4314f502b4bafc2afcf5260","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.7","status":"unaffected"},{"type":"semver","introduced":"4.9.269","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.233","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.191","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.120","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.38","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.22","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.5","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.7","fixed":"4.9.269"},{"status":"affected","introduced":"4.10","fixed":"4.14.233"},{"status":"affected","introduced":"4.15","fixed":"4.19.191"},{"status":"affected","introduced":"4.20","fixed":"5.4.120"},{"status":"affected","introduced":"5.5","fixed":"5.10.38"},{"status":"affected","introduced":"5.11","fixed":"5.11.22"},{"status":"affected","introduced":"5.12","fixed":"5.12.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/555a70f7fff03bd669123487905c47ae27dbdaac","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed1f67465327cec4457bb988775245b199da86e6","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a9938d6d78a238d6ab8de57a4d3dcf77adceb9bb","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ed8832aeaa9a37b0fc386bb72ff604352567c80","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/630146203108bf6b8934eec0dfdb3e46dcb917de","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7eeacc6728c5478e3c01bc82a1f08958eaa12366","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dabe299425b1a53a69461fed7ac8922ea6733a25","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a506bd5756290821a4314f502b4bafc2afcf5260","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-28T18:46:26.616Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47006","url":"https://www.cve.org/CVERecord?id=CVE-2021-47006","licence":"CVE Terms of Use","modified":"2026-05-11T13:46:08.152Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47006","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47006","licence":"Public domain","modified":"2026-06-17T04:16:09.363Z"}],"updatedAt":"2026-11-25T22:58:08.612Z","epss":{"score":0.00253,"percentile":0.1793,"date":"2026-12-01T12:00:22.000Z"}}