# CVE-2024-26754: gtp: fix use-after-free and null-ptr-deref in gtp\_genl\_dump\_pdp()

> 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, NVD) `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.34% (percentile 19, 2026-11-26)
- **CWE:** CWE-416, CWE-476
- **Published:** 2024-04-03T17:00:39.079Z
- **Modified:** 2026-06-17T07:18:15.600Z

## Who should check

- Anyone running Linux \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< f0ecdfa679189d26aedfe24212d4e69e42c2c861; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< f8cbd1791900b5d96466eede8e9439a5b9ca4de7; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 2e534fd15e5c2ca15821c897352cf0e8a3e30dca; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< a576308800be28f2eaa099e7caad093b97d66e77; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 3963f16cc7643b461271989b712329520374ad2a; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< ba6b8b02a3314e62571a540efa96560888c5f03e; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 5013bd54d283eda5262c9ae3bcc966d01daf8576; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 136cfaca22567a03bbb3bf53a43d8cb5748b80ec
- Anyone running Linux 4.7

## Description

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

gtp: fix use-after-free and null-ptr-deref in gtp\_genl\_dump\_pdp()

The gtp\_net\_ops pernet operations structure for the subsystem must be
registered before registering the generic netlink family.

Syzkaller hit 'general protection fault in gtp\_genl\_dump\_pdp' bug:

general protection fault, probably for non-canonical address
0xdffffc0000000002: 0000 \[\#1\] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range \[0x0000000000000010-0x0000000000000017\]
CPU: 1 PID: 5826 Comm: gtp Not tainted 6.8.0-rc3-std-def-alt1 \#1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.0-alt1 04/01/2014
RIP: 0010:gtp\_genl\_dump\_pdp+0x1be/0x800 \[gtp\]
Code: c6 89 c6 e8 64 e9 86 df 58 45 85 f6 0f 85 4e 04 00 00 e8 c5 ee 86
      df 48 8b 54 24 18 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 \<80\>
      3c 02 00 0f 85 de 05 00 00 48 8b 44 24 18 4c 8b 30 4c 39 f0 74
RSP: 0018:ffff888014107220 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff88800fcda588 R14: 0000000000000001 R15: 0000000000000000
FS:  00007f1be4eb05c0(0000) GS:ffff88806ce80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1be4e766cf CR3: 000000000c33e000 CR4: 0000000000750ef0
PKRU: 55555554
Call Trace:
 \<TASK\>
 ? show\_regs+0x90/0xa0
 ? die\_addr+0x50/0xd0
 ? exc\_general\_protection+0x148/0x220
 ? asm\_exc\_general\_protection+0x22/0x30
 ? gtp\_genl\_dump\_pdp+0x1be/0x800 \[gtp\]
 ? \_\_alloc\_skb+0x1dd/0x350
 ? \_\_pfx\_\_\_alloc\_skb+0x10/0x10
 genl\_dumpit+0x11d/0x230
 netlink\_dump+0x5b9/0xce0
 ? lockdep\_hardirqs\_on\_prepare+0x253/0x430
 ? \_\_pfx\_netlink\_dump+0x10/0x10
 ? kasan\_save\_track+0x10/0x40
 ? \_\_kasan\_kmalloc+0x9b/0xa0
 ? genl\_start+0x675/0x970
 \_\_netlink\_dump\_start+0x6fc/0x9f0
 genl\_family\_rcv\_msg\_dumpit+0x1bb/0x2d0
 ? \_\_pfx\_genl\_family\_rcv\_msg\_dumpit+0x10/0x10
 ? genl\_op\_from\_small+0x2a/0x440
 ? cap\_capable+0x1d0/0x240
 ? \_\_pfx\_genl\_start+0x10/0x10
 ? \_\_pfx\_genl\_dumpit+0x10/0x10
 ? \_\_pfx\_genl\_done+0x10/0x10
 ? security\_capable+0x9d/0xe0

## Affected and fixed versions

- Linux: \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< f0ecdfa679189d26aedfe24212d4e69e42c2c861; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< f8cbd1791900b5d96466eede8e9439a5b9ca4de7; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 2e534fd15e5c2ca15821c897352cf0e8a3e30dca; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< a576308800be28f2eaa099e7caad093b97d66e77; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 3963f16cc7643b461271989b712329520374ad2a; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< ba6b8b02a3314e62571a540efa96560888c5f03e; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 5013bd54d283eda5262c9ae3bcc966d01daf8576; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 136cfaca22567a03bbb3bf53a43d8cb5748b80ec (cvelist)
- Linux: 4.7 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2024-26754.md
Affected: Linux >= 459aa660eb1d8ce67080da1983bb81d716aa5a69, < f0ecdfa679189d26aedfe24212d4e69e42c2c861; >= 459aa660eb1d8ce67080da1983bb81d716aa5a69, < f8cbd1791900b5d96466eede8e9439a5b9ca4de7; >= 459aa660eb1d8ce67080da1983bb81d716aa5a69, < 2e534fd15e5c2ca15821c897352cf0e8a3e30dca; >= 459aa660eb1d8ce67080da1…
Fixed in: Linux 2e534fd15e5c2ca15821c897352cf0e8a3e30dca, Linux 3963f16cc7643b461271989b712329520374ad2a, Linux 5013bd54d283eda5262c9ae3bcc966d01daf8576, Linux 136cfaca22567a03bbb3bf53a43d8cb5748b80ec

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

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

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

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

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

Linux \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< f0ecdfa679189d26aedfe24212d4e69e42c2c861; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< f8cbd1791900b5d96466eede8e9439a5b9ca4de7; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 2e534fd15e5c2ca15821c897352cf0e8a3e30dca; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< a576308800be28f2eaa099e7caad093b97d66e77; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 3963f16cc7643b461271989b712329520374ad2a; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< ba6b8b02a3314e62571a540efa96560888c5f03e; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 5013bd54d283eda5262c9ae3bcc966d01daf8576; \>= 459aa660eb1d8ce67080da1983bb81d716aa5a69, \< 136cfaca22567a03bbb3bf53a43d8cb5748b80ec; Linux 4.7.

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

Yes. Fixed in Linux 2e534fd15e5c2ca15821c897352cf0e8a3e30dca, Linux 3963f16cc7643b461271989b712329520374ad2a, Linux 5013bd54d283eda5262c9ae3bcc966d01daf8576, Linux 136cfaca22567a03bbb3bf53a43d8cb5748b80ec. Upgrade Linux to 136cfaca22567a03bbb3bf53a43d8cb5748b80ec or later.

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

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/f0ecdfa679189d26aedfe24212d4e69e42c2c861>
- patch: <https://git.kernel.org/stable/c/f8cbd1791900b5d96466eede8e9439a5b9ca4de7>
- patch: <https://git.kernel.org/stable/c/2e534fd15e5c2ca15821c897352cf0e8a3e30dca>
- patch: <https://git.kernel.org/stable/c/a576308800be28f2eaa099e7caad093b97d66e77>
- patch: <https://git.kernel.org/stable/c/3963f16cc7643b461271989b712329520374ad2a>
- patch: <https://git.kernel.org/stable/c/ba6b8b02a3314e62571a540efa96560888c5f03e>
- patch: <https://git.kernel.org/stable/c/5013bd54d283eda5262c9ae3bcc966d01daf8576>
- patch: <https://git.kernel.org/stable/c/136cfaca22567a03bbb3bf53a43d8cb5748b80ec>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.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-26754>

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