Linux Kernel idpf
CVE-2025-38402
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local account with net-admin rights
-
ExploitRun ethtool -x on idpf device lacking RSS caps
-
ImpactOversized kmalloc trips allocator WARN/DoS
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Triggering requires: (1) a kernel built with the Intel idpf driver, (2) a device bound to idpf that does NOT have RSS capabilities set - the report states the crash 'is visible on all devices that don't have RSS caps set', and (3) a local caller issuing the ethtool RSS get operation ('ethtool -x eth0'), which requires CAP_NET_ADMIN. Limiting factors: exploitation is purely local (no network vector), needs existing privilege to call ethtool, affects only 6.16 release-candidate kernels per the CPE (not any stable production release), and the impact is a kernel WARN splat that only becomes a full crash where panic_on_warn is enabled. There is no remote, unauthenticated, or user-interaction path. |
| Impact | This is a genuine but low-urgency defect, not a high-impact security emergency. The CVSS vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, base 5.5 MEDIUM) describes a locally-triggered, availability-only bug requiring existing privileges - there is no confidentiality or integrity impact and no remote reachability. The multi-source signals are consistent and point the same direction: EPSS is very low at 0.18% (7th percentile), there is no CISA KEV listing (not actively exploited), and no public exploit or PoC reference is present in the input. The vuln.today decision label is 'this_month', i.e. routine patch cadence rather than act_now/emergency. The mechanism is a kernel bug in the Intel idpf driver where ethtool's RSS key size getter returns -EOPNOTSUPP from a u32-returning function; the negative value is cast to a huge unsigned size, driving an oversized allocation that trips a WARN in the page allocator (visible in the trace as rss_prepare_get → __kmalloc_noprof → __alloc_pages_noprof warning). Note a data nuance: the CWE is tagged CWE-476 (NULL pointer dereference), but the description and call trace actually show an invalid/oversized allocation triggering a WARN, not a null dereference - the CWE mechanism label does not match the described root cause. Realistic risk: a local user able to run ethtool on an affected device can produce a kernel warning/splat (and a hard crash only under panic_on_warn), so this is a local denial-of-service at most. Overall this is a correctly-rated medium issue with low real-world exploitation pressure. |
| Exploit ScenarioDerived | A local user with network-admin capability on a host running an affected 6.16 release-candidate kernel runs 'ethtool -x eth0' against an idpf-bound NIC that lacks RSS capabilities. The driver returns -EOPNOTSUPP as a u32 size, which is cast to an enormous value and passed to kmalloc, tripping a page-allocator WARN (and a crash if panic_on_warn is set). No public exploit code is identified; the reproduction is trivial and documented in the report itself. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
A local denial-of-service defect in the Linux kernel's Intel idpf Ethernet driver causes an invalid, extremely large allocation size when ethtool queries the RSS key on a device that does not advertise RSS capabilities. When rss_prepare_get() propagates the negative error code -EOPNOTSUPP out of a function typed as u32, the value is reinterpreted as a near-4GB size and fed to kmalloc, producing an allocation-failure warning splat (and a full kernel panic where panic_on_warn is enabled). The flaw is reachable only by a local caller with CAP_NET_ADMIN issuing 'ethtool -x eth0' against an idpf-bound device lacking RSS caps; the CPE data scopes it to Linux 6.16 release-candidate kernels (rc1 through rc4), not stable production releases. No public exploit code has been identified at time of analysis, EPSS is 0.18% (7th percentile), and the issue is not in CISA KEV.
RemediationAI
Vendor patch data indicates a fix is available, delivered as the upstream kernel commits 018ff57fd79c38be989b8b3248bbe69bcfb77160, 326e384ee7acbebf0541ac064ac7a4dd1f1dde1d and f77bf1ebf8ff6301ccdbc346f7b52db928f9cbf8 (see https://git.kernel.org/stable/c/018ff57fd79c38be989b8b3248bbe69bcfb77160, https://git.kernel.org/stable/c/326e384ee7acbebf0541ac064ac7a4dd1f1dde1d and https://git.kernel.org/stable/c/f77bf1ebf8ff6301ccdbc346f7b52db928f9cbf8); released patched version numbers are not independently confirmed in the supplied data, so operators should apply the referenced commit or the corresponding stable update for their branch rather than assume a specific tag. Because the input lists no version-bearing advisory, no exact upgrade version is asserted here. Compensating controls while patching, given the assessed preconditions: avoid issuing 'ethtool -x' against idpf devices that lack RSS caps, and restrict CAP_NET_ADMIN to trusted administrators, accepting that this only removes the trigger rather than the defect; keep panic_on_warn disabled on systems using idpf, with the trade-off that other kernel warnings then also fail to halt the machine. The practical exposure is limited to 6.16-rc builds with idpf hardware lacking RSS caps, so simply not deploying a release-candidate kernel in production also removes the risk.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the idpf driver (Intel Infrastructure Data Path Function) in the Linux kernel's ethtool netlink path. The ethtool RSS 'get' handler calls rss_prepare_get(), which asks the driver for the RSS key size; the driver helper returns a u32, but on devices where RSS capabilities are not set it returned the negative errno -EOPNOTSUPP. Because the error is carried in an unsigned 32-bit return type rather than being signalled out-of-band, the caller sees a massive positive size and passes it to kmalloc, which walks into the large-allocation path (__alloc_frozen_pages_noprof / ___kmalloc_large_node) and trips the page allocator's warning. The database classifies this as CWE-476 (NULL pointer dereference), consistent with the tags, while the mechanism described in the upstream commit is the signed error-code-to-size confusion. Triggering requires a kernel built with idpf, a device bound to idpf that does not have RSS caps set (the commit notes the crash 'is visible on all devices that don't have RSS caps set'), and a local caller running the ethtool RSS get operation, which requires CAP_NET_ADMIN. The CVSS vector is AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H: strictly local, requiring existing privileges, no user interaction, confidentiality and integrity unaffected, availability impact high. There is no remote or unauthenticated path, and the visible impact is a kernel WARN splat that escalates to a crash only when panic_on_warn is enabled.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Local-only ethtool call needing CAP_NET_ADMIN so AV:L and PR:L; reliably reproducible so AC:L; availability-only kernel WARN/crash so C:N/I:N/A:H.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
In the Linux kernel, the following vulnerability has been resolved:
idpf: return 0 size for RSS key if not supported
Returning -EOPNOTSUPP from function returning u32 is leading to cast and invalid size value as a result.
-EOPNOTSUPP as a size probably will lead to allocation fail.
Command: ethtool -x eth0 It is visible on all devices that don't have RSS caps set.
[ 136.615917] Call Trace: [ 136.615921] <TASK> [ 136.615927] ? __warn+0x89/0x130 [ 136.615942] ? __alloc_frozen_pages_noprof+0x322/0x330 [ 136.615953] ? report_bug+0x164/0x190 [ 136.615968] ? handle_bug+0x58/0x90 [ 136.615979] ? exc_invalid_op+0x17/0x70 [ 136.615987] ? asm_exc_invalid_op+0x1a/0x20 [ 136.616001] ? rss_prepare_get.constprop.0+0xb9/0x170 [ 136.616016] ? __alloc_frozen_pages_noprof+0x322/0x330 [ 136.616028] __alloc_pages_noprof+0xe/0x20 [ 136.616038] ___kmalloc_large_node+0x80/0x110 [ 136.616072] __kmalloc_large_node_noprof+0x1d/0xa0 [ 136.616081] __kmalloc_noprof+0x32c/0x4c0 [ 136.616098] ? rss_prepare_get.constprop.0+0xb9/0x170 [ 136.616105] rss_prepare_get.constprop.0+0xb9/0x170 [ 136.616114] ethnl_default_doit+0x107/0x3d0 [ 136.616131] genl_family_rcv_msg_doit+0x100/0x160 [ 136.616147] genl_rcv_msg+0x1b8/0x2c0 [ 136.616156] ? __pfx_ethnl_default_doit+0x10/0x10 [ 136.616168] ? __pfx_genl_rcv_msg+0x10/0x10 [ 136.616176] netlink_rcv_skb+0x58/0x110 [ 136.616186] genl_rcv+0x28/0x40 [ 136.616195] netlink_unicast+0x19b/0x290 [ 136.616206] netlink_sendmsg+0x222/0x490 [ 136.616215] __sys_sendto+0x1fd/0x210 [ 136.616233] __x64_sys_sendto+0x24/0x30 [ 136.616242] do_syscall_64+0x82/0x160 [ 136.616252] ? __sys_recvmsg+0x83/0xe0 [ 136.616265] ? syscall_exit_to_user_mode+0x10/0x210 [ 136.616275] ? do_syscall_64+0x8e/0x160 [ 136.616282] ? __count_memcg_events+0xa1/0x130 [ 136.616295] ? count_memcg_events.constprop.0+0x1a/0x30 [ 136.616306] ? handle_mm_fault+0xae/0x2d0 [ 136.616319] ? do_user_addr_fault+0x379/0x670 [ 136.616328] ? clear_bhb_loop+0x45/0xa0 [ 136.616340] ? clear_bhb_loop+0x45/0xa0 [ 136.616349] ? clear_bhb_loop+0x45/0xa0 [ 136.616359] entry_SYSCALL_64_after_hwframe+0x76/0x7e [ 136.616369] RIP: 0033:0x7fd30ba7b047 [ 136.616376] Code: 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 80 3d bd d5 0c 00 00 41 89 ca 74 10 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 71 c3 55 48 83 ec 30 44 89 4c 24 2c 4c 89 44 [ 136.616381] RSP: 002b:00007ffde1796d68 EFLAGS: 00000202 ORIG_RAX: 000000000000002c [ 136.616388] RAX: ffffffffffffffda RBX: 000055d7bd89f2a0 RCX: 00007fd30ba7b047 [ 136.616392] RDX: 0000000000000028 RSI: 000055d7bd89f3b0 RDI: 0000000000000003 [ 136.616396] RBP: 00007ffde1796e10 R08: 00007fd30bb4e200 R09: 000000000000000c [ 136.616399] R10: 0000000000000000 R11: 0000000000000202 R12: 000055d7bd89f340 [ 136.616403] R13: 000055d7bd89f3b0 R14: 000055d78943f200 R15: 0000000000000000
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB