CVE-2022-50142 intel_th: msu: Fix vmalloced buffers
A memory corruption issue in the Linux kernel Intel TH MSU driver can cause a system crash when DMA buffers are allocated via vmalloc.
- 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-2022-50142?
CVE-2022-50142 is a high-severity memory corruption vulnerability in Linux kernel, published on 18 Jun 2025. 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:
intel_th: msu: Fix vmalloced buffers
After commit f5ff79fddf0e ("dma-mapping: remove CONFIG_DMA_REMAP") there's a chance of DMA buffer getting allocated via vmalloc(), which messes up the mmapping code:
> RIP: msc_mmap_fault [intel_th_msu] > Call Trace: > <TASK> > __do_fault > do_fault ...
Fix this by accounting for vmalloc possibility.
Weakness: CWE-787
Which versions are affected by CVE-2022-50142?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50142?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-50142 being exploited?
There is no known exploitation of CVE-2022-50142 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50142, GHSA-x6c5-wqx3-9555, UBUNTU-CVE-2022-50142.