# CVE-2026-63803: hdlc\_ppp: sync per-proto timers before freeing hdlc state

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; 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.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2026-07-19T12:02:08.574Z
- **Modified:** 2026-10-19T20:19:20.867Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 86d80a231bde4cfb64bfbfbfffd83056fc93628f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8308122bc9c065b1f376e081ed300129a2ac9545; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ce8f9ddca0c9f217342a8b49efd309aa35b81a36; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 508a0139d3bf60f6a03d2fbfb63a89a9463d983a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c64dbef1c0fbd36f9530aa75112acdf6a6d3cfd8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5a84398101bf9f11e84b176343e4e3ba83e668c0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a594debfd4e7ec39413647458907f689ef57fd2f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c78a4e41ab5ead6193ad8a2dd92e8906bae659fa
- Anyone running Linux 2.6.12

## Description

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

hdlc\_ppp: sync per-proto timers before freeing hdlc state

Each PPP control protocol (LCP/IPCP/IPV6CP) embedded in struct ppp
registers a timer via timer\_setup(). That struct ppp is the
hdlc-\>state allocation, which detach\_hdlc\_protocol() frees with kfree()
in both teardown paths: unregister\_hdlc\_device() and the re-attach inside
attach\_hdlc\_protocol().

The ppp proto never registered a .detach callback, so
detach\_hdlc\_protocol() performs no timer synchronization before the
kfree(). The only cancel, timer\_delete(&proto-\>timer) in ppp\_cp\_event(),
is partial (it does not wait for a running callback) and only runs on the
-\>CLOSED transition; ppp\_stop()/ppp\_close() do not sync either. A
ppp\_timer callback already executing (blocked on ppp-\>lock) survives the
kfree and then dereferences proto-\>state / ppp-\>lock in freed memory,
leading to a use-after-free.

Fix this by adding a .detach helper that calls timer\_shutdown\_sync() on
every per-proto timer. detach\_hdlc\_protocol() invokes proto-\>detach(dev)
before kfree(hdlc-\>state), so timer\_shutdown\_sync()
now runs on both free paths.
timer\_shutdown\_sync() is used instead of timer\_delete\_sync() because the
keepalive path re-arms the timer through add\_timer()/mod\_timer() and
shutdown blocks any re-activation during teardown.

Initialize the per-protocol timers in ppp\_ioctl() when the protocol is
attached, and remove the now-redundant timer\_setup() from ppp\_start(), so
that the timers are initialized exactly once at attach time and
ppp\_timer\_release() never operates on uninitialized timer\_list
structures. attach\_hdlc\_protocol() uses kmalloc() (not kzalloc), so
struct ppp's protos\[i\].timer is uninitialized garbage until the first
timer\_setup(); without this init-at-attach, attaching the PPP protocol
without ever bringing the device up would leave timer\_shutdown\_sync()
operating on uninitialized memory in .detach. Moving the init out of
ppp\_start() (which only runs on NETDEV\_UP) into the attach path makes the
initialization unconditional and avoids initializing the same timer\_list
twice.

This bug was found by static analysis.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 86d80a231bde4cfb64bfbfbfffd83056fc93628f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8308122bc9c065b1f376e081ed300129a2ac9545; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ce8f9ddca0c9f217342a8b49efd309aa35b81a36; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 508a0139d3bf60f6a03d2fbfb63a89a9463d983a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c64dbef1c0fbd36f9530aa75112acdf6a6d3cfd8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5a84398101bf9f11e84b176343e4e3ba83e668c0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a594debfd4e7ec39413647458907f689ef57fd2f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c78a4e41ab5ead6193ad8a2dd92e8906bae659fa (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-63803.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 86d80a231bde4cfb64bfbfbfffd83056fc93628f; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8308122bc9c065b1f376e081ed300129a2ac9545; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ce8f9ddca0c9f217342a8b49efd309aa35b81a36; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 86d80a231bde4cfb64bfbfbfffd83056fc93628f, Linux 8308122bc9c065b1f376e081ed300129a2ac9545, Linux 508a0139d3bf60f6a03d2fbfb63a89a9463d983a, Linux 5a84398101bf9f11e84b176343e4e3ba83e668c0

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-63803 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 86d80a231bde4cfb64bfbfbfffd83056fc93628f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8308122bc9c065b1f376e081ed300129a2ac9545; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ce8f9ddca0c9f217342a8b49efd309aa35b81a36; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 508a0139d3bf60f6a03d2fbfb63a89a9463d983a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c64dbef1c0fbd36f9530aa75112acdf6a6d3cfd8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5a84398101bf9f11e84b176343e4e3ba83e668c0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a594debfd4e7ec39413647458907f689ef57fd2f; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c78a4e41ab5ead6193ad8a2dd92e8906bae659fa; Linux 2.6.12.

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

Yes. Fixed in Linux 86d80a231bde4cfb64bfbfbfffd83056fc93628f, Linux 8308122bc9c065b1f376e081ed300129a2ac9545, Linux 508a0139d3bf60f6a03d2fbfb63a89a9463d983a, Linux 5a84398101bf9f11e84b176343e4e3ba83e668c0. No fix listed yet: follow the vendor advisory.

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

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/86d80a231bde4cfb64bfbfbfffd83056fc93628f>
- patch: <https://git.kernel.org/stable/c/8308122bc9c065b1f376e081ed300129a2ac9545>
- patch: <https://git.kernel.org/stable/c/ce8f9ddca0c9f217342a8b49efd309aa35b81a36>
- patch: <https://git.kernel.org/stable/c/508a0139d3bf60f6a03d2fbfb63a89a9463d983a>
- patch: <https://git.kernel.org/stable/c/c64dbef1c0fbd36f9530aa75112acdf6a6d3cfd8>
- patch: <https://git.kernel.org/stable/c/5a84398101bf9f11e84b176343e4e3ba83e668c0>
- patch: <https://git.kernel.org/stable/c/a594debfd4e7ec39413647458907f689ef57fd2f>
- patch: <https://git.kernel.org/stable/c/c78a4e41ab5ead6193ad8a2dd92e8906bae659fa>

## 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-63803>

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