CVE-2023-52476: perf/x86/lbr: Filter vsyscall addresses

Published Feb 29, 2024
·
Updated

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

perf/x86/lbr: Filter vsyscall addresses

The Linux kernel CVE team has assigned CVE-2023-52476 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024022921-CVE-2023-52476-e307@gregkh/T/#u

Other sources

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):

insngetemulateprefix() insngetemulateprefix() insngetprefixes() insngetopcode() decodebranchtype() getbranchtype() intelpmulbrfilter() intelpmuhandleirq() perfeventnmihandler()

Within insngetemulateprefix() at frame 0, a macro is called:

peeknbytenext(insnbytet, insn, i)

Within this macro, this dereference occurs:

(insn)->nextbyte

Inspecting registers at this point, the value of the nextbyte 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.

NVD

Affected Software

16 affected componentsFixes available
redhat/kernel<5.15.137
5.15.137
redhat/kernel<6.1.59
6.1.59
redhat/kernel<6.5.8
6.5.8
redhat/kernel<6.6
6.6
Linux Linux kernel<5.15.137
Linux Linux kernel>=5.16<6.1.59
Linux Linux kernel>=6.2<6.5.8
Linux Linux kernel=6.6-rc1
Linux Linux kernel=6.6-rc2
Linux Linux kernel=6.6-rc3
Linux Linux kernel=6.6-rc4
Linux Linux kernel=6.6-rc5
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2

Event History

Feb 29, 2024
CVE Published
via MITRE·05:43 AM
Data Sourced
via MITRE·05:43 AM
Description
Data Sourced
via NVD·06:15 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Red Hat·11:19 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-52476?

CVE-2023-52476 is a vulnerability in the Linux kernel that has been categorized with a specific severity rating, indicating potential impacts on system integrity.

2

How do I fix CVE-2023-52476?

To mitigate CVE-2023-52476, update your Linux kernel to version 5.15.137, 6.1.59, 6.5.8, or 6.6 and apply the relevant patches.

3

What versions of the Linux kernel are affected by CVE-2023-52476?

CVE-2023-52476 affects specific kernel versions prior to 5.15.137, 6.1.59, 6.5.8, and all 6.6 release candidates.

4

Is there a workaround for CVE-2023-52476?

Currently, the best solution for CVE-2023-52476 is to update the kernel to the latest patched version.

5

When was CVE-2023-52476 discovered?

CVE-2023-52476 was identified as a vulnerability in the Linux kernel and has been documented in 2023.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203