# CVE-2026-98158: ppp\_async: drop the errored frame instead of resetting its headroom

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2026-09-25T10:36:27.608Z
- **Modified:** 2026-10-20T18:04:25.047Z

## Who should check

- Anyone running Linux \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 25f354c55b8435d1f51b8a0a05a3cfe429358523; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< a86a17745c3e1c6fadd4d6e90c03552dfe531c8c; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< ff035780adb0f49dc2c7ada26b4697849a68bec8; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< c4bb894362d224b699e2f95c6c26707d9654e4a3; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< d0fc3dabfe67caf084e7119ceb2ee23f5ad2f2da; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 0c53eb14975f029abd6b26896a460f0d2aaefe6b; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 717137221c7d90e7c98bda9a370c9da6cbf015e5; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 8dc5d98a16fa23c00999aecf10018c9f69fa5bf4
- Anyone running Linux 2.6.15

## Description

In the Linux kernel, the following vulnerability has been resolved:

ppp\_async: drop the errored frame instead of resetting its headroom

ppp\_receive\_nonmp\_frame() prepends a two-byte direction tag before running
the pass/active BPF filters:

	\*(\_\_be16 \*)skb\_push(skb, 2) = htons(PPP\_FILTER\_INBOUND\_TAG);

Nothing on the receive path guarantees those two bytes of headroom. The
frame-error path in ppp\_async's process\_input\_packet() resets a reused skb's
headroom to zero while claiming to restore it to a freshly allocated state -
but a fresh skb from dev\_alloc\_skb() carries NET\_SKB\_PAD:

	err:
		if (skb) {
			/\* make skb appear as freshly allocated \*/
			skb\_trim(skb, 0);
			skb\_reserve(skb, - skb\_headroom(skb));
		}

ap-\>rpkt still points at that skb, so the next frame is reassembled into it
with no headroom at all. A peer that sends a bad-FCS frame followed by one
beginning ff 03 then leaves a single byte of headroom by the time the filter
tag is pushed, which lands one byte below skb-\>head:

  skbuff: skb\_under\_panic: len:49 put:2 head:ffff888003c10000
          data:ffff888003c0ffff tail:0x30 end:0x640 dev:\<NULL\>
  kernel BUG at net/core/skbuff.c:214!
  RIP: 0010:skb\_panic+0x13e/0x230
  Call Trace:
   skb\_push+0xbd/0x100
   ppp\_receive\_nonmp\_frame+0x48a/0x1d10
   ppp\_input+0x4e9/0x2f80
   ppp\_async\_process+0x2a/0xe0
   tasklet\_action\_common+0x20f/0x8a0
   handle\_softirqs+0x18e/0x590
  Kernel panic - not syncing: Fatal exception in interrupt

Zeroing the headroom violates the NET\_SKB\_PAD guarantee that dev\_alloc\_skb()
gives the rest of the receive path. Besides the filter panic above, when CCP
compression is enabled ppp\_decompress\_frame() hands skb-\>data - 2 to
-\>decompress()/-\>incomp(), which then reads out of bounds before skb-\>head
for the same reason.

Rather than restore the headroom, drop the errored frame - as ppp\_synctty
already does on its error path - and clear ap-\>rpkt so the next frame is
reassembled into a fresh skb with proper headroom. This is simpler and fixes
both the filter under-panic and the CCP out-of-bounds read.

The original V1 of this patch made room in ppp\_receive\_nonmp\_frame() with
skb\_cow\_head(); Eric pointed out that fixing the root cause in the transport
is the right approach.

Found by fuzzing the PPP receive path with a mutating peer on a pty; it is an
interesting (remote) DoS: root configures PPP, the peer supplies two crashing
frames. The reproducer (repro-ppp-skb.c, unchanged from v1) panics in about a
second, and returns cleanly with this applied.

## Affected and fixed versions

