CVE-2022-49881

published 1 May 2025 · updated 11 May 2026

wifi: cfg80211: fix memory leak in query_regdb_file()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0ede1a988299e95d54bd89551fd635980572e920, Kernel 219446396786330937bcd382a7bc4ccd767383bc, Kernel 38c9fa2cc6bf4b6e1a74057aef8b5cffd23d3264 and 3 more.

In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: fix memory leak in query_regdb_file() In the function query_regdb_file() the alpha2 parameter is duplicated using kmemdup() and subsequently freed in regdb_fw_cb(). However, request_firmware_nowait() can fail without calling regdb_fw_cb() and thus leak memory.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=4.15, >=007f6c5e6eb45c81ee89368a5f226572ae638831 <0ede1a988299e95d54bd89551fd635980572e920, >=007f6c5e6eb45c81ee89368a5f226572ae638831 <219446396786330937bcd382a7bc4ccd767383bc, >=007f6c5e6eb45c81ee89368a5f226572ae638831 <38c9fa2cc6bf4b6e1a74057aef8b5cffd23d3264, >=007f6c5e6eb45c81ee89368a5f226572ae638831 <57b962e627ec0ae53d4d16d7bd1033e27e67677a, >=007f6c5e6eb45c81ee89368a5f226572ae638831 <e1e12180321f416d83444f2cdc9259e0f5093d35, >=007f6c5e6eb45c81ee89368a5f226572ae638831 <e9b5a4566d5bc71cc901be50d1fa24da006131200ede1a988299e95d54bd89551fd635980572e920, 219446396786330937bcd382a7bc4ccd767383bc, 38c9fa2cc6bf4b6e1a74057aef8b5cffd23d3264, 57b962e627ec0ae53d4d16d7bd1033e27e67677a, e1e12180321f416d83444f2cdc9259e0f5093d35, e9b5a4566d5bc71cc901be50d1fa24da00613120

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49881 severity on Zeptric[![CVE-2022-49881](https://zeptric.io/badge/cve/CVE-2022-49881.svg)](https://zeptric.io/cve/CVE-2022-49881)