# CVE-2025-38402: idpf: return 0 size for RSS key if not supported

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; 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.26% (percentile 11, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2025-07-25T12:53:45.677Z
- **Modified:** 2026-11-05T21:18:30.443Z

## Who should check

- Anyone running Linux \>= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, \< 018ff57fd79c38be989b8b3248bbe69bcfb77160; \>= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, \< 326e384ee7acbebf0541ac064ac7a4dd1f1dde1d; \>= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, \< f77bf1ebf8ff6301ccdbc346f7b52db928f9cbf8
- Anyone running Linux 6.7

## Description

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

## Affected and fixed versions

- Linux: \>= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, \< 018ff57fd79c38be989b8b3248bbe69bcfb77160; \>= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, \< 326e384ee7acbebf0541ac064ac7a4dd1f1dde1d; \>= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, \< f77bf1ebf8ff6301ccdbc346f7b52db928f9cbf8 (cvelist)
- Linux: 6.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38402. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38402.md
Affected: Linux >= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, < 018ff57fd79c38be989b8b3248bbe69bcfb77160; >= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, < 326e384ee7acbebf0541ac064ac7a4dd1f1dde1d; >= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, < f77bf1ebf8ff6301ccdbc346f7b52db928f9cbf8; Linux 6.7
Fixed in: Linux 018ff57fd79c38be989b8b3248bbe69bcfb77160, Linux 326e384ee7acbebf0541ac064ac7a4dd1f1dde1d

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-2025-38402 being exploited?

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

### How serious is CVE-2025-38402?

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

### Which versions are affected by CVE-2025-38402?

Linux \>= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, \< 018ff57fd79c38be989b8b3248bbe69bcfb77160; \>= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, \< 326e384ee7acbebf0541ac064ac7a4dd1f1dde1d; \>= 02cbfba1add5bd9088c7d14c6b93b77a6ea8f3bb, \< f77bf1ebf8ff6301ccdbc346f7b52db928f9cbf8; Linux 6.7.

### Is there a fix for CVE-2025-38402?

Yes. Fixed in Linux 018ff57fd79c38be989b8b3248bbe69bcfb77160, Linux 326e384ee7acbebf0541ac064ac7a4dd1f1dde1d. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38402?

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/018ff57fd79c38be989b8b3248bbe69bcfb77160>
- patch: <https://git.kernel.org/stable/c/326e384ee7acbebf0541ac064ac7a4dd1f1dde1d>
- patch: <https://git.kernel.org/stable/c/f77bf1ebf8ff6301ccdbc346f7b52db928f9cbf8>

## 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-2025-38402>

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