CVE-2022-49881

wifi: cfg80211: fix memory leak in query_regdb_file()

Medium · published May 1, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
9.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00202 · 9.7th percentile
Published
2025-05-01T14:10Z
EPSS history
Timeline
  • 01 MAY 14:10Z
    wifi: cfg80211: fix memory leak in query_regdb_file()
    cvelistv5