CWE
401
Advisory Published
Updated

CVE-2022-49881: wifi: cfg80211: fix memory leak in query_regdb_file()

First published: Thu May 01 2025(Updated: )

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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel
Linux Kernel>=4.15<4.19.267
Linux Kernel>=4.20<5.4.225
Linux Kernel>=5.5<5.10.155
Linux Kernel>=5.11<5.15.79
Linux Kernel>=5.16<6.0.9
Linux Kernel=6.1-rc1
Linux Kernel=6.1-rc2
Linux Kernel=6.1-rc3
Linux Kernel=6.1-rc4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-49881?

    CVE-2022-49881 has been classified with medium severity due to its potential impact on system stability.

  • How do I fix CVE-2022-49881?

    To fix CVE-2022-49881, update to the latest version of the Linux kernel where this vulnerability has been patched.

  • What systems are affected by CVE-2022-49881?

    CVE-2022-49881 affects various versions of the Linux kernel, particularly those utilizing the cfg80211 subsystem related to Wi-Fi.

  • What type of vulnerability is CVE-2022-49881?

    CVE-2022-49881 is a memory leak vulnerability that occurs in the query_regdb_file() function of the Linux kernel.

  • Can CVE-2022-49881 be exploited remotely?

    CVE-2022-49881 does not appear to be exploitable remotely as it requires specific kernel operations to trigger the memory leak.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203