Skip to main content
Vulnerability Database/CVE-2026-97964

CVE-2026-97964: Linux Kernel PPP Privilege Escalation

CVE-2026-97964 is a privilege escalation vulnerability in the Linux kernel PPP subsystem where ppp_sync_txmunge fails to ensure writable skb headers. This post covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-97964 Overview

CVE-2026-97964 is a Linux kernel vulnerability in the ppp_synctty driver. The function ppp_sync_txmunge() checks headroom before prepending the Point-to-Point Protocol (PPP) address and control bytes but fails to ensure the socket buffer (skb) header is writable. A received skb can reach this code path through PPP channel bridging without first passing through ppp_start_xmit(), which normally invokes skb_cow_head(). The fix replaces the headroom-only check with skb_cow_head() to guarantee both sufficient headroom and a writable header.

Critical Impact

A PPPoE frame sharing its buffer with a clone queued to an AF_PACKET socket can have its address/control bytes overwritten in memory still visible to the socket, leading to data corruption and potential information disclosure between contexts.

Affected Products

  • Linux kernel versions containing the ppp_synctty driver prior to the fix commits
  • Systems using PPP synchronous tty channels with PPP channel bridging enabled
  • Deployments carrying PPPoE traffic through bridged PPP channels

Discovery Timeline

  • 2026-09-25 - CVE-2026-97964 published to the National Vulnerability Database (NVD)
  • 2026-09-25 - Last updated in NVD database

Technical Details for CVE-2026-97964

Vulnerability Analysis

The vulnerability resides in ppp_sync_txmunge() within the kernel's ppp_synctty driver. Before prepending the PPP address and control bytes to a frame, the function only verified that the skb had sufficient headroom. It did not verify that the skb header was writable. In the Linux networking stack, headroom availability does not imply exclusive ownership of the underlying data buffer.

When a frame enters the synchronous tty transmit path through PPP channel bridging, it bypasses ppp_start_xmit(). The normal transmit path calls skb_cow_head(), which both guarantees headroom and clones the data buffer if other skbs share it. Skipping that call means a shared buffer can be written in place.

A concrete trigger involves a PPPoE frame whose skb has been cloned and queued to an AF_PACKET socket for packet capture or monitoring. If the original skb is bridged to a synchronous tty channel, ppp_sync_txmunge() writes the PPP address and control bytes into memory still mapped by the AF_PACKET clone, corrupting data visible to that socket.

Root Cause

The root cause is a missing copy-on-write enforcement for the skb header in a secondary transmit path. The author assumed headroom checks were sufficient but did not account for shared buffers introduced by skb cloning in cooperating subsystems such as AF_PACKET.

Attack Vector

Exploitation requires a local attacker with the ability to open an AF_PACKET socket and to route or bridge PPP traffic through a synchronous tty channel. The attacker observes or influences data in a shared skb buffer that is subsequently mutated by the kernel transmit path, producing a cross-context memory write condition.

No verified public proof-of-concept exploit is available. The vulnerability mechanism is described in the upstream commit messages linked below.

Detection Methods for CVE-2026-97964

Indicators of Compromise

  • Unexpected PPP address/control byte patterns (0xFF 0x03) appearing in packet captures taken from AF_PACKET sockets on hosts that bridge PPP channels
  • Kernel log entries indicating malformed PPPoE frames observed by downstream consumers of cloned skbs
  • Processes with CAP_NET_RAW opening AF_PACKET sockets alongside active PPP synchronous tty channels

Detection Strategies

  • Inventory running kernels and compare build versions against the patched stable branches referenced in the upstream commits
  • Audit kernel configurations for CONFIG_PPP, CONFIG_PPP_SYNC_TTY, and PPP channel bridging usage to identify exposed hosts
  • Monitor for unprivileged workloads unexpectedly interacting with PPP interfaces or raw packet sockets

Monitoring Recommendations

  • Collect kernel version telemetry across the fleet and alert on hosts not aligned with vendor-supplied patched builds
  • Track creation of AF_PACKET sockets by non-standard processes using eBPF or auditd rules
  • Baseline PPP channel activity on servers and alert on new bridging configurations

How to Mitigate CVE-2026-97964

Immediate Actions Required

  • Apply the stable kernel update containing the fix from your Linux distribution vendor as soon as it is published
  • On hosts that do not require PPP synchronous tty support, unload the ppp_synctty module and blacklist it
  • Restrict CAP_NET_RAW and CAP_NET_ADMIN capabilities to trusted service accounts only

Patch Information

The fix replaces the headroom check in ppp_sync_txmunge() with a call to skb_cow_head(), ensuring both sufficient headroom and a writable header. The upstream commits are available in the Linux kernel stable tree: Kernel Git Commit 0996c3e, Kernel Git Commit 15d0a6c9, Kernel Git Commit 3af7797f, and Kernel Git Commit 8aaeb56a.

Workarounds

  • Disable PPP channel bridging on affected hosts if the functionality is not required for production workloads
  • Prevent loading of the ppp_synctty module via /etc/modprobe.d/ blacklist entries on systems that do not need synchronous PPP
  • Limit which users and containers can open AF_PACKET sockets by dropping CAP_NET_RAW through seccomp or systemd service hardening
bash
# Blacklist ppp_synctty on systems that do not need it
echo "blacklist ppp_synctty" | sudo tee /etc/modprobe.d/disable-ppp-synctty.conf
sudo rmmod ppp_synctty 2>/dev/null || true

# Verify current running kernel version against distro advisories
uname -r

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.