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=1793187416; b=wsGBsRVldJBjvJBV/A6kI+uNjB8CbZOrIFCtAzrYx2jMmBXdghggxzaJIfGLz+3aNnXP VHjoxDqsd8+wTb7WOgNhkD/RC44UWUHLobb2AGtqDufChYBk7yxr588PxF+Nac0jqJMvH Qlt+gcuCFApQLgVK+fPi7ZISMJ2Ah9+q59UTW1lmN8+SUWFjvLEUIzJ0t31F1agTuEbv2 baZ0daU+41rfnut3O4mBtZQM4yf0XVgN4PhYZr797pJ6bYPrR345D/E9ApujCFB56Mzze wp0uU8LsbPOPi8JUdwnvUccZ2HK3Ap/V+atZIMPK8BrCJ4VqayAjvYM/Vo6fx6l5zeg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793187416; 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=45euDaEViXrTtUGav/DB2wZwiu0Ns5pVNngV0H8Jm5M=; b=ZlSFznWK/WU3Wqyqtqyx9V8PGL6PaJm0LpB/vfdRd/sgEMl/ewM/FXuf/d0IsEbtdpFw 1uqtvQgmhNwc9of2BQTS6oqHwhw4+gqmQjEbDUtOt1wTNtegSx6kxwoZ5+WZTO3Se2qF+ PL8O8pksFf/SaavpNN2UpqnRDnLpfwPnCQ7HjtNTSdimssp0S522Mv9f7LcofFGTGsB+J obaI23LMPfsXic+K7QA4QcMRHzh1AZBYeVjAnI+sOAfEb6iDsLYmwJJjT1opWkR/aG+iN FNPcTPzwffRtZE143D9+IcwkBVa0GGbu77Y68Cb7vGewAoozcRGIn9NtxfltA2tAxOw== 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=e16hGYiZ; 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 33364606A31A for ; Wed, 28 Oct 2026 11:36:55 +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=e16hGYiZ Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1DEBA1F01825; Wed, 28 Oct 2026 11:36:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1793187415; bh=45euDaEViXrTtUGav/DB2wZwiu0Ns5pVNngV0H8Jm5M=; h=From:To:Cc:Subject:Date:Reply-To; b=e16hGYiZgFr24MaI/ud7kNuwfwt3AxgDxwGJ0ifM4ep7gvBG+EbKCb0eLinqIuPIL 1bMF4EJUWdF0e1mVdnBrFmevNEWAV6qTpdnJXVTLMSaaFCypmu6wkTh7L/FY+Pfotq 3TUl/Z9fboZPqXl3zb+xFevsrlgV6evvei43hqik= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99116: net: psp: do not inherit the Rx association on clone Date: Wed, 28 Oct 2026 11:35:03 +0100 Message-ID: <2026102855-CVE-2026-99116-fb7c@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=3129; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=IH0CPddu/dtbIsrsmRYmW05xB/sw2kkX8aetm5pzoXE=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkPz58vO7jG5sVbD80jn1t90pt68+NusWptTHzndL+32 2vClTOcHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR6sUMs9lvPhGudOkKs74X ZZGTW2X8/M1mCYb5mUsu9QZZv7ILvWfskKX9b8bkBRGZAA== 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: psp: do not inherit the Rx association on clone sk->psp_assoc sits past sk_dontcopy_end, so sock_copy() copies it into every socket accepted from a listener without taking a reference, while inet_sock_destruct() puts for every inet socket. psp_twsk_init() does refcount_inc() for the timewait socket, so a child closing through TIME_WAIT cancels its own put and leaves the association with one reference and N timewait sockets holding the same pointer. Closing the listener frees it, and the timewait timers then put freed memory. Rejecting the association on a listening socket is not sufficient: a socket can acquire one while established and then be turned back into a listener, because tcp_disconnect() leaves sk->psp_assoc in place. BUG: KASAN: slab-use-after-free in psp_twsk_assoc_free+0x6f/0xf0 Write of size 4 at addr ffff888110f9255c by task swapper/7/0 psp_twsk_assoc_free+0x6f/0xf0 inet_twsk_put+0xda/0x1b0 call_timer_fn+0x53/0x2e0 __run_timers+0x764/0xa80 Freed by task 99: kfree+0x1a7/0x500 process_one_work+0x7ec/0x1100 An association carries a per-connection SPI and key, so a child must not inherit the parent's. Clear it on clone. The Linux kernel CVE team has assigned CVE-2026-99116 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit 6b46ca260e2290e3453d1355ab5b6d283d73d780 and fixed in 6.18.59 with commit a9f14ea73e82db743f0acf4219f499d594589288 Issue introduced in 6.18 with commit 6b46ca260e2290e3453d1355ab5b6d283d73d780 and fixed in 7.2.13 with commit c962695467d3ab9738a6508279827ec33a7d2bdf Issue introduced in 6.18 with commit 6b46ca260e2290e3453d1355ab5b6d283d73d780 and fixed in 7.3 with commit 1d2929d0850fff683b8aff051275945e65f082c8 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-99116 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: net/core/sock.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/a9f14ea73e82db743f0acf4219f499d594589288 https://git.kernel.org/stable/c/c962695467d3ab9738a6508279827ec33a7d2bdf https://git.kernel.org/stable/c/1d2929d0850fff683b8aff051275945e65f082c8