CVE-2023-52476
Linux Kernel Intel PMU perf Filter divulgence
Description
In the Linux kernel, the following vulnerability has been resolved: perf/x86/lbr: Filter vsyscall addresses We found that a panic can occur when a vsyscall is made while LBR sampling is active. If the vsyscall is interrupted (NMI) for perf sampling, this call sequence can occur (most recent at top): __insn_get_emulate_prefix() insn_get_emulate_prefix() insn_get_prefixes() insn_get_opcode() decode_branch_type() get_branch_type() intel_pmu_lbr_filter() intel_pmu_handle_irq() perf_event_nmi_handler() Within __insn_get_emulate_prefix() at frame 0, a macro is called: peek_nbyte_next(insn_byte_t, insn, i) Within this macro, this dereference occurs: (insn)->next_byte Inspecting registers at this point, the value of the next_byte field is the address of the vsyscall made, for example the location of the vsyscall version of gettimeofday() at 0xffffffffff600000. The access to an address in the vsyscall region will trigger an oops due to an unhandled page fault. To fix the bug, filtering for vsyscalls can be done when determining the branch type. This patch will return a "none" branch if a kernel address if found to lie in the vsyscall region.
INFO
Published Date :
Feb. 29, 2024, 6:15 a.m.
Last Modified :
Jan. 10, 2025, 6:27 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-52476
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-52476
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-52476
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 10, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (excluding) 5.15.137 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.59 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.5.8 *cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.6:rc5:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/3863989497652488a50f00e96de4331e5efabc6c No Types Assigned https://git.kernel.org/stable/c/3863989497652488a50f00e96de4331e5efabc6c Patch Changed Reference Type https://git.kernel.org/stable/c/3863989497652488a50f00e96de4331e5efabc6c No Types Assigned https://git.kernel.org/stable/c/3863989497652488a50f00e96de4331e5efabc6c Patch Changed Reference Type https://git.kernel.org/stable/c/403d201d1fd144cb249836dafb222f6375871c6c No Types Assigned https://git.kernel.org/stable/c/403d201d1fd144cb249836dafb222f6375871c6c Patch Changed Reference Type https://git.kernel.org/stable/c/403d201d1fd144cb249836dafb222f6375871c6c No Types Assigned https://git.kernel.org/stable/c/403d201d1fd144cb249836dafb222f6375871c6c Patch Changed Reference Type https://git.kernel.org/stable/c/e53899771a02f798d436655efbd9d4b46c0f9265 No Types Assigned https://git.kernel.org/stable/c/e53899771a02f798d436655efbd9d4b46c0f9265 Patch Changed Reference Type https://git.kernel.org/stable/c/e53899771a02f798d436655efbd9d4b46c0f9265 No Types Assigned https://git.kernel.org/stable/c/e53899771a02f798d436655efbd9d4b46c0f9265 Patch Changed Reference Type https://git.kernel.org/stable/c/f71edacbd4f99c0e12fe4a4007ab4d687d0688db No Types Assigned https://git.kernel.org/stable/c/f71edacbd4f99c0e12fe4a4007ab4d687d0688db Patch Changed Reference Type https://git.kernel.org/stable/c/f71edacbd4f99c0e12fe4a4007ab4d687d0688db No Types Assigned https://git.kernel.org/stable/c/f71edacbd4f99c0e12fe4a4007ab4d687d0688db Patch -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/3863989497652488a50f00e96de4331e5efabc6c Added Reference https://git.kernel.org/stable/c/403d201d1fd144cb249836dafb222f6375871c6c Added Reference https://git.kernel.org/stable/c/e53899771a02f798d436655efbd9d4b46c0f9265 Added Reference https://git.kernel.org/stable/c/f71edacbd4f99c0e12fe4a4007ab4d687d0688db -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 29, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: perf/x86/lbr: Filter vsyscall addresses We found that a panic can occur when a vsyscall is made while LBR sampling is active. If the vsyscall is interrupted (NMI) for perf sampling, this call sequence can occur (most recent at top): __insn_get_emulate_prefix() insn_get_emulate_prefix() insn_get_prefixes() insn_get_opcode() decode_branch_type() get_branch_type() intel_pmu_lbr_filter() intel_pmu_handle_irq() perf_event_nmi_handler() Within __insn_get_emulate_prefix() at frame 0, a macro is called: peek_nbyte_next(insn_byte_t, insn, i) Within this macro, this dereference occurs: (insn)->next_byte Inspecting registers at this point, the value of the next_byte field is the address of the vsyscall made, for example the location of the vsyscall version of gettimeofday() at 0xffffffffff600000. The access to an address in the vsyscall region will trigger an oops due to an unhandled page fault. To fix the bug, filtering for vsyscalls can be done when determining the branch type. This patch will return a "none" branch if a kernel address if found to lie in the vsyscall region. Added Reference Linux https://git.kernel.org/stable/c/403d201d1fd144cb249836dafb222f6375871c6c [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/3863989497652488a50f00e96de4331e5efabc6c [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/f71edacbd4f99c0e12fe4a4007ab4d687d0688db [No types assigned] Added Reference Linux https://git.kernel.org/stable/c/e53899771a02f798d436655efbd9d4b46c0f9265 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-52476
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-52476
weaknesses.