{"schema":"threatline.record/2","record":{"id":"CVE-2026-98525","aliases":[],"summary":"mctp: route: iterate socket tag list in mctp_lookup_prealloc_tag()","details":"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).","categories":["Operating systems"],"product":"Linux","vendor":"Linux","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98525","source_modified_at":"2026-10-19T09:21:07.010Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","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"}],"defaultStatus":"unaffected"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98525","source_modified_at":"2026-10-19T09:21:07.010Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"Linux","vendor":"Linux","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"}],"defaultStatus":"affected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98525","source_modified_at":"2026-10-19T09:21:07.010Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"09299addab11857e92eca55cd8ef3350b927c90c","basis":"first unaffected version stated in the CVE record"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-98525","source_modified_at":"2026-10-19T09:21:07.010Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"Linux","ecosystem":null},"version":"26cc0e69cce062cd3aa6fae33074684669c35a71","basis":"first unaffected version stated in the CVE record"}],"cvss":null,"severity":null,"kev":{"listed":false},"epss":{"probability":0.00209,"percentile":0.10479,"score_date":"2026-10-23"},"published_at":"2026-10-18T15:17:43.216Z","modified_at":"2026-10-19T09:21:07.010Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98525","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2026-10-19T09:21:07.010Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-98525","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://git.kernel.org/stable/c/09299addab11857e92eca55cd8ef3350b927c90c"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/e35cb500dd14882f8dee61783fccd1823fd3ab0d"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/f178300e2f56ca9ec2a3a0090608730bbee0af7b"},{"source":"CVE List","url":"https://git.kernel.org/stable/c/26cc0e69cce062cd3aa6fae33074684669c35a71"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"product","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-19T09:21:07.010Z","content_hash":"03f8a3d38faddc2d4f752c3c047dbf9dada3c86dadccb888009767a40813cc58"}}
