We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-38006

net: mctp: Don't access ifa_index when missing



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

Reserved 2025-04-16 | Published 2025-06-18 | Updated 2025-06-18 | Assigner Linux

Product status

Default status
unaffected

583be982d93479ea3d85091b0fd0b01201ede87d before acab78ae12c7fefb4f3bfe22e00770a5faa42724
affected

583be982d93479ea3d85091b0fd0b01201ede87d before d4d1561d17eb72908e4489c0900d96e0484fac20
affected

583be982d93479ea3d85091b0fd0b01201ede87d before 24fa213dffa470166ec014f979f36c6ff44afb45
affected

583be982d93479ea3d85091b0fd0b01201ede87d before f11cf946c0a92c560a890d68e4775723353599e1
affected

Default status
affected

5.15
affected

Any version before 5.15
unaffected

6.6.92
unaffected

6.12.30
unaffected

6.14.8
unaffected

6.15
unaffected

References

git.kernel.org/...c/acab78ae12c7fefb4f3bfe22e00770a5faa42724

git.kernel.org/...c/d4d1561d17eb72908e4489c0900d96e0484fac20

git.kernel.org/...c/24fa213dffa470166ec014f979f36c6ff44afb45

git.kernel.org/...c/f11cf946c0a92c560a890d68e4775723353599e1

cve.org (CVE-2025-38006)

nvd.nist.gov (CVE-2025-38006)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-38006

Support options

Helpdesk Chat, Email, Knowledgebase