CVE-2022-50142
intel_th: msu: Fix vmalloced buffers
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= ba39bd8306057fb343dfb75d93a76d824b625236, < b5d924cb4c7b952eaa61622f14427723a78137a3; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 566887bad7ff2297d6b3f9659c702ba075f3d62d; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 0ed72c6bc632cbf8d979ac60f982ff84b7bb610a; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 4914c50670b6a531e2cb17cd984cc565b4681312; >= ba39bd8306057fb343dfb75d93a76d824b625236, < ac12ad3ccf6d386e64a9d6a890595a2509d24edd
- Anyone running Linux 5.2
Vulnerability facts
- Affected
- Linux >= ba39bd8306057fb343dfb75d93a76d824b625236, < b5d924cb4c7b952eaa61622f14427723a78137a3; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 566887bad7ff2297d6b3f9659c702ba075f3d62d; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 0ed72c6bc632cbf8d979ac60f982ff84b7bb610a; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 4914c50670b6a531e2cb17cd984cc565b4681312; >= ba39bd8306057fb343dfb75d93a76d824b625236, < ac12ad3ccf6d386e64a9d6a890595a2509d24edd; Linux 5.2
- Fixed in
- Linux 6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828, Linux 566887bad7ff2297d6b3f9659c702ba075f3d62d, Linux 0ed72c6bc632cbf8d979ac60f982ff84b7bb610a, Linux 4914c50670b6a531e2cb17cd984cc565b4681312
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-787
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= ba39bd8306057fb343dfb75d93a76d824b625236, < b5d924cb4c7b952eaa61622f14427723a78137a3; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 566887bad7ff2297d6b3f9659c702ba075f3d62d; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 0ed72c6bc632cbf8d979ac60f982ff84b7bb610a; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 4914c50670b6a531e2cb17cd984cc565b4681312; >= ba39bd8306057fb343dfb75d93a76d824b625236, < ac12ad3ccf6d386e64a9d6a890595a2509d24edd | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-50142. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-50142.md Affected: Linux >= ba39bd8306057fb343dfb75d93a76d824b625236, < b5d924cb4c7b952eaa61622f14427723a78137a3; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 566887bad7ff2297d6b3f9659c702ba075f3d62d; >= ba39bd8306057fb343dfb75… Fixed in: Linux 6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828, Linux 566887bad7ff2297d6b3f9659c702ba075f3d62d, Linux 0ed72c6bc632cbf8d979ac60f982ff84b7bb610a, Linux 4914c50670b6a531e2cb17cd984cc565b4681312 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/b5d924cb4c7b952eaa61622f14427723a78137a3
- https://git.kernel.org/stable/c/6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828
- https://git.kernel.org/stable/c/566887bad7ff2297d6b3f9659c702ba075f3d62d
- https://git.kernel.org/stable/c/0ed72c6bc632cbf8d979ac60f982ff84b7bb610a
- https://git.kernel.org/stable/c/4914c50670b6a531e2cb17cd984cc565b4681312
- https://git.kernel.org/stable/c/ac12ad3ccf6d386e64a9d6a890595a2509d24edd
FAQ
Is CVE-2022-50142 being exploited?
There is no confirmed exploitation: CVE-2022-50142 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-50142?
High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-50142?
Linux >= ba39bd8306057fb343dfb75d93a76d824b625236, < b5d924cb4c7b952eaa61622f14427723a78137a3; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 566887bad7ff2297d6b3f9659c702ba075f3d62d; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 0ed72c6bc632cbf8d979ac60f982ff84b7bb610a; >= ba39bd8306057fb343dfb75d93a76d824b625236, < 4914c50670b6a531e2cb17cd984cc565b4681312; >= ba39bd8306057fb343dfb75d93a76d824b625236, < ac12ad3ccf6d386e64a9d6a890595a2509d24edd; Linux 5.2.
Is there a fix for CVE-2022-50142?
Yes. Fixed in Linux 6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828, Linux 566887bad7ff2297d6b3f9659c702ba075f3d62d, Linux 0ed72c6bc632cbf8d979ac60f982ff84b7bb610a, Linux 4914c50670b6a531e2cb17cd984cc565b4681312. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-50142?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.