CVE-2026-98525: mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()

Published Oct 18, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

mctp: route: iterate socket tag list in mctplookupprealloctag()

When a socket transmits a packet with MCTPTAGPREALLOC set, mctplookupprealloctag() iterates over the per-netns &mns->keys list and matches netid, reqtag, peeraddr, and manualalloc, without checking whether tmp->sk == &msk->sk. This allows any MCTP socket in the same network namespace to use and consume another socket's preallocated tag.

Iterate the socket's own tag list (&msk->keys via sklist) instead of the namespace-wide &mns->keys list in mctplookupprealloctag(), ensuring that only tags allocated by msk are matched.

Tested in QEMU against Linux 7.3.0-rc3 by allocating a manual tag (0x18) on socket A via SIOCMCTPALLOCTAG for peer EID 9 and sending a 4-byte message with MCTPTAGPREALLOC from socket B in the same network namespace. On the unfixed kernel, sendto(sockb) using socket A's preallocated tag succeeds (ret = 4); with this patch applied, sendto(sockb) fails with -ENOENT (errno = 2) while sendto(socka) succeeds (ret = 4).

Affected Software

1 affected component
Linux Linux kernel

Event History

Oct 18, 2026
CVE Published
via MITRE·03:17 PM
Data Sourced
via MITRE·03:17 PM
Description
Data Sourced
via NVD·04:17 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203