# CVE-2024-50035: ppp: fix ppp\_async\_encode() illegal access

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

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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.33% (percentile 19, 2026-11-26)
- **CWE:** CWE-908
- **Published:** 2024-10-21T19:39:36.460Z
- **Modified:** 2026-10-15T01:19:05.347Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4151ec65abd755133ebec687218fadd2d2631167; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8dfe93901b410ae41264087427f3b9f389388f83; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 30d91a478d58cbae3dbaa8224d17d0d839f0d71b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fadf8fdb3110d3138e05c3765f645535434f8d76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ce249a4c68d0ce27a8c5d853338d502e2711a314; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8fe992ff3df493d1949922ca234419f3ede08dff; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c007a14797240607038bd3464501109f408940e2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40dddd4b8bd08a69471efd96107a4e1c73fabefc
- Anyone running Linux 2.6.12

## Description

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

ppp: fix ppp\_async\_encode() illegal access

syzbot reported an issue in ppp\_async\_encode() \[1\]

In this case, pppoe\_sendmsg() is called with a zero size.
Then ppp\_async\_encode() is called with an empty skb.

BUG: KMSAN: uninit-value in ppp\_async\_encode drivers/net/ppp/ppp\_async.c:545 \[inline\]
 BUG: KMSAN: uninit-value in ppp\_async\_push+0xb4f/0x2660 drivers/net/ppp/ppp\_async.c:675
  ppp\_async\_encode drivers/net/ppp/ppp\_async.c:545 \[inline\]
  ppp\_async\_push+0xb4f/0x2660 drivers/net/ppp/ppp\_async.c:675
  ppp\_async\_send+0x130/0x1b0 drivers/net/ppp/ppp\_async.c:634
  ppp\_channel\_bridge\_input drivers/net/ppp/ppp\_generic.c:2280 \[inline\]
  ppp\_input+0x1f1/0xe60 drivers/net/ppp/ppp\_generic.c:2304
  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:4092 \[inline\]
  slab\_alloc\_node mm/slub.c:4135 \[inline\]
  kmem\_cache\_alloc\_node\_noprof+0x6bf/0xb80 mm/slub.c:4187
  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: 1 UID: 0 PID: 5411 Comm: syz.1.14 Not tainted 6.12.0-rc1-syzkaller-00165-g360c1f1f24c6 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4151ec65abd755133ebec687218fadd2d2631167; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8dfe93901b410ae41264087427f3b9f389388f83; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 30d91a478d58cbae3dbaa8224d17d0d839f0d71b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fadf8fdb3110d3138e05c3765f645535434f8d76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ce249a4c68d0ce27a8c5d853338d502e2711a314; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8fe992ff3df493d1949922ca234419f3ede08dff; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c007a14797240607038bd3464501109f408940e2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40dddd4b8bd08a69471efd96107a4e1c73fabefc (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- Upgrade Linux to 40dddd4b8bd08a69471efd96107a4e1c73fabefc 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-50035. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-50035.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 4151ec65abd755133ebec687218fadd2d2631167; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8dfe93901b410ae41264087427f3b9f389388f83; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 30d91a478d58cbae3dbaa8224d17d0d839f0d71b; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 4151ec65abd755133ebec687218fadd2d2631167, Linux 8dfe93901b410ae41264087427f3b9f389388f83, Linux 30d91a478d58cbae3dbaa8224d17d0d839f0d71b, Linux 8fe992ff3df493d1949922ca234419f3ede08dff, Linux 40dddd4b8bd08a69471efd96107a4e1c73fabefc

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

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

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

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

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 4151ec65abd755133ebec687218fadd2d2631167; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8dfe93901b410ae41264087427f3b9f389388f83; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 30d91a478d58cbae3dbaa8224d17d0d839f0d71b; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fadf8fdb3110d3138e05c3765f645535434f8d76; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ce249a4c68d0ce27a8c5d853338d502e2711a314; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8fe992ff3df493d1949922ca234419f3ede08dff; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c007a14797240607038bd3464501109f408940e2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40dddd4b8bd08a69471efd96107a4e1c73fabefc; Linux 2.6.12.

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

Yes. Fixed in Linux 4151ec65abd755133ebec687218fadd2d2631167, Linux 8dfe93901b410ae41264087427f3b9f389388f83, Linux 30d91a478d58cbae3dbaa8224d17d0d839f0d71b, Linux 8fe992ff3df493d1949922ca234419f3ede08dff, Linux 40dddd4b8bd08a69471efd96107a4e1c73fabefc. Upgrade Linux to 40dddd4b8bd08a69471efd96107a4e1c73fabefc or later.

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

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/30d91a478d58cbae3dbaa8224d17d0d839f0d71b>
- patch: <https://git.kernel.org/stable/c/fadf8fdb3110d3138e05c3765f645535434f8d76>
- patch: <https://git.kernel.org/stable/c/ce249a4c68d0ce27a8c5d853338d502e2711a314>
- patch: <https://git.kernel.org/stable/c/8fe992ff3df493d1949922ca234419f3ede08dff>
- patch: <https://git.kernel.org/stable/c/c007a14797240607038bd3464501109f408940e2>
- patch: <https://git.kernel.org/stable/c/40dddd4b8bd08a69471efd96107a4e1c73fabefc>
- other: <https://git.kernel.org/stable/c/4151ec65abd755133ebec687218fadd2d2631167>
- other: <https://git.kernel.org/stable/c/8dfe93901b410ae41264087427f3b9f389388f83>
- 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-50035>

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