CVE-2026-31548

wifi: cfg80211: cancel pmsr_free_wk in cfg80211_pmsr_wdev_down

State
Published
Severity
7.8 High
Published
Apr 24, 2026
Updated
Oct 19, 2026
Reserved
Mar 9, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: cfg80211: cancel pmsr_free_wk in cfg80211_pmsr_wdev_down

When the nl80211 socket that originated a PMSR request is closed, cfg80211_release_pmsr() sets the request's nl_portid to zero and schedules pmsr_free_wk to process the abort asynchronously. If the interface is concurrently torn down before that work runs, cfg80211_pmsr_wdev_down() calls cfg80211_pmsr_process_abort() directly. However, the already- scheduled pmsr_free_wk work item remains pending and may run after the interface has been removed from the driver. This could cause the driver's abort_pmsr callback to operate on a torn-down interface, leading to undefined behavior and potential crashes.

Cancel pmsr_free_wk synchronously in cfg80211_pmsr_wdev_down() before calling cfg80211_pmsr_process_abort(). This ensures any pending or in-progress work is drained before interface teardown proceeds, preventing the work from invoking the driver abort callback after the interface is gone.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
LinuxLinux
  • 9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to before 28d3551f8d8cb3aec7497894d94150fe84d20e5eAffected
  • 9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to before 37e776e2e0a523731e2470dce6d563f0e8632a40Affected
  • 9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to before d32c07ef1880fe20cf4ab223dbfedc9c0b2816aaAffected
  • 9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to before a1b7a843f12a0c3e9d3a2ca607ce451916ef42cfAffected
  • 9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to before 72b7ea786b8e570ae11149e9089859a4a8634a13Affected
  • 9bb7e0f24e7e7d00daa1219b14539e2e602649b2 to before 6dccbc9f3e1d38565dff7730d2b7d1e8b16c9b09Affected
LinuxLinux
  • 5.0Affected
  • before 5.0Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.78 through 6.12.*Not affected
  • 6.18.20 through 6.18.*Not affected
  • 6.19.10 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.