CVE-2025-38006
net: mctp: Don't access ifa_index when missing
Reported by linux · Published June 18, 2025
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
EPSS 0.21% · 10.7th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 583be982d93479ea3d85091b0fd0b01201ede87d, 583be982d93479ea3d85091b0fd0b01201ede87d, 583be982d93479ea3d85091b0fd0b01201ede87d |
| Linux | Linux | 5.15, 0, 5.15.203 |
| Linux | Linux | 6.15, 0, 5.15.203 |
| linux | linux_kernel | 5.15, 5.15, 5.15 |
Timeline
- Jun 17, 2025 CVE Published
- Jun 18, 2025 EPSS Score (30 in total, the first dated here)
- Jun 18, 2025 Coalition ESS Score (9 in total, the first dated here)
- Oct 12, 2025 PoC Published (9 in total, the first dated here)
- Dec 15, 2025 Security Advisory (281 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (270 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38006
vulnetix vdb fixes CVE-2025-38006
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38006/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart