# CVE-2022-50462: MIPS: vpe-mt: fix possible memory leak while module exiting

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-10-01T11:45:34.107Z
- Modified: 2026-06-17T05:23:36.183Z
- Weaknesses: CWE-401
- Assigned by: Linux

## Description

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

MIPS: vpe-mt: fix possible memory leak while module exiting

Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's
bus_id string array"), the name of device is allocated dynamically,
it need be freed when module exiting, call put_device() to give up
reference, so that it can be freed in kobject_cleanup() when the
refcount hit to 0. The vpe_device is static, so remove kfree() from
vpe_device_release().

(As written by CVE List.)

## Affected

- Linux Linux: from 1fa5ae857bb14f6046205171d98506d8112dd74e before 170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168; from 1fa5ae857bb14f6046205171d98506d8112dd74e before 9d180e0bb21c57bd6cca2adeb672d3b522e910b5; from 1fa5ae857bb14f6046205171d98506d8112dd74e before 851ae5640875f06494e40002cd503b11a634c6fb; from 1fa5ae857bb14f6046205171d98506d8112dd74e before b3325a443525e3b89151879b834519b21c5e3011; from 1fa5ae857bb14f6046205171d98506d8112dd74e before 48d42f4464d713fbdd79f334fdcd6e5be534cc67; from 1fa5ae857bb14f6046205171d98506d8112dd74e before e820a8192ff68570100347855b567512aec43819; from 1fa5ae857bb14f6046205171d98506d8112dd74e before b191dde84e40624d5577f64db0ec922c5c0ec57c; from 1fa5ae857bb14f6046205171d98506d8112dd74e before ab3d47c1fd0202821abd473ca87580faafd47847; from 1fa5ae857bb14f6046205171d98506d8112dd74e before 5822e8cc84ee37338ab0bdc3124f6eec04dc232d; 2.6.30 (not affected: before 2.6.30; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 2.6.30 before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## References

- <https://git.kernel.org/stable/c/170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168> (patch)
- <https://git.kernel.org/stable/c/9d180e0bb21c57bd6cca2adeb672d3b522e910b5> (patch)
- <https://git.kernel.org/stable/c/851ae5640875f06494e40002cd503b11a634c6fb> (patch)
- <https://git.kernel.org/stable/c/b3325a443525e3b89151879b834519b21c5e3011> (patch)
- <https://git.kernel.org/stable/c/48d42f4464d713fbdd79f334fdcd6e5be534cc67> (patch)
- <https://git.kernel.org/stable/c/e820a8192ff68570100347855b567512aec43819> (patch)
- <https://git.kernel.org/stable/c/b191dde84e40624d5577f64db0ec922c5c0ec57c> (patch)
- <https://git.kernel.org/stable/c/ab3d47c1fd0202821abd473ca87580faafd47847> (patch)
- <https://git.kernel.org/stable/c/5822e8cc84ee37338ab0bdc3124f6eec04dc232d> (patch)

## Sources

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

---

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