HIGH Introduced in 5.11
pppoatm BridgeChan Corruption
CVE-2026-98287
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
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().
02KernelScan AI Analysis
Risk summary
A local attacker with CAP_NET_ADMIN — obtainable inside a user namespace on most distributions — can corrupt kernel memory by sending packets through a bridged PPP-over-ATM channel. The corruption arises because the bridging path bypasses normal socket buffer preparation, allowing writes to shared or non-writable buffer headers. This can lead to kernel code execution or a system crash.
Vulnerability analysis
When a PPP-over-ATM channel is bridged to another PPP channel, packets can reach the ATM transmit path without first having their socket buffer header prepared for writing. The LLC encapsulation code then pushes a header onto the buffer and writes into it, but because the header was never made writable, this can corrupt memory shared with other users of the buffer. Separately, the code inspects the first byte of the packet without confirming that any linear data is present, causing an out-of-bounds read on zero-length or fragmented frames arriving through the bridge. The fix ensures the buffer header is writable and has sufficient headroom before any header manipulation, validates that at least one byte of linear data exists before inspection, and restructures the protocol-compression logic so that a fragile undo path that could access uninitialized memory is eliminated. This is reachable by a local process holding CAP_NET_ADMIN, which on configurations allowing user namespaces can be acquired without real root, provided PPP channel bridging and ATM support are available.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.15 | 5.11 | 5.15.222 | 208ccc4d08b1 |
| 6.1 | 5.11 | 6.1.189 | e6cd1bba7d11 |
| 6.12 | 5.11 | 6.12.112 | 8e66c5969acd |
| 6.18 | 5.11 | 6.18.54 | e2f5529b0016 |
| 6.6 | 5.11 | 6.6.158 | ffc448eb54f5 |
| 7.2 | 5.11 | 7.2.8 | 30992fe39e65 |
| mainline | 5.11 | 7.3 | ecc7253683a3 |
| cip/6.1 | 5.11 | 6.1.189-cip61 | e6cd1bba7d11 |
| cip/6.1-rt | 5.11 | 6.1.189-cip61-rt32 | e6cd1bba7d11 |
| cip/6.12 | 5.11 | 6.12.112-cip33 | 8e66c5969acd |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.112-cip33 |
| cip/6.1 | Fixed in 6.1.189-cip61 |
| cip/6.1-rt | Fixed in 6.1.189-cip61-rt32 |