- Linux: \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 25f354c55b8435d1f51b8a0a05a3cfe429358523; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< a86a17745c3e1c6fadd4d6e90c03552dfe531c8c; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< ff035780adb0f49dc2c7ada26b4697849a68bec8; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< c4bb894362d224b699e2f95c6c26707d9654e4a3; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< d0fc3dabfe67caf084e7119ceb2ee23f5ad2f2da; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 0c53eb14975f029abd6b26896a460f0d2aaefe6b; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 717137221c7d90e7c98bda9a370c9da6cbf015e5; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 8dc5d98a16fa23c00999aecf10018c9f69fa5bf4 (cvelist)
- Linux: 2.6.15 (cvelist)

## Mitigation

- Upgrade Linux to 8dc5d98a16fa23c00999aecf10018c9f69fa5bf4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98158. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98158.md
Affected: Linux >= 6722e78c90054101e6797d5944cdc81af9897a0a, < 25f354c55b8435d1f51b8a0a05a3cfe429358523; >= 6722e78c90054101e6797d5944cdc81af9897a0a, < a86a17745c3e1c6fadd4d6e90c03552dfe531c8c; >= 6722e78c90054101e6797d5944cdc81af9897a0a, < ff035780adb0f49dc2c7ada26b4697849a68bec8; >= 6722e78c90054101e6797d5…
Fixed in: Linux 25f354c55b8435d1f51b8a0a05a3cfe429358523, Linux 0c53eb14975f029abd6b26896a460f0d2aaefe6b, Linux 717137221c7d90e7c98bda9a370c9da6cbf015e5, Linux 8dc5d98a16fa23c00999aecf10018c9f69fa5bf4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98158 being exploited?

There is no confirmed exploitation: CVE-2026-98158 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98158?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98158?

Linux \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 25f354c55b8435d1f51b8a0a05a3cfe429358523; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< a86a17745c3e1c6fadd4d6e90c03552dfe531c8c; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< ff035780adb0f49dc2c7ada26b4697849a68bec8; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< c4bb894362d224b699e2f95c6c26707d9654e4a3; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< d0fc3dabfe67caf084e7119ceb2ee23f5ad2f2da; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 0c53eb14975f029abd6b26896a460f0d2aaefe6b; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 717137221c7d90e7c98bda9a370c9da6cbf015e5; \>= 6722e78c90054101e6797d5944cdc81af9897a0a, \< 8dc5d98a16fa23c00999aecf10018c9f69fa5bf4; Linux 2.6.15.

### Is there a fix for CVE-2026-98158?

Yes. Fixed in Linux 25f354c55b8435d1f51b8a0a05a3cfe429358523, Linux 0c53eb14975f029abd6b26896a460f0d2aaefe6b, Linux 717137221c7d90e7c98bda9a370c9da6cbf015e5, Linux 8dc5d98a16fa23c00999aecf10018c9f69fa5bf4. Upgrade Linux to 8dc5d98a16fa23c00999aecf10018c9f69fa5bf4 or later.

### How do I check if I'm affected by CVE-2026-98158?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/25f354c55b8435d1f51b8a0a05a3cfe429358523>
- patch: <https://git.kernel.org/stable/c/a86a17745c3e1c6fadd4d6e90c03552dfe531c8c>
- patch: <https://git.kernel.org/stable/c/ff035780adb0f49dc2c7ada26b4697849a68bec8>
- patch: <https://git.kernel.org/stable/c/c4bb894362d224b699e2f95c6c26707d9654e4a3>
- patch: <https://git.kernel.org/stable/c/d0fc3dabfe67caf084e7119ceb2ee23f5ad2f2da>
- patch: <https://git.kernel.org/stable/c/0c53eb14975f029abd6b26896a460f0d2aaefe6b>
- patch: <https://git.kernel.org/stable/c/717137221c7d90e7c98bda9a370c9da6cbf015e5>
- patch: <https://git.kernel.org/stable/c/8dc5d98a16fa23c00999aecf10018c9f69fa5bf4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98158>

HTML: <https://flawdb.com/CVE-2026-98158> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98158>
