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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-10-01T11:45:34.107Z
- **Modified:** 2026-06-17T05:23:36.183Z

## Who should check

- Anyone running Linux \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 9d180e0bb21c57bd6cca2adeb672d3b522e910b5; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 851ae5640875f06494e40002cd503b11a634c6fb; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< b3325a443525e3b89151879b834519b21c5e3011; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 48d42f4464d713fbdd79f334fdcd6e5be534cc67; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< e820a8192ff68570100347855b567512aec43819; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< b191dde84e40624d5577f64db0ec922c5c0ec57c; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< ab3d47c1fd0202821abd473ca87580faafd47847; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 5822e8cc84ee37338ab0bdc3124f6eec04dc232d
- Anyone running Linux 2.6.30

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

## Affected and fixed versions

- Linux: \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 9d180e0bb21c57bd6cca2adeb672d3b522e910b5; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 851ae5640875f06494e40002cd503b11a634c6fb; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< b3325a443525e3b89151879b834519b21c5e3011; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 48d42f4464d713fbdd79f334fdcd6e5be534cc67; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< e820a8192ff68570100347855b567512aec43819; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< b191dde84e40624d5577f64db0ec922c5c0ec57c; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< ab3d47c1fd0202821abd473ca87580faafd47847; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 5822e8cc84ee37338ab0bdc3124f6eec04dc232d (cvelist)
- Linux: 2.6.30 (cvelist)

## Mitigation

- Upgrade Linux to 5822e8cc84ee37338ab0bdc3124f6eec04dc232d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50462. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50462.md
Affected: Linux >= 1fa5ae857bb14f6046205171d98506d8112dd74e, < 170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168; >= 1fa5ae857bb14f6046205171d98506d8112dd74e, < 9d180e0bb21c57bd6cca2adeb672d3b522e910b5; >= 1fa5ae857bb14f6046205171d98506d8112dd74e, < 851ae5640875f06494e40002cd503b11a634c6fb; >= 1fa5ae857bb14f604620517…
Fixed in: Linux 170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168, Linux 9d180e0bb21c57bd6cca2adeb672d3b522e910b5, Linux 851ae5640875f06494e40002cd503b11a634c6fb, Linux 48d42f4464d713fbdd79f334fdcd6e5be534cc67, Linux 5822e8cc84ee37338ab0bdc3124f6eec04dc232d

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

## FAQ

### Is CVE-2022-50462 being exploited?

There is no confirmed exploitation: CVE-2022-50462 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50462?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50462?

Linux \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 9d180e0bb21c57bd6cca2adeb672d3b522e910b5; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 851ae5640875f06494e40002cd503b11a634c6fb; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< b3325a443525e3b89151879b834519b21c5e3011; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 48d42f4464d713fbdd79f334fdcd6e5be534cc67; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< e820a8192ff68570100347855b567512aec43819; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< b191dde84e40624d5577f64db0ec922c5c0ec57c; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< ab3d47c1fd0202821abd473ca87580faafd47847; \>= 1fa5ae857bb14f6046205171d98506d8112dd74e, \< 5822e8cc84ee37338ab0bdc3124f6eec04dc232d; Linux 2.6.30.

### Is there a fix for CVE-2022-50462?

Yes. Fixed in Linux 170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168, Linux 9d180e0bb21c57bd6cca2adeb672d3b522e910b5, Linux 851ae5640875f06494e40002cd503b11a634c6fb, Linux 48d42f4464d713fbdd79f334fdcd6e5be534cc67, Linux 5822e8cc84ee37338ab0bdc3124f6eec04dc232d. Upgrade Linux to 5822e8cc84ee37338ab0bdc3124f6eec04dc232d or later.

### How do I check if I'm affected by CVE-2022-50462?

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.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50462>

HTML: <https://flawdb.com/CVE-2022-50462> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50462>
