{"id":"CVE-2022-49881","summary":"wifi: cfg80211: fix memory leak in query_regdb_file()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: fix memory leak in query_regdb_file()\n\nIn the function query_regdb_file() the alpha2 parameter is duplicated\nusing kmemdup() and subsequently freed in regdb_fw_cb(). However,\nrequest_firmware_nowait() can fail without calling regdb_fw_cb() and\nthus leak memory.","modified":"2026-04-03T13:14:25.732754Z","published":"2025-05-01T14:10:28.610Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:01982-1","SUSE-SU-2025:01995-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1","SUSE-SU-2025:02334-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49881.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ede1a988299e95d54bd89551fd635980572e920"},{"type":"WEB","url":"https://git.kernel.org/stable/c/219446396786330937bcd382a7bc4ccd767383bc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38c9fa2cc6bf4b6e1a74057aef8b5cffd23d3264"},{"type":"WEB","url":"https://git.kernel.org/stable/c/57b962e627ec0ae53d4d16d7bd1033e27e67677a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1e12180321f416d83444f2cdc9259e0f5093d35"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e9b5a4566d5bc71cc901be50d1fa24da00613120"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49881.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49881"},{"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":"007f6c5e6eb45c81ee89368a5f226572ae638831"},{"fixed":"219446396786330937bcd382a7bc4ccd767383bc"},{"fixed":"0ede1a988299e95d54bd89551fd635980572e920"},{"fixed":"e1e12180321f416d83444f2cdc9259e0f5093d35"},{"fixed":"38c9fa2cc6bf4b6e1a74057aef8b5cffd23d3264"},{"fixed":"e9b5a4566d5bc71cc901be50d1fa24da00613120"},{"fixed":"57b962e627ec0ae53d4d16d7bd1033e27e67677a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49881.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}