{"id":"CVE-2022-50462","summary":"MIPS: vpe-mt: fix possible memory leak while module exiting","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nMIPS: vpe-mt: fix possible memory leak while module exiting\n\nAfer commit 1fa5ae857bb1 (\"driver core: get rid of struct device's\nbus_id string array\"), the name of device is allocated dynamically,\nit need be freed when module exiting, call put_device() to give up\nreference, so that it can be freed in kobject_cleanup() when the\nrefcount hit to 0. The vpe_device is static, so remove kfree() from\nvpe_device_release().","modified":"2026-04-02T08:28:31.786607Z","published":"2025-10-01T11:45:34.107Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50462.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168"},{"type":"WEB","url":"https://git.kernel.org/stable/c/48d42f4464d713fbdd79f334fdcd6e5be534cc67"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5822e8cc84ee37338ab0bdc3124f6eec04dc232d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/851ae5640875f06494e40002cd503b11a634c6fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d180e0bb21c57bd6cca2adeb672d3b522e910b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ab3d47c1fd0202821abd473ca87580faafd47847"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b191dde84e40624d5577f64db0ec922c5c0ec57c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b3325a443525e3b89151879b834519b21c5e3011"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e820a8192ff68570100347855b567512aec43819"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50462.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50462"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1fa5ae857bb14f6046205171d98506d8112dd74e"},{"fixed":"170e9913c2ed5cfc37c0adf0fdbd368d2d8d8168"},{"fixed":"9d180e0bb21c57bd6cca2adeb672d3b522e910b5"},{"fixed":"851ae5640875f06494e40002cd503b11a634c6fb"},{"fixed":"b3325a443525e3b89151879b834519b21c5e3011"},{"fixed":"48d42f4464d713fbdd79f334fdcd6e5be534cc67"},{"fixed":"e820a8192ff68570100347855b567512aec43819"},{"fixed":"b191dde84e40624d5577f64db0ec922c5c0ec57c"},{"fixed":"ab3d47c1fd0202821abd473ca87580faafd47847"},{"fixed":"5822e8cc84ee37338ab0bdc3124f6eec04dc232d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50462.json"}}],"schema_version":"1.7.5"}