CVE-2026-45842
Null pointer dereference in Linux kernel SLIP/CSLIP compression
Publication date: 2026-05-27
Last updated on: 2026-05-27
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in the Linux kernel's slip network driver, specifically in the handling of Van Jacobson (VJ) header compression receive packets. The function slhc_init() accepts a configuration where the number of receive slots (rslots) is zero, meaning no receive compression. However, the receive helpers do not properly handle this case, leading to a NULL pointer dereference when processing packets with an explicit connection ID.
Because rslot_limit is zero, the code incorrectly allows slot 0 to pass a range check and then dereferences a NULL pointer, causing a kernel crash. This situation can be triggered through PPP (Point-to-Point Protocol) by passing a specially crafted argument that results in slhc_init(0, 1) being called. The vulnerability can be exploited from an unprivileged user namespace with CAP_NET_ADMIN capability, leading to a general protection fault and kernel crash.
How can this vulnerability impact me? :
This vulnerability can cause a denial of service by crashing the Linux kernel when it processes certain VJ-compressed or uncompressed frames that select slot 0. The crash occurs in softirq context due to a NULL pointer dereference, leading to a general protection fault.
An attacker with access to an unprivileged user namespace but with CAP_NET_ADMIN capability can trigger this vulnerability, potentially disrupting system availability by causing kernel panics or crashes.