From mboxrd@z Thu Jan 1 00:00:00 1970 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 0E3E03914F5 for ; Thu, 17 Sep 2026 16:15:27 +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=1789661729; cv=none; b=iHsSqbVdn8cTVvddhZZ1QsHdtKmLgaMVUhJo3oJx5QcCJ9XGk1gWyqCUGovXjUX9S85QG5en3Wy6SZTjXm8v33IcHB9LGrZcrqrzajbheVO06fRahYxF3Mybost9GBlaeZWdh5VS0I5C72OBshDx62PugCXyP4SgtyodcqlBk+w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789661729; c=relaxed/simple; bh=ep3heARas4xnAMhbEuHqAPqszT9Yq/6E72Uu/h3fZ6g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=U2wohn/OaIhzkhjqEAmUhduEhh2XLdmAbESwNV9eZMq1Z9cp499gSY6TEEPAqW9qewclt9n1yymWJda+W91lKTHtzmx4Dy3AUjSedohCAqJDdEFa0rQtVcgl+EdmQEfMegQm9UVlmUc7cpdEIACPIyFKl54Te9GKQxb6SAcXH2c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Kz3gwyDu; 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="Kz3gwyDu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B7C81F000FF; Thu, 17 Sep 2026 16:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789661727; bh=1SwmrhEmXm2lI9f9l6ta/9M52p0QxmOTbj/RGEGuEWA=; h=From:To:Cc:Subject:Date:Reply-To; b=Kz3gwyDupNE5PsMBZ1nF2Kn1n1tiuBiwfLf/YqwG6cEdvUGk7Jl3lpjcctf79GzQl tsDtKsVTmWqbV9Ph+z8QOqf71qYbbfaNNjidVmxSRsXs1cPp34m1dgvIdS7A5e/uTB 7dzQkLOrskkAGQ2YhHOR9Kv5p6PS4pyniybrjX5c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-90115: xsk: fix NULL pointer dereference in __xsk_rcv() Date: Thu, 17 Sep 2026 17:09:05 +0100 Message-ID: <2026091716-CVE-2026-90115-bb2c@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=3425; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9yptHoLHLDzRHfQBl1/DLLVt/g5rRTvvQ3IwJm4fFw0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBArWPF9R0xX/09070WCqy7OVs+/qXHNwtJZ9Gf04S in3RBJbRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkQx7Dgi0JVjUudXvz/mZ4 LLtaJVh0orjtOMP8ADkb0aVzL925c4JpykyfmFka0zVOAgA= 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: xsk: fix NULL pointer dereference in __xsk_rcv() In the __xsk_rcv() multi-buffer path, xsk_buff_alloc() is called in a loop without checking its return value. xsk_buff_can_alloc() only counts fill queue entries without validating their addresses, so it can succeed while xsk_buff_alloc() rejects all remaining entries and returns NULL. Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000 KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] RIP: 0010:__xsk_rcv+0x426/0xc20 (net/xdp/xsk.c:350) Call Trace: xsk_generic_rcv+0x26d/0x5f0 xdp_do_generic_redirect+0x3c5/0xcf0 do_xdp_generic+0x92f/0xe70 __netif_receive_skb_core.constprop.0+0xf7e/0x2b30 Fix this with a two-stage transaction. First allocate and stage all buffers required for the packet, recycling all staged buffers with xsk_buff_free() if any allocation fails. Only after this stage succeeds, copy the data, reserve the RX descriptors, and release the buffers in an error-free loop. The Linux kernel CVE team has assigned CVE-2026-90115 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 804627751b4281dd95148e7564759145da67855e and fixed in 6.6.157 with commit aaebce297efc3e3dccb98a6ff838cfaa47db08db Issue introduced in 6.6 with commit 804627751b4281dd95148e7564759145da67855e and fixed in 6.12.110 with commit 60d7d3559ce66e227e195e9463cdfed8077c8659 Issue introduced in 6.6 with commit 804627751b4281dd95148e7564759145da67855e and fixed in 6.18.52 with commit 214fb79b0379cb0214905632a2537c0c33f594eb Issue introduced in 6.6 with commit 804627751b4281dd95148e7564759145da67855e and fixed in 7.2.6 with commit 8341bd3ff126d85bc8c4ed52eedcaa5b1a65f194 Issue introduced in 6.6 with commit 804627751b4281dd95148e7564759145da67855e and fixed in 7.3-rc1 with commit e37b2abca80473e106176e41712a369fd2f72117 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-90115 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/xdp/xsk.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/aaebce297efc3e3dccb98a6ff838cfaa47db08db https://git.kernel.org/stable/c/60d7d3559ce66e227e195e9463cdfed8077c8659 https://git.kernel.org/stable/c/214fb79b0379cb0214905632a2537c0c33f594eb https://git.kernel.org/stable/c/8341bd3ff126d85bc8c4ed52eedcaa5b1a65f194 https://git.kernel.org/stable/c/e37b2abca80473e106176e41712a369fd2f72117