CVE-2022-50462

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

State
Published
Severity
Not scored
Published
Oct 1, 2025
Updated
May 11, 2026
Reserved
Oct 1, 2025

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1fa5ae857bb14f6046205171d98506d8112dd74e to before 170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168Affected
  • 1fa5ae857bb14f6046205171d98506d8112dd74e to before 9d180e0bb21c57bd6cca2adeb672d3b522e910b5Affected
  • 1fa5ae857bb14f6046205171d98506d8112dd74e to before 851ae5640875f06494e40002cd503b11a634c6fbAffected
  • 1fa5ae857bb14f6046205171d98506d8112dd74e to before b3325a443525e3b89151879b834519b21c5e3011Affected
  • 1fa5ae857bb14f6046205171d98506d8112dd74e to before 48d42f4464d713fbdd79f334fdcd6e5be534cc67Affected
  • 1fa5ae857bb14f6046205171d98506d8112dd74e to before e820a8192ff68570100347855b567512aec43819Affected
  • 1fa5ae857bb14f6046205171d98506d8112dd74e to before b191dde84e40624d5577f64db0ec922c5c0ec57cAffected
  • 1fa5ae857bb14f6046205171d98506d8112dd74e to before ab3d47c1fd0202821abd473ca87580faafd47847Affected
  • 1fa5ae857bb14f6046205171d98506d8112dd74e to before 5822e8cc84ee37338ab0bdc3124f6eec04dc232dAffected
LinuxLinux
  • 2.6.30Affected
  • before 2.6.30Not affected
  • 4.9.337 through 4.9.*Not affected
  • 4.14.303 through 4.14.*Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.