{"id":"CVE-2026-80944","revision":"7ee7dbd08b0344ce9f564780d4c9a7b7","records":[{"revision":"7ee7dbd08b0344ce9f564780d4c9a7b7","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-80944","aliases":[],"title":"wifi: mwifiex: Detach sync cmd buffer on interrupted wait","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mwifiex: Detach sync cmd buffer on interrupted wait\n\nmwifiex synchronous commands keep the caller-provided data buffer in\ncmd_node->data_buf. Several callers pass stack-allocated objects there.\n\nIf wait_event_interruptible_timeout() is interrupted, the caller can\nreturn and release that stack object while the firmware command is still\nthe current command. A late firmware response then reaches the normal\nresponse handler, which can copy data through cmd_node->data_buf into the\nstale stack address.\n\nThis fixes a stack corruption observed during repeated association and\ndisassociation cycles. The panic trace showed the command wait being\ninterrupted immediately before a bad pointer dereference:\n\n  cmd_wait_q terminated: -512\n  Unable to handle kernel paging request at virtual address 002c583837384662\n  Kernel panic - not syncing: stack-protector: Kernel stack is corrupted\n  ...\n  Tainted: [M]=MACHINE_CHECK\n\nThe fault address decodes as little-endian ASCII:\n\n  0x002c583837384662 -> \"bF878X,\\0\"\n\nwhich is a fragment of the VERSION_EXT firmware string exposed as\ndebugfs \"verext\":\n\n  w8997o-V4, RF878X, FP92, 16.92.21.p153.7\n\nThe same runs also showed corrupted control data containing:\n\n  0x2400372e333531 -> \"153.7\\0$\"\n\nwhich is the tail of the same VERSION_EXT string. This points at a late\nVERSION_EXT response writing through a stale stack-backed data_buf after\nthe interrupted wait returned.\n\nAfter cancelling pending commands on an interrupted or timed-out wait,\ndetach the caller-owned data buffer from the still-current command. This\npreserves the existing command cancellation behaviour while preventing a\nlate response from writing through a pointer whose lifetime ended with the\nwaiting caller.\n\nTested on an i.MX8MP board using an 88W8997.","state":0,"publishedAt":"2026-09-11T19:42:16.076+00:00","modifiedAt":"2026-10-19T08:45:28.363+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/wireless/marvell/mwifiex/sta_ioctl.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"3d026d09b28dda24777129a931634949c75a9181\",\n                            \"lessThan\": \"8c67b8c50286e0cb7f18d667e6a37a2ec6e08ff9\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3d026d09b28dda24777129a931634949c75a9181\",\n                            \"lessThan\": \"9024c7729eb523cf4f3a4203966d3a4aaabf030d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3d026d09b28dda24777129a931634949c75a9181\",\n                            \"lessThan\": \"9e06c9c8a1f10c55d9bc5d139656d58795e64483\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3d026d09b28dda24777129a931634949c75a9181\",\n                            \"lessThan\": \"f2134d6ff30cd6e1bf63d6b0a5d8e0839f0168b3\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3d026d09b28dda24777129a931634949c75a9181\",\n                            \"lessThan\": \"20ee9c03f261bf6ac59331e2ca7b46b23646412a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3d026d09b28dda24777129a931634949c75a9181\",\n                            \"lessThan\": \"b1bbeb8970eeb6c6bf3cd5314138103f7b69446d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3d026d09b28dda24777129a931634949c75a9181\",\n                            \"lessThan\": \"d29a165588b6a0cf7a38db5cbd602aef7ef8c658\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"3d026d09b28dda24777129a931634949c75a9181\",\n                            \"lessThan\": \"ef06882c7d8a7400b67d0d003b1008093dd589ed\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"drivers/net/wireless/marvell/mwifiex/sta_ioctl.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"3.15\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"3.15\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.10.270\",\n                            \"lessThanOrEqual\": \"5.10.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"5.15.221\",\n                            \"lessThanOrEqual\": \"5.15.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.1.188\",\n                            \"lessThanOrEqual\": \"6.1.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.157\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.109\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.50\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.4\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/8c67b8c50286e0cb7f18d667e6a37a2ec6e08ff9","https://git.kernel.org/stable/c/9024c7729eb523cf4f3a4203966d3a4aaabf030d","https://git.kernel.org/stable/c/9e06c9c8a1f10c55d9bc5d139656d58795e64483","https://git.kernel.org/stable/c/f2134d6ff30cd6e1bf63d6b0a5d8e0839f0168b3","https://git.kernel.org/stable/c/20ee9c03f261bf6ac59331e2ca7b46b23646412a","https://git.kernel.org/stable/c/b1bbeb8970eeb6c6bf3cd5314138103f7b69446d","https://git.kernel.org/stable/c/d29a165588b6a0cf7a38db5cbd602aef7ef8c658","https://git.kernel.org/stable/c/ef06882c7d8a7400b67d0d003b1008093dd589ed"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-80944","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-80944","identifiers":["CVE-2026-80944"]},"retained":false,"historicalAffected":[]}],"coverage":[]}