{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-98525","id":"CVE-2026-98525","title":"mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()\n\nWhen a socket transmits a packet with MCTP_TAG_PREALLOC set,\nmctp_lookup_prealloc_tag() iterates over the per-netns &mns->keys list\nand matches netid, req_tag, peer_addr, and manual_alloc, without\nchecking whether tmp->sk == &msk->sk. This allows any MCTP socket ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()\n\nWhen a socket transmits a packet with MCTP_TAG_PREALLOC set,\nmctp_lookup_prealloc_tag() iterates over the per-netns &mns->keys list\nand matches netid, req_tag, peer_addr, and manual_alloc, without\nchecking whether tmp->sk == &msk->sk. This allows any MCTP socket in the\nsame network namespace to use and consume another socket's preallocated\ntag.\n\nIterate the socket's own tag list (&msk->keys via sklist) instead of the\nnamespace-wide &mns->keys list in mctp_lookup_prealloc_tag(), ensuring\nthat only tags allocated by msk are matched.\n\nTested in QEMU against Linux 7.3.0-rc3 by allocating a manual tag\n(0x18) on socket A via SIOCMCTPALLOCTAG for peer EID 9 and sending a\n4-byte message with MCTP_TAG_PREALLOC from socket B in the same network\nnamespace. On the unfixed kernel, sendto(sock_b) using socket A's\npreallocated tag succeeds (ret = 4); with this patch applied,\nsendto(sock_b) fails with -ENOENT (errno = 2) while sendto(sock_a)\nsucceeds (ret = 4).","published":"2026-10-18T15:17:43.216Z","updated":"2026-10-28T02:30:56.959953424Z","reserved":"2026-09-25T10:25:14.355Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"63ed1aab3d40aa61aaa66819bdce9377ac7f40fa","lessThan":"09299addab11857e92eca55cd8ef3350b927c90c","status":"affected","versionType":"git"},{"version":"63ed1aab3d40aa61aaa66819bdce9377ac7f40fa","lessThan":"e35cb500dd14882f8dee61783fccd1823fd3ab0d","status":"affected","versionType":"git"},{"version":"63ed1aab3d40aa61aaa66819bdce9377ac7f40fa","lessThan":"f178300e2f56ca9ec2a3a0090608730bbee0af7b","status":"affected","versionType":"git"},{"version":"63ed1aab3d40aa61aaa66819bdce9377ac7f40fa","lessThan":"26cc0e69cce062cd3aa6fae33074684669c35a71","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.18","status":"affected"},{"version":"0","lessThan":"5.18","status":"unaffected","versionType":"semver"},{"version":"6.12.112","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.55","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.9","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/09299addab11857e92eca55cd8ef3350b927c90c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/e35cb500dd14882f8dee61783fccd1823fd3ab0d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f178300e2f56ca9ec2a3a0090608730bbee0af7b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/26cc0e69cce062cd3aa6fae33074684669c35a71","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98525.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98525","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00209,"epssPercentile":0.11175,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98525","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98525","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-98525","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-2026-98525","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}