Bug 2400798 (CVE-2022-50462) - CVE-2022-50462 kernel: MIPS: vpe-mt: fix possible memory leak while module exiting
Summary: CVE-2022-50462 kernel: MIPS: vpe-mt: fix possible memory leak while module ex...
Keywords:
Status: NEW
Alias: CVE-2022-50462
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-01 12:07 UTC by OSIDB Bzimport
Modified: 2025-11-26 11:48 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-01 12:07:59 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.