Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792759488; b=k2DewuCWwLl+uHyyhaR85ZN95iVXLWkmZMCuo3rRKHJGWO854SDQ3Akpx8VcS/AebxnQ mddfA/FeY4m4A2OPVQgTXg1rAjcfH5tgoa1CwvhcycDOfLQMUZxgpouoJ/VSQXBk2vaqo eVbJifK8vsvbv3Yyg/Ly6fgj9h0u0bEzLJqJaZxXcN4zCxVas9KR+cLvzmmHi0ua30+n5 M36NGSHzPsv4gun3ziVe04QPScq49/VvUUOuSjnJrsl+X9JoHsbu+zbkdnTMWK5Ky1nte HK7GAo39oqkIUkLmMHcBafb3NUEwPbTrgaupHIxLAqyNEtVxTs6wfNj653P6wocs0vw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759488; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=eeRLb8La10KdFKoUgf/M/lR3tudRD0C9HXFqIIHmfeA=; b=yaEWuUbL06Q/VkTLB6ulXchMp1+edN82hkQ9yaIMw0vKpRubqntjAEz/zvk8wnbeb05P jVEpbnKxCBvzhtt0zhHhLRa0wBO/BQFyNkeP+lwAJyIyP1qr4KDAVwfEg8m/VFgCJ/dZ7 IHoV0I0fHskyDPbKl8yu1XxYijN/TKeNFZAxNuCmhi0khFqmvwvDBK4Et8wYingn4Gyj0 vnL4F3cQNsG+D6L/NnBHLhq4G6rHqpEVj+pJu9NwHEkHs/LvRPd1nevpoCAJBjV1m9m52 BosKnsBJO92la9y6ROVuSnxMQHrOTOZlow5+wxm93F5hfgZbkDyUlxTiWDLk/YAR7lA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=BKKoH+52; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3DE11606A31A for ; Fri, 23 Oct 2026 12:44:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=BKKoH+52 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EE361F01825; Fri, 23 Oct 2026 12:44:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759488; bh=eeRLb8La10KdFKoUgf/M/lR3tudRD0C9HXFqIIHmfeA=; h=From:To:Cc:Subject:Date:Reply-To; b=BKKoH+52piUsO9T5Wz76YjMIrPzY8shPPeUBi27J4t6Xo13UwiCjxX3EvIUOlZ5GU kxi3wjshMv5WyzGc24Pk3JVphe3tMiHz5AUO0OhoBLWm0GxBnnDZp3SfGPawuNbCth gy/WGRuDcQN0huZIEfoP3aovvcUVm8i/g0kNz94U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99056: strparser: make sure __strp_recv isn't running before tearing down the parser Date: Fri, 23 Oct 2026 14:20:58 +0200 Message-ID: <2026102330-CVE-2026-99056-7abf@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3525; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nQNDAhFAZnyTls0C0tmOfK/+yTWOjR7bnIdyEwFHgVY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3Ay4ptbEzFSpMFn6UL6rvwXP5At/Hp/O/7fGqT8wR0 u7OKnPpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlE3mdYMGXzl7b3k6+wnN7F XR39+k7o3Xm2uxnm2UpMZpRdbC2/PEC4wz530xmRPh0fAA== 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: strparser: make sure __strp_recv isn't running before tearing down the parser The comment above strp_done() claims that if strp is stopped, strp_recv will no longer be called. That's only true if the caller has a mechanism (eg locking) to guarantee that strp_recv() calls that started before strp_stop() have completed by the time we call strp_done(). This adds a dummy lock_sock/release_sock pair to guarantee that any in-flight strp_recv() (which runs under either bh_lock_sock or lock_sock, depending if it's called from ->sk_data_ready or strp_work) has completed. Only espintcp can be affected by this race condition, but this patch makes sure no future user of strp can have the bug. This could crash on strp->sk ("general mode" of strp), but this mode has been here for 9 years and has never been used. It'll be gone soon, no point worrying about it. Switch the stopped/paused/etc bits to u8's to avoid races between strp_stop() and strp_pause/unpause(). A reproducer has been published and turns the possible UAF into an exploit [1]. The Linux kernel CVE team has assigned CVE-2026-99056 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 6.6.160 with commit a18dd388045dc7263d99a07db9de4e0f149ca8f1 Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 6.12.113 with commit 9f3e9fe1b155e9b4572054d8d140586bc3512ecf Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 6.18.57 with commit d2b5f637b9b67a79a50d42614d10653c13b4e449 Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 7.2.11 with commit eaa3a29004c063d7e9d5ea55636f693f67e6db0f Issue introduced in 5.6 with commit e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 and fixed in 7.3 with commit 0984ebc631792acf8fff105112ee74a6b8f1efcc 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-99056 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: Documentation/networking/strparser.rst include/net/strparser.h net/strparser/strparser.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/a18dd388045dc7263d99a07db9de4e0f149ca8f1 https://git.kernel.org/stable/c/9f3e9fe1b155e9b4572054d8d140586bc3512ecf https://git.kernel.org/stable/c/d2b5f637b9b67a79a50d42614d10653c13b4e449 https://git.kernel.org/stable/c/eaa3a29004c063d7e9d5ea55636f693f67e6db0f https://git.kernel.org/stable/c/0984ebc631792acf8fff105112ee74a6b8f1efcc