{"schema_version":"1.9.0","id":"CVE-2022-50025","published":"2025-06-18T11:01:28.816Z","modified":"2026-08-12T03:51:40.239387743Z","related":["SUSE-SU-2025:02846-1"],"summary":"cxl: Fix a memory leak in an error handling path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl: Fix a memory leak in an error handling path\n\nA bitmap_zalloc() must be balanced by a corresponding bitmap_free() in the\nerror handling path of afu_allocate_irqs().","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"80fa93fce37d3490f4bb0da8a5b239a6745bc744"},{"fixed":"c2c7a29f99788e9e5dfe41d16868ea33da7cc235"},{"fixed":"6544ff559315498ad6c0a311359ca44987f9ca07"},{"fixed":"89d51dc6878c47b6400922fac21b6a33f9d1a588"},{"fixed":"695af60af755873399ce01cb97176768828bc1fd"},{"fixed":"4be138bcd6d68cec0ce47051b117541061f5141a"},{"fixed":"addff638c41753639368c252d0c5ba0d8fe9ed97"},{"fixed":"c2557780ee7818b701681c226fa4cb7c0b171665"},{"fixed":"3a15b45b5454da862376b5d69a4967f5c6fa1368"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50025.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.19.0"},{"fixed":"4.9.326"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.291"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.256"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.211"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.138"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.19.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50025.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3a15b45b5454da862376b5d69a4967f5c6fa1368"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4be138bcd6d68cec0ce47051b117541061f5141a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6544ff559315498ad6c0a311359ca44987f9ca07"},{"type":"WEB","url":"https://git.kernel.org/stable/c/695af60af755873399ce01cb97176768828bc1fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/89d51dc6878c47b6400922fac21b6a33f9d1a588"},{"type":"WEB","url":"https://git.kernel.org/stable/c/addff638c41753639368c252d0c5ba0d8fe9ed97"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2557780ee7818b701681c226fa4cb7c0b171665"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2c7a29f99788e9e5dfe41d16868ea33da7cc235"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50025.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50025"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50025.json"}}