CVE-2022-50462

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

MEDIUM
5.5
CVSS Score
Published: October 1, 2025 at 11:45 AM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.30 ≤ v < 4.14.3032.6.30 ≤ v < 4.19.2702.6.30 ≤ v < 4.9.3372.6.30 ≤ v < 5.10.1632.6.30 ≤ v < 5.15.862.6.30 ≤ v < 5.4.2292.6.30 ≤ v < 6.0.162.6.30 ≤ v < 6.1.22.6.30 ≤ v < 6.24.10 ≤ v < 4.14.3034.15 ≤ v < 4.19.2704.20 ≤ v < 5.4.2295.11 ≤ v < 5.15.865.16 ≤ v < 6.0.165.5 ≤ v < 5.10.1636.1 ≤ v < 6.1.21fa5ae857bb14f6046205171d98506d8112dd74e2.6.30
Vendor states this is fixed in 170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168 (fixed)
Vendor states this is fixed in 48d42f4464d713fbdd79f334fdcd6e5be534cc67 (fixed)
Vendor states this is fixed in 5822e8cc84ee37338ab0bdc3124f6eec04dc232d (fixed)
Vendor states this is fixed in 851ae5640875f06494e40002cd503b11a634c6fb (fixed)
Vendor states this is fixed in 9d180e0bb21c57bd6cca2adeb672d3b522e910b5 (fixed)
Vendor states this is fixed in ab3d47c1fd0202821abd473ca87580faafd47847 (fixed)
Vendor states this is fixed in b191dde84e40624d5577f64db0ec922c5c0ec57c (fixed)
Vendor states this is fixed in b3325a443525e3b89151879b834519b21c5e3011 (fixed)
Vendor states this is fixed in e820a8192ff68570100347855b567512aec43819 (fixed)
Vendor states this is fixed in 2.6.30 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card