CVE-2025-38006

net: mctp: Don't access ifa_index when missing

MEDIUM
5.5
CVSS Score
Published: June 18, 2025 at 09:28 AM UTC
Updated: June 17, 2026 at 09:15 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: net: mctp: Don't access ifa_index when missing In mctp_dump_addrinfo, ifa_index can be used to filter interfaces, but only when the struct ifaddrmsg is provided. Otherwise it will be comparing to uninitialised memory - reproducible in the syzkaller case from dhcpd, or busybox "ip addr show". The kernel MCTP implementation has always filtered by ifa_index, so existing userspace programs expecting to dump MCTP addresses must already be passing a valid ifa_index value (either 0 or a real index). BUG: KMSAN: uninit-value in mctp_dump_addrinfo+0x208/0xac0 net/mctp/device.c:128 mctp_dump_addrinfo+0x208/0xac0 net/mctp/device.c:128 rtnl_dump_all+0x3ec/0x5b0 net/core/rtnetlink.c:4380 rtnl_dumpit+0xd5/0x2f0 net/core/rtnetlink.c:6824 netlink_dump+0x97b/0x1690 net/netlink/af_netlink.c:2309

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 5.15.2035.15 ≤ v < 6.12.305.15 ≤ v < 6.14.85.15 ≤ v < 6.155.15 ≤ v < 6.6.926.13 ≤ v < 6.14.86.7 ≤ v < 6.12.305.15583be982d93479ea3d85091b0fd0b01201ede87d6.15 rc16.15 rc26.15 rc36.15 rc46.15 rc56.15 rc6
Vendor states this is fixed in 24fa213dffa470166ec014f979f36c6ff44afb45 (fixed)
Vendor states this is fixed in 8ef7b3f0db69e2f4a80be351f6aee9a4c2332ef9 (fixed)
Vendor states this is fixed in acab78ae12c7fefb4f3bfe22e00770a5faa42724 (fixed)
Vendor states this is fixed in d4d1561d17eb72908e4489c0900d96e0484fac20 (fixed)
Vendor states this is fixed in f11cf946c0a92c560a890d68e4775723353599e1 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 5.15.203 (unaffected)
Vendor states this is fixed in 6.12.30 (unaffected)
Vendor states this is fixed in 6.14.8 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.92 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-908

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card