Look up another CVE · open CVE-2025-38006 in the interactive tracker
CVE-2025-38006
net: mctp: Don't access ifa_index when missing
Published 2025-06-18 (16 months ago) by the Linux kernel CNA. Subsystem net/mctp. Debian urgency: not yet assigned.
Debian does not build this code. The per-release build detail is under "Where it lives" below.
What to do, per Debian release
Debian's own status for CVE-2025-38006 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source
| Release | Status | Version | What this means |
|---|---|---|---|
| Debian 12bookworm | vulnerable | 6.1.190-1 | No fix published anywhere yet, neither in Debian nor upstream for the series bookworm tracks. Watch the Debian tracker page for this CVE. Advisories for bookworm have historically landed a median of 23 days after publication. |
| Debian 13trixie | fixed | 6.12.30-1 | Update the kernel and reboot. Fixed in 6.12.30-1. A running kernel keeps the old code until the machine restarts. |
| Debian 14forky | fixed | 6.12.30-1 | Update the kernel and reboot. Fixed in 6.12.30-1. A running kernel keeps the old code until the machine restarts. |
| Debian unstablesid | fixed | 6.12.30-1 | Update the kernel and reboot. Fixed in 6.12.30-1. A running kernel keeps the old code until the machine restarts. |
The vulnerability
What the bug is
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
Where it lives
The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.
net/mctp/device.c
- What this is
- MANAGEMENT COMPONENT TRANSPORT PROTOCOL (MCTP)MAINTAINERS section matched on net/mctp/ · netdev@vger.kernel.org · Maintained
- Kernel module
- none to look for. The file would have gone into mctp, and Debian does not compile it into that module, so finding mctp in lsmod would say nothing about this CVE.
Check it on the machine
grep -w CONFIG_MCTP /boot/config-$(uname -r)Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.
Show whether Debian builds this, per release
Debian does not build this code. In 4 releases below, every kernel flavour Debian publishes has the switch off, so the vulnerable file is compiled into no kernel binary Debian ships.
- bookworm, trixie, forky, sidn
- n
- not enabled on any flavour - this release does not build the code
- Build switch
- CONFIG_MCTP
From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages
Signals
- Published
- 2025-06-18 (16 months ago)source
- CVSS
- no vector published, unrated
- Attack vector
- not published
- EPSS
- 0.19%, higher than 8.1% of all CVEssource
- CISA KEV
- not listedthe KEV catalogue
- Debian urgency
- not yet assignedsource
- Subsystem
- net/mctp
Upstream fixes
The versions the CNA records as introducing and fixing this, and the commit for each. source
| Introduced | Fixed in | Commit |
|---|---|---|
| 5.15 | 5.15.203 | 8ef7b3f0db69 |
| 5.15 | 6.6.92 | acab78ae12c7 |
| 5.15 | 6.12.30 | d4d1561d17eb |
| 5.15 | 6.14.8 | 24fa213dffa4 |
| 5.15 | 6.15 | f11cf946c0a9 |
Why the CNA scored it this way
The kernel CNA published no CVSS vector and no reasoning for CVE-2025-38006, which is why it is shown as unrated rather than given an invented score. 6,405 of the 20,413 CVEs here carry reasoning; this is not one of them.