Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AC89757ED84 for ; Fri, 11 Sep 2026 19:48:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156134; cv=none; b=GoZoRk28WuHSAw6FYym0jRFStvvuqyKHFeV2f0xyZbwBU4WrL77dEzNGzuNu4F+/6ywTW0leufl7Jdj8vlqett18htuMqZAsyeDNzgFi2IvNcB/rhqfxrnz4MRxUNX/LTgXbV8dx2D8F97G3MGmNocHZsz8yy/UXXSt57s5wh+w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789156134; c=relaxed/simple; bh=XqGOZvWtUoXZToD+DY1H6OgUOZgb4qbwczq9pjz2foY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MEy0Jn+JX2FSOFKGk56692AM3S6kgBty4riVGJEGcyBQuS3dhkPOVjMDvsDtWqnApmlWPCT1I6/yeIC7D5LjyMzZUYmcYH+mh42ZtV7eQEdkSnbI6HUEBvq1CIw6psEJtwDl1gn9u78ENAxeny0siZCyL+XZtYQfhgMa+FXW/vM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oXg/uk3Q; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="oXg/uk3Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C710B1F0089E; Fri, 11 Sep 2026 19:48:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789156127; bh=14EnabjTq3IoiOuiOlcNKCh5bg+IT19YKMfIrWbwzsQ=; h=From:To:Cc:Subject:Date:Reply-To; b=oXg/uk3QfcV8skKx6UDopA12+hmOULnZXMaNbuznxUyfW0+IPX1mT8TH2oZqaIOnM Rs3DpdelK7srqo1bpZ6jIs5PTminow0Q4crW4LBFKFIj6/S3LOb2vZj9/UIzILOcQl K4pAOhPG9ub84PoJK4XdjzDoiHcQ6rQzUSyuYjXg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80997: net: ipa: fix stalled modem TX queue after runtime resume Date: Fri, 11 Sep 2026 21:41:43 +0200 Message-ID: <2026091150-CVE-2026-80997-9b4d@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4209; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=T4ODShuM/BNAqB2Fs7pTipshVtG7a2yOqzw5CL/+eGE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlLIp1m8H3cfNDIv8KGNzznQ7n9/auvs69MuMaatP86Y 5B4Q2NgRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykcw/DgtaoC9N+XWP3VTXt V5VRcLHv2OrkzDBP62STek3wVFf3pLLjei+UgtRZr9UDAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: net: ipa: fix stalled modem TX queue after runtime resume ipa_start_xmit() unconditionally stops the TX queue before calling pm_runtime_get(), relying on the wake scheduled by runtime resume (ipa_modem_wake_queue_work()) to restart it once power is ACTIVE. But that work is queued from within the runtime resume callback, before the device's power state reaches RPM_ACTIVE, so it can run while the device is still RPM_RESUMING. The wake is then consumed too early: the transmit it restarts stops the queue again, pm_runtime_get() returns -EINPROGRESS without arranging any future wake (deferred_resume exists only for RPM_SUSPENDING), and after the resume completes nothing is left to wake the queue. Transmit stalls permanently: packets pile up in the qdisc behind the stopped queue, the device runtime-suspends, and since the netdev registers no ndo_tx_timeout the watchdog never fires. Observed on SM7635 (Fairphone 6) as the cellular data path going permanently deaf within hours, RX included, since nothing resumes the suspended endpoints. Close the window by making the wake work wait for the resume to complete (pm_runtime_get_sync()) before waking the queue. Every queue stop is then guaranteed a later wake that happens while power is ACTIVE; a transmit racing a new suspend/resume cycle re-schedules the work. If the device could not be resumed, wake the queue anyway so pending packets are dropped by the transmit path rather than stranded. The STARTED power flag used to narrow this window: a wake running before the transmit path's stop suppressed that stop, but only once, as the flag was cleared by the first stop it absorbed. Removing the flag made a single transmit during an in-flight resume sufficient to strand the queue, which is the form observed. With an accelerated reproducer (autosuspend delay shortened to 5 ms, ~20 packets/s of TX), an unpatched kernel stalled three times in 230 s / 4380 packets; with this patch the same test ran 3601 s / 70298 packets without a stall. The Linux kernel CVE team has assigned CVE-2026-80997 to this issue. Affected and fixed versions =========================== Issue introduced in 6.9 with commit 688de12f080f10dff8f3ddc80103e432ad8deb0b and fixed in 6.12.109 with commit 30d5226bac52073c91ce85c2dcff93b866baefdb Issue introduced in 6.9 with commit 688de12f080f10dff8f3ddc80103e432ad8deb0b and fixed in 6.18.50 with commit 62da38b4b3a0dd74a3e0eecf4992d40385924205 Issue introduced in 6.9 with commit 688de12f080f10dff8f3ddc80103e432ad8deb0b and fixed in 7.2.4 with commit 30cef9c1229a36a9c80edb29296459849a2fbaa3 Issue introduced in 6.9 with commit 688de12f080f10dff8f3ddc80103e432ad8deb0b and fixed in 7.3-rc1 with commit 3cbfd627ee720f3d2460d2cbe2fe9e4130240db6 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-80997 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/net/ipa/ipa_modem.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/30d5226bac52073c91ce85c2dcff93b866baefdb https://git.kernel.org/stable/c/62da38b4b3a0dd74a3e0eecf4992d40385924205 https://git.kernel.org/stable/c/30cef9c1229a36a9c80edb29296459849a2fbaa3 https://git.kernel.org/stable/c/3cbfd627ee720f3d2460d2cbe2fe9e4130240db6