# CVE-2022-50142: intel_th: msu: Fix vmalloced buffers

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-06-18T11:03:04.333Z
- Modified: 2026-11-05T20:17:25.173Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from ba39bd8306057fb343dfb75d93a76d824b625236 before b5d924cb4c7b952eaa61622f14427723a78137a3; from ba39bd8306057fb343dfb75d93a76d824b625236 before 6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828; from ba39bd8306057fb343dfb75d93a76d824b625236 before 566887bad7ff2297d6b3f9659c702ba075f3d62d; from ba39bd8306057fb343dfb75d93a76d824b625236 before 0ed72c6bc632cbf8d979ac60f982ff84b7bb610a; from ba39bd8306057fb343dfb75d93a76d824b625236 before 4914c50670b6a531e2cb17cd984cc565b4681312; from ba39bd8306057fb343dfb75d93a76d824b625236 before ac12ad3ccf6d386e64a9d6a890595a2509d24edd; 5.2 (not affected: before 5.2; from 5.4.211 up to 5.4.*; from 5.10.137 up to 5.10.*; from 5.15.61 up to 5.15.*; from 5.18.18 up to 5.18.*; from 5.19.2 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: from 5.2 before 5.4.211; from 5.5 before 5.10.137; from 5.11 before 5.15.61; from 5.16 before 5.18.18; from 5.19 before 5.19.2

## References

- <https://git.kernel.org/stable/c/b5d924cb4c7b952eaa61622f14427723a78137a3> (patch)
- <https://git.kernel.org/stable/c/6ae2881c1d1fa0e33f4763b7c786f8ef05a9c828> (patch)
- <https://git.kernel.org/stable/c/566887bad7ff2297d6b3f9659c702ba075f3d62d> (patch)
- <https://git.kernel.org/stable/c/0ed72c6bc632cbf8d979ac60f982ff84b7bb610a> (patch)
- <https://git.kernel.org/stable/c/4914c50670b6a531e2cb17cd984cc565b4681312> (patch)
- <https://git.kernel.org/stable/c/ac12ad3ccf6d386e64a9d6a890595a2509d24edd> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2022-50142 · Whole record: https://cve.day/CVE-2022-50142.json · Rebuilt by cve.day 2026-11-25T22:58:21.073Z
