wifi: cfg80211: convert pmsr_free_wk to wiphy_work to fix deadlock
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: convert pmsr_free_wk to wiphy_work to fix deadlock When a netlink socket that owns a PMSR session is closed, cfg80211_release_pmsr() clears the request's nl_portid and queues pmsr_free_wk to call cfg80211_pmsr_process_abort() asynchronously. If the interface tears down concurrently, cfg80211_pmsr_wdev_down() is called under wiphy_lock and calls cancel_work_sync(&pmsr_free_wk) to wait for any running work. The work function acquires wiphy_lock via guard(wiphy) before calling process_abort. This is a deadlock: wdev_down holds wiphy_lock and blocks inside cancel_work_sync(); pmsr_free_wk blocks trying to acquire that same wiphy_lock. Neither thread can proceed. The same deadlock is reachable from cfg80211_leave_locked(), which calls cfg80211_pmsr_wdev_down() for all interface types under wiphy_lock. Fix this by converting pmsr_free_wk from a plain work_struct to a wiphy_work. The wiphy_work dispatcher holds wiphy_lock when running work items, so the explicit guard(wiphy) in the work function is no longer needed. wiphy_work_cancel() can be called safely while holding wiphy_lock - since wiphy_lock prevents the work from running concurrently, wiphy_work_cancel() never blocks, eliminating the deadlock. Remove the cancel_work_sync() for pmsr_free_wk from the NETDEV_GOING_DOWN handler. cfg80211_leave(), called unconditionally just before it, already cancels any pending work under wiphy_lock via wiphy_w
CVE-2026-68408
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-68408
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "37e776e2e0a523731e2470dce6d563f0e8632a40",
"lessThan": "30c67926d41c456809857976cd3cd71b2290e0c1",
"versionType": "git"
},
{
"status": "affected",
"version": "d32c07ef1880fe20cf4ab223dbfedc9c0b2816aa",
"lessThan": "21512b5f7a74fd18c996c22e6854efe57d570816",
"versionType": "git"
},
{
"status": "affected",
"version": "a1b7a843f12a0c3e9d3a2ca607ce451916ef42cf",
"lessThan": "133684982dd0c24359fcc641d19d89cc17d6e5ef",
"versionType": "git"
},
{
"status": "affected",
"version": "6dccbc9f3e1d38565dff7730d2b7d1e8b16c9b09",
"lessThan": "0a77d9fb4d5c0e01306cd406ffdee8f1fe955c0e",
"versionType": "git"
},
{
"status": "affected",
"version": "6dccbc9f3e1d38565dff7730d2b7d1e8b16c9b09",
"lessThan": "2b0eab425e1f658d8fe1df7590e3b9af5959505e",
"versionType": "git"
},
{
"status": "affected",
"version": "28d3551f8d8cb3aec7497894d94150fe84d20e5e",
"versionType": "git"
},
{
"status": "affected",
"version": "72b7ea786b8e570ae11149e9089859a4a8634a13",
"versionType": "git"
},
{
"status": "affected",
"version": "6.6.130",
"lessThan": "6.6.160",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.12.78",
"lessThan": "6.12.101",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.18.20",
"lessThan": "6.18.42",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.1.167",
"lessThan": "6.2",
"versionType": "semver"
},
{
"status": "affected",
"version": "6.19.10",
"lessThan": "6.20",
"versionType": "semver"
}
],
"programFiles": [
"include/net/cfg80211.h",
"net/wireless/core.c",
"net/wireless/core.h",
"net/wireless/pmsr.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "7.0"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "7.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.101",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.42",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.1.6",
"versionType": "semver",
"lessThanOrEqual": "7.1.*"
},
{
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"include/net/cfg80211.h",
"net/wireless/core.c",
"net/wireless/core.h",
"net/wireless/pmsr.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-68408
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46473 · Revision 1
- Added to Heist Feed
- Publisher date