CVE-2022-50462
MIPS: vpe-mt: fix possible memory leak while module exiting
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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().
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
2.6.30
References 9
git.kernel.org
- stable/c/170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168
- stable/c/9d180e0bb21c57bd6cca2adeb672d3b522e910b5
- stable/c/851ae5640875f06494e40002cd503b11a634c6fb
- stable/c/b3325a443525e3b89151879b834519b21c5e3011
- stable/c/48d42f4464d713fbdd79f334fdcd6e5be534cc67
- stable/c/e820a8192ff68570100347855b567512aec43819
- stable/c/b191dde84e40624d5577f64db0ec922c5c0ec57c
- stable/c/ab3d47c1fd0202821abd473ca87580faafd47847
- stable/c/5822e8cc84ee37338ab0bdc3124f6eec04dc232d