{"id":"CVE-2022-49881","aliases":["CVE-2022-49881"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: cfg80211: fix memory leak in query_regdb_file()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: cfg80211: se corrige una fuga de memoria en query_regdb_file(). En la función query_regdb_file(), el parámetro alpha2 se duplica mediante kmemdup() y posteriormente se libera en regdb_fw_cb(). Sin embargo, request_firmware_nowait() puede fallar sin llamar a regdb_fw_cb() y, por lo tanto, provocar una fuga de memoria.","source":"nvd"}],"published":"2025-05-01T14:10:28.610Z","modified":"2026-06-17T05:19:24.580Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"007f6c5e6eb45c81ee89368a5f226572ae638831","fixed":"219446396786330937bcd382a7bc4ccd767383bc","status":"affected"},{"type":"git","introduced":"007f6c5e6eb45c81ee89368a5f226572ae638831","fixed":"0ede1a988299e95d54bd89551fd635980572e920","status":"affected"},{"type":"git","introduced":"007f6c5e6eb45c81ee89368a5f226572ae638831","fixed":"e1e12180321f416d83444f2cdc9259e0f5093d35","status":"affected"},{"type":"git","introduced":"007f6c5e6eb45c81ee89368a5f226572ae638831","fixed":"38c9fa2cc6bf4b6e1a74057aef8b5cffd23d3264","status":"affected"},{"type":"git","introduced":"007f6c5e6eb45c81ee89368a5f226572ae638831","fixed":"e9b5a4566d5bc71cc901be50d1fa24da00613120","status":"affected"},{"type":"git","introduced":"007f6c5e6eb45c81ee89368a5f226572ae638831","fixed":"57b962e627ec0ae53d4d16d7bd1033e27e67677a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"4.19.267","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.225","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.155","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.79","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.9","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.15","fixed":"4.19.267"},{"status":"affected","introduced":"4.20","fixed":"5.4.225"},{"status":"affected","introduced":"5.5","fixed":"5.10.155"},{"status":"affected","introduced":"5.11","fixed":"5.15.79"},{"status":"affected","introduced":"5.16","fixed":"6.0.9"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"},{"status":"affected","version":"6.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/219446396786330937bcd382a7bc4ccd767383bc","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0ede1a988299e95d54bd89551fd635980572e920","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e1e12180321f416d83444f2cdc9259e0f5093d35","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/38c9fa2cc6bf4b6e1a74057aef8b5cffd23d3264","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e9b5a4566d5bc71cc901be50d1fa24da00613120","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57b962e627ec0ae53d4d16d7bd1033e27e67677a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T16:10:51.762Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49881","url":"https://www.cve.org/CVERecord?id=CVE-2022-49881","licence":"CVE Terms of Use","modified":"2026-05-11T19:08:33.030Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49881","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49881","licence":"Public domain","modified":"2026-06-17T05:19:24.580Z"}],"updatedAt":"2026-11-25T22:58:20.917Z","epss":{"score":0.00206,"percentile":0.11338,"date":"2026-12-01T12:00:22.000Z"}}