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 64F7F3DC4AF for ; Tue, 6 Oct 2026 10:23:41 +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=1791282222; cv=none; b=MN7VFFQqmsjdXA5k8nmL8p8GWbwebMMzuJNQwRYTy4eHQSx6BnX/Iv7ZGdbg53eonVa7Rl4lsMajP9+Cw674wpIBNpX0f7t7Eyex3lWI7TEYQ9i+pYtXlaiovBr56UZyPmqhwZCtEItJPjPAVpynFwSm2wfRhVr9jLxVhe9wNqQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282222; c=relaxed/simple; bh=PaaKuRMdMJ+cAbD/kZzwkxrmoec86fCYYbFlRuRudPs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=eGnPMA0ANgkxMhaC1cLa7ZNT/n7UqgNsdm3lojjAdX6qjO5A2ukG3xAv+CIv24XVoJhpl73Yb2nKVAT52QZz6RvqvRR9PRP4WbOgGBWB8qvZ+8glyuKFlPW9VhHAaWMQc4S5iK8l9yCZZcEdqtsG/jCYDyqtq/wmO/HhpKnwy78= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YQH/9u4M; 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="YQH/9u4M" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C48691F000FF; Tue, 6 Oct 2026 10:23:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282221; bh=cwtltoB/ZSC6OGx0pi+BAnS4VHRfLHX9hPLBoHF2gBE=; h=From:To:Cc:Subject:Date:Reply-To; b=YQH/9u4MKrtpgFg2T8ZKyblU1FpLzIQoFGxisvn7OtsO2M/tzh6MQ3p1Y2VjWddxQ QpjeG2SCAeFCZsm9nRCyAmHLXoiZqaMXWw5zx2dTtddJxEDTki50ceY9vdqFv6AAMB XyjJnB/SZ3V3naxk1nhrHB5XGoitbuOY44nCHCYU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98239: net: lan743x: fix RX checksum use-after-free Date: Tue, 6 Oct 2026 10:45:40 +0200 Message-ID: <2026100649-CVE-2026-98239-add9@gregkh> X-Mailer: git-send-email 2.56.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=3571; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=dvGzKcVW3h3XjFNTztnXlzB6UB40ApGqcohUemr4CCs=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtjKemXlFWVLo/13v6A1nd9zdUnvHunJBXpenw07Hj GPbn2tf64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJcGYyzDNhz+U4GrXJVGqi qEPeT44NKnJFnAzza3YqreZPrrST8Fwvpdh1Y5nnJb59AA== 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: lan743x: fix RX checksum use-after-free lan743x_rx_process_buffer() adds each non-first receive buffer to the head skb's frag_list. On the last descriptor, lan743x_rx_trim_skb() linearizes the head and frees the fragment skb metadata. The checksum-success path then writes ip_summed through the local skb pointer, which still points to the final fragment. This causes a use-after-free write when a packet spans more than one receive buffer. Set ip_summed on the surviving head skb instead. Multi-buffer receive can occur after a live MTU increase because existing ring entries keep their old buffer size until they are replenished. A KUnit test invoking lan743x_rx_process_buffer() with a two-buffer packet produced a one-byte KASAN use-after-free write before this change. The same test passed after the change. The driver object also builds with W=1. This was not tested on physical LAN743x hardware. The Linux kernel CVE team has assigned CVE-2026-98239 to this issue. Affected and fixed versions =========================== Issue introduced in 6.1 with commit cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a and fixed in 6.1.189 with commit 0e52886c4324c9897c2c62f92be3dc8316cee67e Issue introduced in 6.1 with commit cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a and fixed in 6.6.158 with commit a58024835c704419bb46d2a34e5223f65605f958 Issue introduced in 6.1 with commit cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a and fixed in 6.12.112 with commit 6fe5c3a2503983abb431d93faeadfc7f5e6a7e33 Issue introduced in 6.1 with commit cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a and fixed in 6.18.54 with commit 5c216bfa9fb7b36804485e67975e9c98055b31ef Issue introduced in 6.1 with commit cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a and fixed in 7.2.8 with commit 161a403c8625e152de03d1da22bbf9cda6dc9f9f Issue introduced in 6.1 with commit cd6910501cfd9a3bdff2f5fc33c9f3cf165ca54a and fixed in 7.3-rc4 with commit a9ce4053dc945c5372dedba5017ee675b30dc0c5 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-98239 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/ethernet/microchip/lan743x_main.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/0e52886c4324c9897c2c62f92be3dc8316cee67e https://git.kernel.org/stable/c/a58024835c704419bb46d2a34e5223f65605f958 https://git.kernel.org/stable/c/6fe5c3a2503983abb431d93faeadfc7f5e6a7e33 https://git.kernel.org/stable/c/5c216bfa9fb7b36804485e67975e9c98055b31ef https://git.kernel.org/stable/c/161a403c8625e152de03d1da22bbf9cda6dc9f9f https://git.kernel.org/stable/c/a9ce4053dc945c5372dedba5017ee675b30dc0c5