CVE & CISA-KEV Catalog

CVE-2025-40290

UNSCORED

Description

In the Linux kernel, the following vulnerability has been resolved: xsk: avoid data corruption on cq descriptor number Since commit 30f241fcf52a ("xsk: Fix immature cq descriptor production"), the descriptor number is stored in skb control block and xsk_cq_submit_addr_locked() relies on it to put the umem addrs onto pool's completion queue. skb control block shouldn't be used for this purpose as after transmit xsk doesn't have control over it and other subsystems could use it. This leads to the following kernel panic due to a NULL pointer dereference. BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: Oops: 0000 [#1] SMP NOPTI CPU: 2 UID: 1 PID: 927 Comm: p4xsk.bin Not tainted 6.16.12+deb14-cloud-amd64 #1 PREEMPT(lazy) Debian 6.16.12-1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.17.0-debian-1.17.0-1 04/01/2014 RIP: 0010:xsk_destruct_skb+0xd0/0x180 [...] Call Trace: <IRQ> ? napi_complete_done+0x7a/0x1a0 ip_rcv_core+0x1bb/0x340 ip_rcv+0x30/0x1f0 __netif_receive_skb_one_core+0x85/0xa0 process_backlog+0x87/0x130 __napi_poll+0x28/0x180 net_rx_action+0x339/0x420 handle_softirqs+0xdc/0x320 ? handle_edge_irq+0x90/0x1e0 do_softirq.part.0+0x3b/0x60 </IRQ> <TASK> __local_bh_enable_ip+0x60/0x70 __dev_direct_xmit+0x14e/0x1f0 __xsk_generic_xmit+0x482/0xb70 ? __remove_hrtimer+0x41/0xa0 ? __xsk_generic_xmit+0x51/0xb70 ? _raw_spin_unlock_irqrestore+0xe/0x40 xsk_sendmsg+0xda/0x1c0 __sys_sendto+0x1ee/0x200 __x64_sys_sendto+0x24/0x30 do_syscall_64+0x84/0x2f0 ? __pfx_pollwake+0x10/0x10 ? __rseq_handle_notify_resume+0xad/0x4c0 ? restore_fpregs_from_fpstate+0x3c/0x90 ? switch_fpu_return+0x5b/0xe0 ? do_syscall_64+0x204/0x2f0 ? do_syscall_64+0x204/0x2f0 ? do_syscall_64+0x204/0x2f0 entry_SYSCALL_64_after_hwframe+0x76/0x7e </TASK> [...] Kernel panic - not syncing: Fatal exception in interrupt Kernel Offset: 0x1c000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) Instead use the skb destructor_arg pointer along with pointer tagging. As pointers are always aligned to 8B, use the bottom bit to indicate whether this a single address or an allocated struct containing several addresses.

How to fix

Remediation Available
linuxDebian
Fixed in:6.17.11-1CVE-2025-40290
linuxUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-awsUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-aws-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
linux-azureUbuntu
Fixed in:6.17.0-1010.10USN-8094-4
linux-azure-6.17Ubuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
linux-gcpUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-gcp-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
linux-hwe-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-6.17.0-1008-realtimeUbuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-6.17.0-1009-awsUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-aws-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-gcpUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-gcp-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-oracleUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1009-oracle-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-6.17.0-1010-azureUbuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-6.17.0-1010-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-6.17.0-1017-oemUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-6.17.0-19-genericUbuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-6.17.0-19-generic-64kUbuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-awsUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-aws-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.2USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-azureUbuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-azure-6.17Ubuntu
Fixed in:6.17.0-1010.10~24.04.1USN-8094-4
Fixed in:6.17.0-1010.10USN-8094-4
linux-image-gcpUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-gcp-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.3USN-8094-2
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-genericUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64kUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64k-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-generic-64k-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-generic-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-image-oem-24.04Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04aUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04bUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04cUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-24.04dUbuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oem-6.17Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-image-oracleUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-64kUbuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-oracle-64k-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
Fixed in:6.17.0-1009.9USN-8094-1
linux-image-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-raspi-6.17Ubuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-image-realtimeUbuntu
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-realtime-6.17Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-realtime-hwe-24.04Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3
Fixed in:6.17.0-1008.9USN-8094-2
linux-image-virtualUbuntu
Fixed in:6.17.0-19.19USN-8094-1
linux-image-virtual-6.17Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
Fixed in:6.17.0-19.19USN-8094-1
linux-image-virtual-hwe-24.04Ubuntu
Fixed in:6.17.0-19.19~24.04.2USN-8094-1
linux-oem-6.17Ubuntu
Fixed in:6.17.0-1017.17USN-8152-1
linux-oracleUbuntu
Fixed in:6.17.0-1009.9USN-8094-1
linux-oracle-6.17Ubuntu
Fixed in:6.17.0-1009.9~24.04.1USN-8094-1
linux-raspiUbuntu
Fixed in:6.17.0-1010.10USN-8094-5
linux-realtimeUbuntu
Fixed in:6.17.0-1008.9USN-8094-2
linux-realtime-6.17Ubuntu
Fixed in:6.17.0-1008.9~24.04.1USN-8094-3

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3.1 Vector

No CVSS vector data available.

Exploit Intelligence

0.15%probability of exploitation in 30 days
5thpercentile

Low risk: more likely to be exploited than 5% of all known CVEs.

References

Embed a live status badge for CVE-2025-40290
CVE-2025-40290 severity badge

Markdown

[![CVE-2025-40290](https://tridentstack.com/cve/badge/CVE-2025-40290.svg)](https://tridentstack.com/cve/CVE-2025-40290)

HTML

<a href="https://tridentstack.com/cve/CVE-2025-40290"><img src="https://tridentstack.com/cve/badge/CVE-2025-40290.svg" alt="CVE-2025-40290"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-12-08.