CVE-2026-72005

wifi: rt2x00: avoid full teardown before work setup in probe

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 19, 2026
Reserved
Aug 9, 2026

Read the record on cve.org

Description

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

wifi: rt2x00: avoid full teardown before work setup in probe

rt2x00lib_probe_dev() uses the full rt2x00lib_remove_dev() teardown for all probe failures. However, drv_data allocation and workqueue allocation can fail before intf_work, autowakeup_work and sleep_work have been initialized.

Do not enter the full remove path until the probe has reached the point where those work items are set up. Return directly for drv_data allocation failure, and use a small early cleanup path for workqueue allocation failure.

This issue was found by our static analysis tool and then confirmed by manual review of rt2x00lib_probe_dev() and rt2x00lib_remove_dev(). The early probe exits should not call a common teardown path that assumes the later work setup has already completed.

A QEMU PoC forced alloc_ordered_workqueue() to fail before the work initializers are reached. The resulting fail path entered rt2x00lib_remove_dev(), and DEBUG_OBJECTS reported invalid work drains with rt2x00lib_probe_dev() and rt2x00lib_remove_dev() in the stack.

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-404 Improper Resource Shutdown or Release

Affected Products

ProductVersions
LinuxLinux
  • 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 to before 8b58d1f1356df6a7d2de3f55bb665b18b04ffda0Affected
  • 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 to before 59afe6148927395cf86f9429900e029a48b1d42bAffected
  • 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 to before 3c0427d719bddb33caf18ff4ffb77cb47de7eb00Affected
  • 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 to before eb7474d0253bb2de4793e1d3ce833e8564bbe732Affected
  • 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 to before 66bd9b1a72de7c2f5141b02d796048aafaed8a49Affected
  • 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 to before 816559409e340acaa5c9d868291dab30d8c80263Affected
  • 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 to before 56994852d704535ea354a4627ca667b1b4fa0debAffected
  • 0439f5367c8d8bb2ebaca8d7329f51f3148b2fb2 to before 536fb3d739d75a03cb318c0c6fe799425cfea501Affected
LinuxLinux
  • 2.6.39Affected
  • before 2.6.39Not affected
  • 5.10.261 through 5.10.*Not affected
  • 5.15.212 through 5.15.*Not affected
  • 6.1.178 through 6.1.*Not affected
  • 6.6.145 through 6.6.*Not affected
  • 6.12.97 through 6.12.*Not affected
  • 6.18.40 through 6.18.*Not affected
  • 7.1.5 through 7.1.*Not affected
  • 7.2 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.