CVE-2024-50112 x86/lam: Disable ADDRESS_MASKING in most cases

High 7.8 Published Updated

Attackers could exploit transient execution flaws in Linear Address Masking to read sensitive memory if speculation mitigations are disabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-50112?

CVE-2024-50112 is a high-severity vulnerability in Linux kernel, published on 5 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

x86/lam: Disable ADDRESS_MASKING in most cases

Linear Address Masking (LAM) has a weakness related to transient execution as described in the SLAM paper[1]. Unless Linear Address Space Separation (LASS) is enabled this weakness may be exploitable.

Until kernel adds support for LASS[2], only allow LAM for COMPILE_TEST, or when speculation mitigations have been disabled at compile time, otherwise keep LAM disabled.

There are no processors in market that support LAM yet, so currently nobody is affected by this issue.

[1] SLAM: https://download.vusec.net/papers/slam_sp24.pdf [2] LASS: https://lore.kernel.org/lkml/[email protected]/

[ dhansen: update SPECULATION_MITIGATIONS -> CPU_MITIGATIONS ]

Which versions are affected by CVE-2024-50112?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-50112?

Apply the vendor's patch.

Is CVE-2024-50112 being exploited?

There is no known exploitation of CVE-2024-50112 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as BELL-CVE-2024-50112, DEBIAN-CVE-2024-50112, GHSA-562f-24cq-ggcj, ROOT-OS-DEBIAN-11-CVE-2024-50112, ROOT-OS-DEBIAN-12-CVE-2024-50112, ROOT-OS-UBUNTU-2204-CVE-2024-50112 and 1 more.

Is CVE-2024-50112 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free