CVE-2024-50102
x86: fix user address masking non-canonical speculation issue
Reported by linux · Published November 5, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | 86e6b1547b3d013bc392adf775b89318441403c2, 6.4, 291313693677a345d4f50aae3c68e28b469f601e |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | b19b74bc99b1501a550f4448d04d59b946dc617a, b19b74bc99b1501a550f4448d04d59b946dc617a |
| Linux | Linux | 6.4, 0, 6.11.6 |
| Linux | Linux | 6.11.6, 0, 6.12 |
| linux | linux_kernel | 6.4, 6.4 |
Timeline
- Nov 5, 2024 Coalition ESS Score (10 in total, the first dated here)
- Nov 5, 2024 CVE Published
- Nov 6, 2024 EPSS Score (30 in total, the first dated here)
- Dec 16, 2025 PoC Published (2 in total, the first dated here)
- Jan 2, 2026 Security Advisory (170 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (129 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-50102
vulnetix vdb fixes CVE-2024-50102
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-50102/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart