CVE-2024-50102
Last modified
CVE-2024-50102 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: x86: fix user address masking non-canonical speculation issue It turns out that AMD has a "Meltdown Lite(tm)" issue with non-canonical accesses in kernel space. And so using just the high bit to decide whether an access is in user space or kernel space ends up with the good old "leak speculative data" if you have the right gadget using the result: CVE-2020-12965 “Transient Execution of Non-Canonical Accesses“ Now, the kernel surrounds the access with a STAC/CLAC pair, and those instructions end up serializing execution on older Zen architectures, which closes the speculation window. But that was true only up until Zen 5, which renames the AC bit [1]. That improves performance of STAC/CLAC a lot, but also means that the speculation window is now open. Note that this affects not just the new address masking, but also the regular valid_user_address() check used by access_ok(), and the asm version of the sign bit check in the get_user() helpers. It does not affect put_user() or clear_user() variants, since there's no speculative result to be used in a gadget for those operations.. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: x86: fix user address masking non-canonical speculation issue It turns out that AMD has a "Meltdown Lite(tm)" issue with non-canonical accesses in kernel space. And so using just the high bit to decide whether an access is in user space or kernel space ends up with the good old "leak speculative data" if you have the right gadget using the result: CVE-2020-12965 “Transient Execution of Non-Canonical Accesses“ Now, the kernel surrounds the access with a STAC/CLAC pair, and those instructions end up serializing execution on older Zen architectures, which closes the speculation window. But that was true only up until Zen 5, which renames the AC bit [1]. That improves performance of STAC/CLAC a lot, but also means that the speculation window is now open. Note that this affects not just the new address masking, but also the regular valid_user_address() check used by access_ok(), and the asm version of the sign bit check in the get_user() helpers. It does not affect put_user() or clear_user() variants, since there's no speculative result to be used in a gadget for those operations.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.4, < 6.11.6 | — |
| Linux | Linux Kernel | 6.12 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-50102?
How severe is CVE-2024-50102?
How do I fix CVE-2024-50102?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-50097In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50098In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50099In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-5010In WhatsUp Gold versions released before 2023.1.3, a vulnera…7.5
- CVE-2024-50100In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50101In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50103In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50104In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50105In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50106In the Linux kernel, the following vulnerability has been re…7
- CVE-2024-50107In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-50108In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2024-50102?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
