Advisory Published
Updated

CVE-2024-57898: wifi: cfg80211: clear link ID from bitmap during link delete after clean up

First published: Wed Jan 15 2025(Updated: )

In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: clear link ID from bitmap during link delete after clean up Currently, during link deletion, the link ID is first removed from the valid_links bitmap before performing any clean-up operations. However, some functions require the link ID to remain in the valid_links bitmap. One such example is cfg80211_cac_event(). The flow is - nl80211_remove_link() cfg80211_remove_link() ieee80211_del_intf_link() ieee80211_vif_set_links() ieee80211_vif_update_links() ieee80211_link_stop() cfg80211_cac_event() cfg80211_cac_event() requires link ID to be present but it is cleared already in cfg80211_remove_link(). Ultimately, WARN_ON() is hit. Therefore, clear the link ID from the bitmap only after completing the link clean-up.

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

Affected SoftwareAffected VersionHow to fix
Linux Kernel
debian/linux<=5.10.223-1<=5.10.234-1<=6.1.129-1<=6.1.128-1
6.12.20-1
6.12.21-1

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-2024-57898?

    CVE-2024-57898 has been classified with a severity rating that indicates a medium risk for potential exploitation in the Linux kernel.

  • How do I fix CVE-2024-57898?

    To mitigate CVE-2024-57898, update your Linux kernel to the latest version where this vulnerability has been patched.

  • What versions of the Linux kernel are affected by CVE-2024-57898?

    CVE-2024-57898 impacts specific versions of the Linux kernel prior to the release containing the fix.

  • What is the nature of the vulnerability in CVE-2024-57898?

    CVE-2024-57898 involves an issue with the cfg80211 component of the Linux kernel that mishandles link ID during link deletion.

  • Has CVE-2024-57898 been exploited in the wild?

    As of now, there have been no reported instances of CVE-2024-57898 being actively exploited in the wild.

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