# CVE-2024-50033: slip: make slhc\_remember() more robust against malicious packets

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; 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:** Remote, no login needed
- **EPSS:** 1.05% (percentile 64, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-10-21T19:39:35.127Z
- **Modified:** 2026-10-15T01:19:05.113Z

## Who should check

- Anyone running Linux \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< ba6501ea06462d6404d57d5644cf2854db38e7d7; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 36b054324d18e51cf466134e13b6fbe3c91f52af; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 5e336384cc9b608e0551f99c3d87316ca3b0e51a; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< ff5e0f895315706e4ca5a19df15be6866cee4f5d; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 8bb79eb1db85a10865f0d4dd15b013def3f2d246; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 29e8d96d44f51cf89a62dd042be35d052833b95c; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 7d3fce8cbe3a70a1c7c06c9b53696be5d5d8dd5c
- Anyone running Linux 3.2

## Description

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

slip: make slhc\_remember() more robust against malicious packets

syzbot found that slhc\_remember() was missing checks against
malicious packets \[1\].

slhc\_remember() only checked the size of the packet was at least 20,
which is not good enough.

We need to make sure the packet includes the IPv4 and TCP header
that are supposed to be carried.

Add iph and th pointers to make the code more readable.

\[1\]

BUG: KMSAN: uninit-value in slhc\_remember+0x2e8/0x7b0 drivers/net/slip/slhc.c:666
  slhc\_remember+0x2e8/0x7b0 drivers/net/slip/slhc.c:666
  ppp\_receive\_nonmp\_frame+0xe45/0x35e0 drivers/net/ppp/ppp\_generic.c:2455
  ppp\_receive\_frame drivers/net/ppp/ppp\_generic.c:2372 \[inline\]
  ppp\_do\_recv+0x65f/0x40d0 drivers/net/ppp/ppp\_generic.c:2212
  ppp\_input+0x7dc/0xe60 drivers/net/ppp/ppp\_generic.c:2327
  pppoe\_rcv\_core+0x1d3/0x720 drivers/net/ppp/pppoe.c:379
  sk\_backlog\_rcv+0x13b/0x420 include/net/sock.h:1113
  \_\_release\_sock+0x1da/0x330 net/core/sock.c:3072
  release\_sock+0x6b/0x250 net/core/sock.c:3626
  pppoe\_sendmsg+0x2b8/0xb90 drivers/net/ppp/pppoe.c:903
  sock\_sendmsg\_nosec net/socket.c:729 \[inline\]
  \_\_sock\_sendmsg+0x30f/0x380 net/socket.c:744
  \_\_\_\_sys\_sendmsg+0x903/0xb60 net/socket.c:2602
  \_\_\_sys\_sendmsg+0x28d/0x3c0 net/socket.c:2656
  \_\_sys\_sendmmsg+0x3c1/0x960 net/socket.c:2742
  \_\_do\_sys\_sendmmsg net/socket.c:2771 \[inline\]
  \_\_se\_sys\_sendmmsg net/socket.c:2768 \[inline\]
  \_\_x64\_sys\_sendmmsg+0xbc/0x120 net/socket.c:2768
  x64\_sys\_call+0xb6e/0x3ba0 arch/x86/include/generated/asm/syscalls\_64.h:308
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

Uninit was created at:
  slab\_post\_alloc\_hook mm/slub.c:4091 \[inline\]
  slab\_alloc\_node mm/slub.c:4134 \[inline\]
  kmem\_cache\_alloc\_node\_noprof+0x6bf/0xb80 mm/slub.c:4186
  kmalloc\_reserve+0x13d/0x4a0 net/core/skbuff.c:587
  \_\_alloc\_skb+0x363/0x7b0 net/core/skbuff.c:678
  alloc\_skb include/linux/skbuff.h:1322 \[inline\]
  sock\_wmalloc+0xfe/0x1a0 net/core/sock.c:2732
  pppoe\_sendmsg+0x3a7/0xb90 drivers/net/ppp/pppoe.c:867
  sock\_sendmsg\_nosec net/socket.c:729 \[inline\]
  \_\_sock\_sendmsg+0x30f/0x380 net/socket.c:744
  \_\_\_\_sys\_sendmsg+0x903/0xb60 net/socket.c:2602
  \_\_\_sys\_sendmsg+0x28d/0x3c0 net/socket.c:2656
  \_\_sys\_sendmmsg+0x3c1/0x960 net/socket.c:2742
  \_\_do\_sys\_sendmmsg net/socket.c:2771 \[inline\]
  \_\_se\_sys\_sendmmsg net/socket.c:2768 \[inline\]
  \_\_x64\_sys\_sendmmsg+0xbc/0x120 net/socket.c:2768
  x64\_sys\_call+0xb6e/0x3ba0 arch/x86/include/generated/asm/syscalls\_64.h:308
  do\_syscall\_x64 arch/x86/entry/common.c:52 \[inline\]
  do\_syscall\_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

CPU: 0 UID: 0 PID: 5460 Comm: syz.2.33 Not tainted 6.12.0-rc2-syzkaller-00006-g87d6aab2389e \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024

## Affected and fixed versions

- Linux: \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< ba6501ea06462d6404d57d5644cf2854db38e7d7; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 36b054324d18e51cf466134e13b6fbe3c91f52af; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 5e336384cc9b608e0551f99c3d87316ca3b0e51a; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< ff5e0f895315706e4ca5a19df15be6866cee4f5d; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 8bb79eb1db85a10865f0d4dd15b013def3f2d246; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 29e8d96d44f51cf89a62dd042be35d052833b95c; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 7d3fce8cbe3a70a1c7c06c9b53696be5d5d8dd5c (cvelist)
- Linux: 3.2 (cvelist)

## Mitigation

- Upgrade Linux to 7d3fce8cbe3a70a1c7c06c9b53696be5d5d8dd5c or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-50033.md
Affected: Linux >= b5451d783ade99308dfccdf5ca284ed07affa4ff, < ba6501ea06462d6404d57d5644cf2854db38e7d7; >= b5451d783ade99308dfccdf5ca284ed07affa4ff, < 36b054324d18e51cf466134e13b6fbe3c91f52af; >= b5451d783ade99308dfccdf5ca284ed07affa4ff, < 5e336384cc9b608e0551f99c3d87316ca3b0e51a; >= b5451d783ade99308dfccdf…
Fixed in: Linux 36b054324d18e51cf466134e13b6fbe3c91f52af, Linux 5e336384cc9b608e0551f99c3d87316ca3b0e51a, Linux 8bb79eb1db85a10865f0d4dd15b013def3f2d246, Linux 29e8d96d44f51cf89a62dd042be35d052833b95c, Linux 7d3fce8cbe3a70a1c7c06c9b53696be5d5d8dd5c

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-2024-50033 being exploited?

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

### How serious is CVE-2024-50033?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-50033?

Linux \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< ba6501ea06462d6404d57d5644cf2854db38e7d7; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 36b054324d18e51cf466134e13b6fbe3c91f52af; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 5e336384cc9b608e0551f99c3d87316ca3b0e51a; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< ff5e0f895315706e4ca5a19df15be6866cee4f5d; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 8bb79eb1db85a10865f0d4dd15b013def3f2d246; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 29e8d96d44f51cf89a62dd042be35d052833b95c; \>= b5451d783ade99308dfccdf5ca284ed07affa4ff, \< 7d3fce8cbe3a70a1c7c06c9b53696be5d5d8dd5c; Linux 3.2.

### Is there a fix for CVE-2024-50033?

Yes. Fixed in Linux 36b054324d18e51cf466134e13b6fbe3c91f52af, Linux 5e336384cc9b608e0551f99c3d87316ca3b0e51a, Linux 8bb79eb1db85a10865f0d4dd15b013def3f2d246, Linux 29e8d96d44f51cf89a62dd042be35d052833b95c, Linux 7d3fce8cbe3a70a1c7c06c9b53696be5d5d8dd5c. Upgrade Linux to 7d3fce8cbe3a70a1c7c06c9b53696be5d5d8dd5c or later.

### How do I check if I'm affected by CVE-2024-50033?

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/36b054324d18e51cf466134e13b6fbe3c91f52af>
- patch: <https://git.kernel.org/stable/c/5e336384cc9b608e0551f99c3d87316ca3b0e51a>
- patch: <https://git.kernel.org/stable/c/ff5e0f895315706e4ca5a19df15be6866cee4f5d>
- patch: <https://git.kernel.org/stable/c/8bb79eb1db85a10865f0d4dd15b013def3f2d246>
- patch: <https://git.kernel.org/stable/c/29e8d96d44f51cf89a62dd042be35d052833b95c>
- patch: <https://git.kernel.org/stable/c/7d3fce8cbe3a70a1c7c06c9b53696be5d5d8dd5c>
- other: <https://git.kernel.org/stable/c/ba6501ea06462d6404d57d5644cf2854db38e7d7>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-355557.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-2024-50033>

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