# CVE-2026-45842: slip: reject VJ receive packets on instances with no rstate array

> 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.17% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-05-27T09:24:42.637Z
- **Modified:** 2026-11-06T16:18:46.260Z

## Who should check

- Anyone running Linux \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 3d71c961febddd855d3ae9a519eeb96c8023f430; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 72304fec672e8aac9ee7b9c475db96b37cca8d8d; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 4aa9eca6fda2919027dfd7a7cc69334982d89586; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< c6980e8b1a86288167f34966fa5219031999b6f1; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< de42f86e2cf5028a97e74c25869d1a962b13c301; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 9e1ff0eead073c4f46d874ad2526b7dda5465faf; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 7b0d9e878ec2b21d99ae8051b3dda59cdb66c152; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< e76607442d5b73e1ba6768f501ef815bb58c2c0e; 42fc512469e78939c1e419d3310c47de55bdcbb8; df085f1cb3acd3d75408ff94f366983873bce7d2; …
- Anyone running Linux 4.4

## Description

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

slip: reject VJ receive packets on instances with no rstate array

slhc\_init() accepts rslots == 0 as a valid configuration, with the
documented meaning of 'no receive compression'. In that case the
allocation loop in slhc\_init() is skipped, so comp-\>rstate stays
NULL and comp-\>rslot\_limit stays 0 (from the kzalloc of struct
slcompress).

The receive helpers do not defend against that configuration.
slhc\_uncompress() dereferences comp-\>rstate\[x\] when the VJ header
carries an explicit connection ID, and slhc\_remember() later assigns
cs = &comp-\>rstate\[...\] after only comparing the packet's slot number
to comp-\>rslot\_limit. Because rslot\_limit is 0, slot 0 passes the
range check, and the code dereferences a NULL rstate.

