CVE-2026-97964: ppp_synctty: ensure a writeable skb header
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ppp_synctty: ensure a writeable skb header
ppp_sync_txmunge() checks headroom before prepending the address and control bytes, but does not ensure that the skb header is writable. A received skb can reach this function through PPP channel bridging without passing through ppp_start_xmit(), which calls skb_cow_head().
For example, a PPPoE frame may share its buffer with a clone queued to an AF_PACKET socket. If it is bridged to a synchronous tty channel, the address/control bytes can overwrite data still visible to that socket.
Use skb_cow_head() to ensure both sufficient headroom and a writable header.
The Linux kernel CVE team has assigned CVE-2026-97964 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 6.12.111 with commit 3af7797fbabc84992e0ca5ad2bc0ca8537d053ef Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 6.18.53 with commit 0996c3e6bcc6ae08cb371ed43648c9f7f748ae6e Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 7.2.7 with commit 15d0a6c9a42df2d745c37510dba828f6dbe60d9f Issue introduced in 5.11 with commit 4cf476ced45d7f12df30a68e833b263e7a2202d1 and fixed in 7.3-rc3 with commit 8aaeb56aff2a557a88f83ae866da2c91ad247e59
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-97964
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/ppp/ppp_synctty.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/3af7797fbabc84992e0ca5ad2bc0ca8537d053ef https://git.kernel.org/stable/c/0996c3e6bcc6ae08cb371ed43648c9f7f748ae6e https://git.kernel.org/stable/c/15d0a6c9a42df2d745c37510dba828f6dbe60d9f https://git.kernel.org/stable/c/8aaeb56aff2a557a88f83ae866da2c91ad247e59