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 2484F3C09E2 for ; Tue, 6 Oct 2026 10:27:34 +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=1791282455; cv=none; b=GIZLrFq/L+XYo4mHbVicxnYs/8KVMuh4qh/zDjms8H/jAuQvoqtuxVtEBQjFv3JL86yKNFjq6pXyDHZf8GEo4ln+uo1McIUIoeeyJvwzWj0dzzLbWtJu9iU5TjxORcCjxe7WIwDs17uq093Fmbw1OxostDd7zrG/HJbT/ZyaYRA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791282455; c=relaxed/simple; bh=rZ9D6o+FkvNawNAIGznKG3v4cY2tdj5QfqjRu1RfiWg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Mrj7CVadRkr8DZq7gTH8rUVdMVsH8HijscWHsdK6R12dQM1nLHF2X7Ylj7oq6yjaZnH0YXK91GTjUHIeM0HOOVF2bzPPW5/PQk0SX3OgZDJ96bvL1uc8RjWL+dWRdDoJm+O75a6+Zo0OSfMeU8cHU8pF3blAke30dQFAMQt4WXY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PR/SjZOY; 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="PR/SjZOY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6DC311F000FF; Tue, 6 Oct 2026 10:27:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1791282454; bh=NFBf4uGOJ5NhxgVrDHgMLEB2bc1WjixEskuk5MKjnlo=; h=From:To:Cc:Subject:Date:Reply-To; b=PR/SjZOYW5K52WR83Tsx4Y09pBPOAwugg606Ii5NGXMZde0P7JZ9P39RbZLqz/VT1 rQLnXyYNsJllPlS+i440TVTgK1qVqh7I0ODwMnEuZ9UPCqqEpX7K7XveMDhiOtWa7g zNk0gDYFYUOXZPWAmOMAN09SxJLrKw3WDuUpFem8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98287: pppoatm: ensure a writable skb header and linear data Date: Tue, 6 Oct 2026 10:46:28 +0200 Message-ID: <2026100606-CVE-2026-98287-3819@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=3917; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AyhVdyPL+a1j/neG2GcO7uj4cuQVFNDUK2+4jFR+vxY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlHtgolKOgd7jZQfHtqWs5eqafMildfMMRsjMr6f1VY+ 1+vEdvVjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjI11qGeWZPXS0mWfn97vp+ 1HR7Ut8/NlVNS4b5mZ277/N/zKm9XfN28teQu5xzeR75AQA= 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: pppoatm: ensure a writable skb header and linear data In pppoatm_send(), LLC encapsulation checks whether there is sufficient headroom for the 4-byte LLC header, but does not ensure that the skb header is writable. Normal transmit packets passing through ppp_start_xmit() have their header unshared via skb_cow_head(). However, packets can also reach pppoatm_send() via PPP channel bridging (PPPIOCBRIDGECHAN) without going through ppp_start_xmit(). Use skb_cow_head() to ensure both sufficient headroom and a writable header before pushing the LLC header. While at it: - Call pskb_may_pull(skb, 1) before inspecting skb->data[0] to prevent out-of-bounds reads on zero-length or non-linear frames (e.g. from bridging). - Defer SC_COMP_PROT protocol compression until after pppoatm_may_send() succeeds. This eliminates the temporary skb allocation on admission failure and completely removes the fragile "undo" heuristic at the nospace label, avoiding any risk of reading uninitialized headroom or performing an unbalanced skb_push(). The Linux kernel CVE team has assigned CVE-2026-98287 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 5.15.222 with commit 208ccc4d08b1897451e9ba01c016bf93ff107966 Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 6.1.189 with commit e6cd1bba7d113c15c00ac63671213a096fe4d686 Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 6.6.158 with commit ffc448eb54f5ba80d4212c1e870cdb92b0f709fa Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 6.12.112 with commit 8e66c5969acd859ba72fb0a7fa895623fc1b3769 Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 6.18.54 with commit e2f5529b0016db7d34f411408607f5cf395a542e Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 7.2.8 with commit 30992fe39e65589ed8e000425e088fa74994b811 Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 7.3-rc4 with commit ecc7253683a3c55caa868ce0ee530fcb0044bd3c 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-98287 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/atm/pppoatm.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/208ccc4d08b1897451e9ba01c016bf93ff107966 https://git.kernel.org/stable/c/e6cd1bba7d113c15c00ac63671213a096fe4d686 https://git.kernel.org/stable/c/ffc448eb54f5ba80d4212c1e870cdb92b0f709fa https://git.kernel.org/stable/c/8e66c5969acd859ba72fb0a7fa895623fc1b3769 https://git.kernel.org/stable/c/e2f5529b0016db7d34f411408607f5cf395a542e https://git.kernel.org/stable/c/30992fe39e65589ed8e000425e088fa74994b811 https://git.kernel.org/stable/c/ecc7253683a3c55caa868ce0ee530fcb0044bd3c