{"id":"CVE-2025-21979","aliases":["CVE-2025-21979"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: cfg80211: cancel wiphy_work before freeing wiphy","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: cfg80211: cancelar wiphy_work antes de liberar wiphy. Un wiphy_work puede ponerse en cola desde el momento en que se asigna e inicializa el wiphy (es decir, wiphy_new_nm). Cuando se pone en cola un wiphy_work, también se pone en cola rdev::wiphy_work. Si se llama a wiphy_free antes de que rdev::wiphy_work se ejecute, se liberará la memoria del wiphy y, cuando finalmente se ejecute, usará memoria no válida. Para solucionar esto, cancele el trabajo antes de liberar el wiphy.","source":"nvd"}],"published":"2025-04-01T15:47:08.699Z","modified":"2026-08-05T11:55:49.695Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"ddb1bfbf4ab5c753954d0cd728253b642934a9f2","fixed":"8930a3e1568cf534f86c8ed2def817c6d0528fc1","status":"affected"},{"type":"git","introduced":"3fcc6d7d5f40dad56dee7bde787b7e23edd4b93c","fixed":"0272d4af7f92997541d8bbf4c51918b93ded6ee2","status":"affected"},{"type":"git","introduced":"a3ee4dc84c4e9d14cb34dad095fd678127aca5b6","fixed":"75d262ad3c36d52852d764588fcd887f0fcd9138","status":"affected"},{"type":"git","introduced":"a3ee4dc84c4e9d14cb34dad095fd678127aca5b6","fixed":"a5158d67bff06cb6fea31be39aeb319fd908ed8e","status":"affected"},{"type":"git","introduced":"a3ee4dc84c4e9d14cb34dad095fd678127aca5b6","fixed":"dea22de162058216a90f2706f0d0b36f0ff309fd","status":"affected"},{"type":"git","introduced":"a3ee4dc84c4e9d14cb34dad095fd678127aca5b6","fixed":"72d520476a2fab6f3489e8388ab524985d6c4b90","status":"affected"},{"type":"semver","introduced":"6.1.57","fixed":"6.1.132","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.5","status":"unaffected"},{"type":"semver","introduced":"6.1.132","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.84","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.20","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.8","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.1.57","fixed":"6.1.132"},{"status":"affected","introduced":"6.5","fixed":"6.6.84"},{"status":"affected","introduced":"6.7","fixed":"6.12.20"},{"status":"affected","introduced":"6.13","fixed":"6.13.8"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/8930a3e1568cf534f86c8ed2def817c6d0528fc1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0272d4af7f92997541d8bbf4c51918b93ded6ee2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75d262ad3c36d52852d764588fcd887f0fcd9138","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a5158d67bff06cb6fea31be39aeb319fd908ed8e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dea22de162058216a90f2706f0d0b36f0ff309fd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/72d520476a2fab6f3489e8388ab524985d6c4b90","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-10-01T17:15:17.684Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21979","url":"https://www.cve.org/CVERecord?id=CVE-2025-21979","licence":"CVE Terms of Use","modified":"2026-08-05T11:55:49.695Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21979","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21979","licence":"Public domain","modified":"2026-06-17T08:44:45.550Z"}],"updatedAt":"2026-11-25T22:58:55.921Z","epss":{"score":0.00216,"percentile":0.12768,"date":"2026-12-01T12:00:22.000Z"}}