Bug 2356652 (CVE-2025-21979) - CVE-2025-21979 kernel: wifi: cfg80211: cancel wiphy_work before freeing wiphy
Summary: CVE-2025-21979 kernel: wifi: cfg80211: cancel wiphy_work before freeing wiphy
Keywords:
Status: NEW
Alias: CVE-2025-21979
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 16:04 UTC by OSIDB Bzimport
Modified: 2025-04-20 17:02 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-01 16:04:31 UTC
In the Linux kernel, the following vulnerability has been resolved:

wifi: cfg80211: cancel wiphy_work before freeing wiphy

A wiphy_work can be queued from the moment the wiphy is allocated and
initialized (i.e. wiphy_new_nm). When a wiphy_work is queued, the
rdev::wiphy_work is getting queued.

If wiphy_free is called before the rdev::wiphy_work had a chance to run,
the wiphy memory will be freed, and then when it eventally gets to run
it'll use invalid memory.

Fix this by canceling the work before freeing the wiphy.


Note You need to log in before you can comment on or make changes to this bug.