# CVE-2024-50102: x86: fix user address masking non-canonical speculation issue

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-11-05T17:10:37.986Z
- Modified: 2026-06-17T08:03:35.533Z
- Weaknesses: CWE-203
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b19b74bc99b1501a550f4448d04d59b946dc617a before 291313693677a345d4f50aae3c68e28b469f601e; from b19b74bc99b1501a550f4448d04d59b946dc617a before 86e6b1547b3d013bc392adf775b89318441403c2; 6.4 (not affected: before 6.4; from 6.11.6 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: from 6.4 before 6.11.6; 6.12

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://git.kernel.org/stable/c/291313693677a345d4f50aae3c68e28b469f601e> (patch)
- <https://git.kernel.org/stable/c/86e6b1547b3d013bc392adf775b89318441403c2> (patch)

## Sources

- CVE List: [CVE-2024-50102](https://www.cve.org/CVERecord?id=CVE-2024-50102), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-50102](https://nvd.nist.gov/vuln/detail/CVE-2024-50102), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-50102 · Whole record: https://cve.day/CVE-2024-50102.json · Rebuilt by cve.day 2026-11-25T22:58:47.775Z