The configuration is reachable in-tree through PPP. PPPIOCSMAXCID
stores its argument in a signed int, and (val \>\> 16) uses arithmetic
shift. Passing 0xffff0000 therefore sign-extends to -1, so val2 + 1
is 0 and ppp\_generic.c ends up calling slhc\_init(0, 1). Because
/dev/ppp open is gated by ns\_capable(CAP\_NET\_ADMIN), the whole path
is reachable from an unprivileged user namespace. Once the malformed
VJ state is installed, any inbound VJ-compressed or VJ-uncompressed
frame that selects slot 0 crashes the kernel in softirq context:

 Oops: general protection fault, probably for non-canonical
       address 0xdffffc0000000000: 0000 \[\#1\] SMP KASAN NOPTI
 KASAN: null-ptr-deref in range \[0x0000000000000000-0x0000000000000007\]
 RIP: 0010:slhc\_uncompress (drivers/net/slip/slhc.c:519)
 Call Trace:
  \<TASK\>
  ppp\_receive\_nonmp\_frame (drivers/net/ppp/ppp\_generic.c:2466)
  ppp\_input (drivers/net/ppp/ppp\_generic.c:2359)
  ppp\_async\_process (drivers/net/ppp/ppp\_async.c:492)
  tasklet\_action\_common (kernel/softirq.c:926)
  handle\_softirqs (kernel/softirq.c:623)
  run\_ksoftirqd (kernel/softirq.c:1055)
  smpboot\_thread\_fn (kernel/smpboot.c:160)
  kthread (kernel/kthread.c:436)
  ret\_from\_fork (arch/x86/kernel/process.c:164)
  \</TASK\>

Reject the receive side on such instances instead of touching rstate.
slhc\_uncompress() falls through to its existing 'bad' label, which
bumps sls\_i\_error and enters the toss state. slhc\_remember() mirrors
that with an explicit sls\_i\_error increment followed by slhc\_toss();
the sls\_i\_runt counter is not used here because a missing rstate is
an internal configuration state, not a runt packet.

The transmit path is unaffected: the only in-tree caller that picks
rslots from userspace (ppp\_generic.c) still supplies tslots \>= 1, and
slip.c always calls slhc\_init(16, 16), so comp-\>tstate remains valid
and slhc\_compress() continues to work.

## Affected and fixed versions

- Linux: \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 3d71c961febddd855d3ae9a519eeb96c8023f430; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 72304fec672e8aac9ee7b9c475db96b37cca8d8d; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 4aa9eca6fda2919027dfd7a7cc69334982d89586; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< c6980e8b1a86288167f34966fa5219031999b6f1; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< de42f86e2cf5028a97e74c25869d1a962b13c301; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 9e1ff0eead073c4f46d874ad2526b7dda5465faf; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 7b0d9e878ec2b21d99ae8051b3dda59cdb66c152; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< e76607442d5b73e1ba6768f501ef815bb58c2c0e; 42fc512469e78939c1e419d3310c47de55bdcbb8; df085f1cb3acd3d75408ff94f366983873bce7d2; … (cvelist)
- Linux: 4.4 (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-45842. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45842.md
Affected: Linux >= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, < 3d71c961febddd855d3ae9a519eeb96c8023f430; >= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, < 72304fec672e8aac9ee7b9c475db96b37cca8d8d; >= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, < 4aa9eca6fda2919027dfd7a7cc69334982d89586; >= 4ab42d78e37a294ac7bc569…
Fixed in: Linux 3d71c961febddd855d3ae9a519eeb96c8023f430, Linux 72304fec672e8aac9ee7b9c475db96b37cca8d8d, Linux 4aa9eca6fda2919027dfd7a7cc69334982d89586, Linux 9e1ff0eead073c4f46d874ad2526b7dda5465faf, Linux 7b0d9e878ec2b21d99ae8051b3dda59cdb66c152

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

There is no confirmed exploitation: CVE-2026-45842 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-45842?

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

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

Linux \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 3d71c961febddd855d3ae9a519eeb96c8023f430; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 72304fec672e8aac9ee7b9c475db96b37cca8d8d; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 4aa9eca6fda2919027dfd7a7cc69334982d89586; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< c6980e8b1a86288167f34966fa5219031999b6f1; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< de42f86e2cf5028a97e74c25869d1a962b13c301; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 9e1ff0eead073c4f46d874ad2526b7dda5465faf; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< 7b0d9e878ec2b21d99ae8051b3dda59cdb66c152; \>= 4ab42d78e37a294ac7bc56901d563c642e03c4ae, \< e76607442d5b73e1ba6768f501ef815bb58c2c0e; 42fc512469e78939c1e419d3310c47de55bdcbb8; df085f1cb3acd3d75408ff94f366983873bce7d2; …; Linux 4.4.

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

Yes. Fixed in Linux 3d71c961febddd855d3ae9a519eeb96c8023f430, Linux 72304fec672e8aac9ee7b9c475db96b37cca8d8d, Linux 4aa9eca6fda2919027dfd7a7cc69334982d89586, Linux 9e1ff0eead073c4f46d874ad2526b7dda5465faf, Linux 7b0d9e878ec2b21d99ae8051b3dda59cdb66c152. No fix listed yet: follow the vendor advisory.

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

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/3d71c961febddd855d3ae9a519eeb96c8023f430>
- patch: <https://git.kernel.org/stable/c/72304fec672e8aac9ee7b9c475db96b37cca8d8d>
- patch: <https://git.kernel.org/stable/c/4aa9eca6fda2919027dfd7a7cc69334982d89586>
- patch: <https://git.kernel.org/stable/c/c6980e8b1a86288167f34966fa5219031999b6f1>
- patch: <https://git.kernel.org/stable/c/de42f86e2cf5028a97e74c25869d1a962b13c301>
- patch: <https://git.kernel.org/stable/c/9e1ff0eead073c4f46d874ad2526b7dda5465faf>
- patch: <https://git.kernel.org/stable/c/7b0d9e878ec2b21d99ae8051b3dda59cdb66c152>
- patch: <https://git.kernel.org/stable/c/e76607442d5b73e1ba6768f501ef815bb58c2c0e>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

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

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