{"id":"CVE-2025-21979","summary":"wifi: cfg80211: cancel wiphy_work before freeing wiphy","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: cancel wiphy_work before freeing wiphy\n\nA wiphy_work can be queued from the moment the wiphy is allocated and\ninitialized (i.e. wiphy_new_nm). When a wiphy_work is queued, the\nrdev::wiphy_work is getting queued.\n\nIf wiphy_free is called before the rdev::wiphy_work had a chance to run,\nthe wiphy memory will be freed, and then when it eventally gets to run\nit'll use invalid memory.\n\nFix this by canceling the work before freeing the wiphy.","modified":"2026-04-02T12:45:18.111047Z","published":"2025-04-01T15:47:08.699Z","related":["ALSA-2025:9080","MGASA-2025-0142","MGASA-2025-0146","SUSE-SU-2025:01614-1","SUSE-SU-2025:01707-1","SUSE-SU-2025:01919-1","SUSE-SU-2025:01951-1","SUSE-SU-2025:01964-1","SUSE-SU-2025:01967-1","SUSE-SU-2025:20192-1","SUSE-SU-2025:20206-1","SUSE-SU-2025:20270-1","SUSE-SU-2025:20283-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21979.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0272d4af7f92997541d8bbf4c51918b93ded6ee2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/72d520476a2fab6f3489e8388ab524985d6c4b90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75d262ad3c36d52852d764588fcd887f0fcd9138"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8930a3e1568cf534f86c8ed2def817c6d0528fc1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a5158d67bff06cb6fea31be39aeb319fd908ed8e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dea22de162058216a90f2706f0d0b36f0ff309fd"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21979.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21979"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ddb1bfbf4ab5c753954d0cd728253b642934a9f2"},{"fixed":"8930a3e1568cf534f86c8ed2def817c6d0528fc1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3fcc6d7d5f40dad56dee7bde787b7e23edd4b93c"},{"fixed":"0272d4af7f92997541d8bbf4c51918b93ded6ee2"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a3ee4dc84c4e9d14cb34dad095fd678127aca5b6"},{"fixed":"75d262ad3c36d52852d764588fcd887f0fcd9138"},{"fixed":"a5158d67bff06cb6fea31be39aeb319fd908ed8e"},{"fixed":"dea22de162058216a90f2706f0d0b36f0ff309fd"},{"fixed":"72d520476a2fab6f3489e8388ab524985d6c4b90"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21979.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}