{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38006","id":"CVE-2025-38006","title":"net: mctp: Don't access ifa_index when missing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mctp: Don't access ifa_index when missing\n\nIn mctp_dump_addrinfo, ifa_index can be used to filter interfaces, but\nonly when the struct ifaddrmsg is provided. Otherwise it will be\ncomparing to uninitialised memory - reproducible in the syzkaller case from\ndhcpd, or busybox \"ip addr show\".\n\nThe kernel MCTP implementation has a","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mctp: Don't access ifa_index when missing\n\nIn mctp_dump_addrinfo, ifa_index can be used to filter interfaces, but\nonly when the struct ifaddrmsg is provided. Otherwise it will be\ncomparing to uninitialised memory - reproducible in the syzkaller case from\ndhcpd, or busybox \"ip addr show\".\n\nThe kernel MCTP implementation has always filtered by ifa_index, so\nexisting userspace programs expecting to dump MCTP addresses must\nalready be passing a valid ifa_index value (either 0 or a real index).\n\nBUG: KMSAN: uninit-value in mctp_dump_addrinfo+0x208/0xac0 net/mctp/device.c:128\n mctp_dump_addrinfo+0x208/0xac0 net/mctp/device.c:128\n rtnl_dump_all+0x3ec/0x5b0 net/core/rtnetlink.c:4380\n rtnl_dumpit+0xd5/0x2f0 net/core/rtnetlink.c:6824\n netlink_dump+0x97b/0x1690 net/netlink/af_netlink.c:2309","published":"2025-06-18T09:28:17.773Z","updated":"2026-11-01T02:31:01.185883613Z","reserved":"2025-04-16T04:51:23.977Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"583be982d93479ea3d85091b0fd0b01201ede87d","lessThan":"8ef7b3f0db69e2f4a80be351f6aee9a4c2332ef9","status":"affected","versionType":"git"},{"version":"583be982d93479ea3d85091b0fd0b01201ede87d","lessThan":"d22efcd246a7688599eefcf8e5c7985a3854ef5d","status":"affected","versionType":"git"},{"version":"583be982d93479ea3d85091b0fd0b01201ede87d","lessThan":"acab78ae12c7fefb4f3bfe22e00770a5faa42724","status":"affected","versionType":"git"},{"version":"583be982d93479ea3d85091b0fd0b01201ede87d","lessThan":"d4d1561d17eb72908e4489c0900d96e0484fac20","status":"affected","versionType":"git"},{"version":"583be982d93479ea3d85091b0fd0b01201ede87d","lessThan":"24fa213dffa470166ec014f979f36c6ff44afb45","status":"affected","versionType":"git"},{"version":"583be982d93479ea3d85091b0fd0b01201ede87d","lessThan":"f11cf946c0a92c560a890d68e4775723353599e1","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.92","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.30","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.14.8","lessThanOrEqual":"6.14.*","status":"unaffected","versionType":"semver"},{"version":"6.15","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-908"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8ef7b3f0db69e2f4a80be351f6aee9a4c2332ef9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d22efcd246a7688599eefcf8e5c7985a3854ef5d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/acab78ae12c7fefb4f3bfe22e00770a5faa42724","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d4d1561d17eb72908e4489c0900d96e0484fac20","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/24fa213dffa470166ec014f979f36c6ff44afb45","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/f11cf946c0a92c560a890d68e4775723353599e1","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38006.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38006","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00206,"epssPercentile":0.10772,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38006","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38006","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38006","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38006","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}