CVE-2024-50102
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness type
CWE-203CVE-2024-50102 is classified as CWE-203
See CWE-203 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
6.4
and later are affected. Fixed in
6.11.6,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-50102 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/291313693677a345d4f50aae3c68e28b469f601e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/86e6b1547b3d013bc392adf775b89318441403c2
Frequently asked questions
-
What is CVE-2024-50102?
CVE-2024-50102 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 6.4 onward and has been patched in 6.11.6 and 6.12. CVE-2024-50102 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50102?
CVE-2024-50102 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. -
Is there a patch available for CVE-2024-50102?
Yes — CVE-2024-50102 has been patched. Fixed versions include 6.11.6 and 6.12. If you are running Linux kernel 6.4 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50102 actively exploited?
No — CVE-2024-50102 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.