# CVE-2026-98525: mctp: route: iterate socket tag list in mctp\_lookup\_prealloc\_tag()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-28)
- **Published:** 2026-10-18T15:17:43.216Z
- **Modified:** 2026-11-23T08:17:27.273Z

## Who should check

- Anyone running Linux \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< de069b0e333094441e84c309ceb2af0129f79396; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< 4a2209a5390df1e491296a87b22a14a55da0eadf; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< 09299addab11857e92eca55cd8ef3350b927c90c; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< e35cb500dd14882f8dee61783fccd1823fd3ab0d; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< f178300e2f56ca9ec2a3a0090608730bbee0af7b; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< 26cc0e69cce062cd3aa6fae33074684669c35a71
- Anyone running Linux 5.18

## Description

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

mctp: route: iterate socket tag list in mctp\_lookup\_prealloc\_tag()

When a socket transmits a packet with MCTP\_TAG\_PREALLOC set,
mctp\_lookup\_prealloc\_tag() iterates over the per-netns &mns-\>keys list
and matches netid, req\_tag, peer\_addr, and manual\_alloc, 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 mctp\_lookup\_prealloc\_tag(), 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 MCTP\_TAG\_PREALLOC from socket B in the same network
namespace. On the unfixed kernel, sendto(sock\_b) using socket A's
preallocated tag succeeds (ret = 4); with this patch applied,
sendto(sock\_b) fails with -ENOENT (errno = 2) while sendto(sock\_a)
succeeds (ret = 4).

## Affected and fixed versions

- Linux: \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< de069b0e333094441e84c309ceb2af0129f79396; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< 4a2209a5390df1e491296a87b22a14a55da0eadf; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< 09299addab11857e92eca55cd8ef3350b927c90c; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< e35cb500dd14882f8dee61783fccd1823fd3ab0d; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< f178300e2f56ca9ec2a3a0090608730bbee0af7b; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< 26cc0e69cce062cd3aa6fae33074684669c35a71 (cvelist)
- Linux: 5.18 (cvelist)

## Mitigation

- Upgrade Linux to 26cc0e69cce062cd3aa6fae33074684669c35a71 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98525. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98525.md
Affected: Linux >= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, < de069b0e333094441e84c309ceb2af0129f79396; >= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, < 4a2209a5390df1e491296a87b22a14a55da0eadf; >= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, < 09299addab11857e92eca55cd8ef3350b927c90c; >= 63ed1aab3d40aa61aaa6681…
Fixed in: Linux 4a2209a5390df1e491296a87b22a14a55da0eadf, Linux 09299addab11857e92eca55cd8ef3350b927c90c, Linux 26cc0e69cce062cd3aa6fae33074684669c35a71

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98525 being exploited?

There is no confirmed exploitation: CVE-2026-98525 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-98525?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98525?

Linux \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< de069b0e333094441e84c309ceb2af0129f79396; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< 4a2209a5390df1e491296a87b22a14a55da0eadf; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< 09299addab11857e92eca55cd8ef3350b927c90c; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< e35cb500dd14882f8dee61783fccd1823fd3ab0d; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< f178300e2f56ca9ec2a3a0090608730bbee0af7b; \>= 63ed1aab3d40aa61aaa66819bdce9377ac7f40fa, \< 26cc0e69cce062cd3aa6fae33074684669c35a71; Linux 5.18.

### Is there a fix for CVE-2026-98525?

Yes. Fixed in Linux 4a2209a5390df1e491296a87b22a14a55da0eadf, Linux 09299addab11857e92eca55cd8ef3350b927c90c, Linux 26cc0e69cce062cd3aa6fae33074684669c35a71. Upgrade Linux to 26cc0e69cce062cd3aa6fae33074684669c35a71 or later.

### How do I check if I'm affected by CVE-2026-98525?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/de069b0e333094441e84c309ceb2af0129f79396>
- other: <https://git.kernel.org/stable/c/4a2209a5390df1e491296a87b22a14a55da0eadf>
- other: <https://git.kernel.org/stable/c/09299addab11857e92eca55cd8ef3350b927c90c>
- other: <https://git.kernel.org/stable/c/e35cb500dd14882f8dee61783fccd1823fd3ab0d>
- other: <https://git.kernel.org/stable/c/f178300e2f56ca9ec2a3a0090608730bbee0af7b>
- other: <https://git.kernel.org/stable/c/26cc0e69cce062cd3aa6fae33074684669c35a71>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98525>

HTML: <https://flawdb.com/CVE-2026-98525> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98525>
