CVE-2026-80944

wifi: mwifiex: Detach sync cmd buffer on interrupted wait

State
Published
Severity
7.8 High
Published
Sep 11, 2026
Updated
Oct 19, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

Description

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

wifi: mwifiex: Detach sync cmd buffer on interrupted wait

mwifiex synchronous commands keep the caller-provided data buffer in cmd_node->data_buf. Several callers pass stack-allocated objects there.

If wait_event_interruptible_timeout() is interrupted, the caller can return and release that stack object while the firmware command is still the current command. A late firmware response then reaches the normal response handler, which can copy data through cmd_node->data_buf into the stale stack address.

This fixes a stack corruption observed during repeated association and disassociation cycles. The panic trace showed the command wait being interrupted immediately before a bad pointer dereference:

cmd_wait_q terminated: -512 Unable to handle kernel paging request at virtual address 002c583837384662 Kernel panic - not syncing: stack-protector: Kernel stack is corrupted ... Tainted: [M]=MACHINE_CHECK

The fault address decodes as little-endian ASCII:

0x002c583837384662 -> "bF878X,\0"

which is a fragment of the VERSION_EXT firmware string exposed as debugfs "verext":

w8997o-V4, RF878X, FP92, 16.92.21.p153.7

The same runs also showed corrupted control data containing:

0x2400372e333531 -> "153.7\0$"

which is the tail of the same VERSION_EXT string. This points at a late VERSION_EXT response writing through a stale stack-backed data_buf after the interrupted wait returned.

After cancelling pending commands on an interrupted or timed-out wait, detach the caller-owned data buffer from the still-current command. This preserves the existing command cancellation behaviour while preventing a late response from writing through a pointer whose lifetime ended with the waiting caller.

Tested on an i.MX8MP board using an 88W8997.

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

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3d026d09b28dda24777129a931634949c75a9181 to before 8c67b8c50286e0cb7f18d667e6a37a2ec6e08ff9Affected
  • 3d026d09b28dda24777129a931634949c75a9181 to before 9024c7729eb523cf4f3a4203966d3a4aaabf030dAffected
  • 3d026d09b28dda24777129a931634949c75a9181 to before 9e06c9c8a1f10c55d9bc5d139656d58795e64483Affected
  • 3d026d09b28dda24777129a931634949c75a9181 to before f2134d6ff30cd6e1bf63d6b0a5d8e0839f0168b3Affected
  • 3d026d09b28dda24777129a931634949c75a9181 to before 20ee9c03f261bf6ac59331e2ca7b46b23646412aAffected
  • 3d026d09b28dda24777129a931634949c75a9181 to before b1bbeb8970eeb6c6bf3cd5314138103f7b69446dAffected
  • 3d026d09b28dda24777129a931634949c75a9181 to before d29a165588b6a0cf7a38db5cbd602aef7ef8c658Affected
  • 3d026d09b28dda24777129a931634949c75a9181 to before ef06882c7d8a7400b67d0d003b1008093dd589edAffected
LinuxLinux
  • 3.15Affected
  • before 3.15Not affected
  • 5.10.270 through 5.10.*Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.109 through 6.12.*Not affected
  • 6.18.50 through 6.18.*Not affected
  • 7.2.4 through 7.2.*Not affected
  • 7.3 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.