CVEvulnerability
CVE-2022-49881
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-05-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
Description
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 configurations
• linux linux kernel (>= 4.15 < 4.19.267)
• linux linux kernel (>= 4.20 < 5.4.225)
• linux linux kernel (>= 5.5 < 5.10.155)
• linux linux kernel (>= 5.11 < 5.15.79)
• linux linux kernel (>= 5.16 < 6.0.9)
• linux linux kernel 6.1
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/0ede1a988299e95d54bd89551fd635980572e920 Patch
- https://git.kernel.org/stable/c/219446396786330937bcd382a7bc4ccd767383bc Patch
- https://git.kernel.org/stable/c/38c9fa2cc6bf4b6e1a74057aef8b5cffd23d3264 Patch
- https://git.kernel.org/stable/c/57b962e627ec0ae53d4d16d7bd1033e27e67677a Patch
- https://git.kernel.org/stable/c/e1e12180321f416d83444f2cdc9259e0f5093d35 Patch
- https://git.kernel.org/stable/c/e9b5a4566d5bc71cc901be50d1fa24da00613120 Patch