CVE-2024-26754
QEMU gtp Use-After-Free Null-Ptr-Deref
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
INFO
Published Date :
April 3, 2024, 5:15 p.m.
Last Modified :
Jan. 7, 2025, 9:13 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-26754
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-26754
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-26754
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jan. 07, 2025
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE NIST CWE-416 Added CWE NIST CWE-476 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.7 up to (excluding) 4.19.308 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.270 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.211 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.150 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.80 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.7 *cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:6.8:rc5:*:*:*:*:*:* Changed Reference Type https://git.kernel.org/stable/c/136cfaca22567a03bbb3bf53a43d8cb5748b80ec No Types Assigned https://git.kernel.org/stable/c/136cfaca22567a03bbb3bf53a43d8cb5748b80ec Patch Changed Reference Type https://git.kernel.org/stable/c/136cfaca22567a03bbb3bf53a43d8cb5748b80ec No Types Assigned https://git.kernel.org/stable/c/136cfaca22567a03bbb3bf53a43d8cb5748b80ec Patch Changed Reference Type https://git.kernel.org/stable/c/2e534fd15e5c2ca15821c897352cf0e8a3e30dca No Types Assigned https://git.kernel.org/stable/c/2e534fd15e5c2ca15821c897352cf0e8a3e30dca Patch Changed Reference Type https://git.kernel.org/stable/c/2e534fd15e5c2ca15821c897352cf0e8a3e30dca No Types Assigned https://git.kernel.org/stable/c/2e534fd15e5c2ca15821c897352cf0e8a3e30dca Patch Changed Reference Type https://git.kernel.org/stable/c/3963f16cc7643b461271989b712329520374ad2a No Types Assigned https://git.kernel.org/stable/c/3963f16cc7643b461271989b712329520374ad2a Patch Changed Reference Type https://git.kernel.org/stable/c/3963f16cc7643b461271989b712329520374ad2a No Types Assigned https://git.kernel.org/stable/c/3963f16cc7643b461271989b712329520374ad2a Patch Changed Reference Type https://git.kernel.org/stable/c/5013bd54d283eda5262c9ae3bcc966d01daf8576 No Types Assigned https://git.kernel.org/stable/c/5013bd54d283eda5262c9ae3bcc966d01daf8576 Patch Changed Reference Type https://git.kernel.org/stable/c/5013bd54d283eda5262c9ae3bcc966d01daf8576 No Types Assigned https://git.kernel.org/stable/c/5013bd54d283eda5262c9ae3bcc966d01daf8576 Patch Changed Reference Type https://git.kernel.org/stable/c/a576308800be28f2eaa099e7caad093b97d66e77 No Types Assigned https://git.kernel.org/stable/c/a576308800be28f2eaa099e7caad093b97d66e77 Patch Changed Reference Type https://git.kernel.org/stable/c/a576308800be28f2eaa099e7caad093b97d66e77 No Types Assigned https://git.kernel.org/stable/c/a576308800be28f2eaa099e7caad093b97d66e77 Patch Changed Reference Type https://git.kernel.org/stable/c/ba6b8b02a3314e62571a540efa96560888c5f03e No Types Assigned https://git.kernel.org/stable/c/ba6b8b02a3314e62571a540efa96560888c5f03e Patch Changed Reference Type https://git.kernel.org/stable/c/ba6b8b02a3314e62571a540efa96560888c5f03e No Types Assigned https://git.kernel.org/stable/c/ba6b8b02a3314e62571a540efa96560888c5f03e Patch Changed Reference Type https://git.kernel.org/stable/c/f0ecdfa679189d26aedfe24212d4e69e42c2c861 No Types Assigned https://git.kernel.org/stable/c/f0ecdfa679189d26aedfe24212d4e69e42c2c861 Patch Changed Reference Type https://git.kernel.org/stable/c/f0ecdfa679189d26aedfe24212d4e69e42c2c861 No Types Assigned https://git.kernel.org/stable/c/f0ecdfa679189d26aedfe24212d4e69e42c2c861 Patch Changed Reference Type https://git.kernel.org/stable/c/f8cbd1791900b5d96466eede8e9439a5b9ca4de7 No Types Assigned https://git.kernel.org/stable/c/f8cbd1791900b5d96466eede8e9439a5b9ca4de7 Patch Changed Reference Type https://git.kernel.org/stable/c/f8cbd1791900b5d96466eede8e9439a5b9ca4de7 No Types Assigned https://git.kernel.org/stable/c/f8cbd1791900b5d96466eede8e9439a5b9ca4de7 Patch Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Mailing List Changed Reference Type https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html No Types Assigned https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html Mailing List -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/136cfaca22567a03bbb3bf53a43d8cb5748b80ec Added Reference https://git.kernel.org/stable/c/2e534fd15e5c2ca15821c897352cf0e8a3e30dca Added Reference https://git.kernel.org/stable/c/3963f16cc7643b461271989b712329520374ad2a Added Reference https://git.kernel.org/stable/c/5013bd54d283eda5262c9ae3bcc966d01daf8576 Added Reference https://git.kernel.org/stable/c/a576308800be28f2eaa099e7caad093b97d66e77 Added Reference https://git.kernel.org/stable/c/ba6b8b02a3314e62571a540efa96560888c5f03e Added Reference https://git.kernel.org/stable/c/f0ecdfa679189d26aedfe24212d4e69e42c2c861 Added Reference https://git.kernel.org/stable/c/f8cbd1791900b5d96466eede8e9439a5b9ca4de7 Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 27, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 03, 2024
Action Type Old Value New Value Added 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 Added Reference kernel.org https://git.kernel.org/stable/c/f0ecdfa679189d26aedfe24212d4e69e42c2c861 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/f8cbd1791900b5d96466eede8e9439a5b9ca4de7 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2e534fd15e5c2ca15821c897352cf0e8a3e30dca [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a576308800be28f2eaa099e7caad093b97d66e77 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/3963f16cc7643b461271989b712329520374ad2a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/ba6b8b02a3314e62571a540efa96560888c5f03e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/5013bd54d283eda5262c9ae3bcc966d01daf8576 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/136cfaca22567a03bbb3bf53a43d8cb5748b80ec [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-26754
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-26754
weaknesses.