{"id":"CVE-2026-143272","state":"PUBLISHED","title":"ip6mr: Serialize multicast router socket ownership","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nip6mr: Serialize multicast router socket ownership\n\nMRT6_TABLE checks whether the socket owns its current table before\nacquiring RTNL. MRT6_INIT also looks up its table before taking RTNL.\nConsequently, concurrent TABLE and INIT calls can initialize the old\ntable and then change the socket's selected table. Another INIT can\nregister the same socket in the new table.\n\nrawv6_close() calls ip6mr_sk_done(), which clears only the first table\nowned by the socket. After the socket's RCU-delayed free, the other\ntable retains a dangling mroute_sk pointer. A subsequent multicast cache\nreport passes that pointer to sock_queue_rcv_skb_reason(). This produces\na KASAN slab-use-after-free in sk_filter_trim_cap().\n\nLook up the selected table in ip6mr_sk_init() after acquiring RTNL.\nLikewise, re-read the current table and check its owner under RTNL in\nMRT6_TABLE before updating the selection. This preserves the single-table\nownership invariant shared with ip6mr_sk_done(), without changing the\nlocking of the other multicast socket options.","publishedAt":"2026-12-03T09:21:13.728Z","updatedAt":"2026-12-03T09:21:13.728Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d1db275dd3f6e4182c4c4b4a1ac6287925d60569","status":"affected","lessThan":"3ebf0303d121825f2cff9d050b6e4f8a6b85214d","versionType":"git"},{"version":"d1db275dd3f6e4182c4c4b4a1ac6287925d60569","status":"affected","lessThan":"0978e904f7e1470f793a6d095a5413a47b31a7df","versionType":"git"},{"version":"d1db275dd3f6e4182c4c4b4a1ac6287925d60569","status":"affected","lessThan":"f9ca379fec83686acc41e97ee714c99544abbc16","versionType":"git"},{"version":"d1db275dd3f6e4182c4c4b4a1ac6287925d60569","status":"affected","lessThan":"c6b41de4dd9f2d6856d8d8d292348f7961034152","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6mr.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.35","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.35","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6mr.c"]}],"references":["https://git.kernel.org/stable/c/3ebf0303d121825f2cff9d050b6e4f8a6b85214d","https://git.kernel.org/stable/c/0978e904f7e1470f793a6d095a5413a47b31a7df","https://git.kernel.org/stable/c/f9ca379fec83686acc41e97ee714c99544abbc16","https://git.kernel.org/stable/c/c6b41de4dd9f2d6856d8d8d292348f7961034152"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143272.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143272","state":"PUBLISHED","datePublished":"2026-12-03T09:21:13.728Z","dateUpdated":"2026-12-03T09:21:13.728Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.363Z"},"containers":{"cna":{"title":"ip6mr: Serialize multicast router socket ownership","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nip6mr: Serialize multicast router socket ownership\n\nMRT6_TABLE checks whether the socket owns its current table before\nacquiring RTNL. MRT6_INIT also looks up its table before taking RTNL.\nConsequently, concurrent TABLE and INIT calls can initialize the old\ntable and then change the socket's selected table. Another INIT can\nregister the same socket in the new table.\n\nrawv6_close() calls ip6mr_sk_done(), which clears only the first table\nowned by the socket. After the socket's RCU-delayed free, the other\ntable retains a dangling mroute_sk pointer. A subsequent multicast cache\nreport passes that pointer to sock_queue_rcv_skb_reason(). This produces\na KASAN slab-use-after-free in sk_filter_trim_cap().\n\nLook up the selected table in ip6mr_sk_init() after acquiring RTNL.\nLikewise, re-read the current table and check its owner under RTNL in\nMRT6_TABLE before updating the selection. This preserves the single-table\nownership invariant shared with ip6mr_sk_done(), without changing the\nlocking of the other multicast socket options."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d1db275dd3f6e4182c4c4b4a1ac6287925d60569","status":"affected","lessThan":"3ebf0303d121825f2cff9d050b6e4f8a6b85214d","versionType":"git"},{"version":"d1db275dd3f6e4182c4c4b4a1ac6287925d60569","status":"affected","lessThan":"0978e904f7e1470f793a6d095a5413a47b31a7df","versionType":"git"},{"version":"d1db275dd3f6e4182c4c4b4a1ac6287925d60569","status":"affected","lessThan":"f9ca379fec83686acc41e97ee714c99544abbc16","versionType":"git"},{"version":"d1db275dd3f6e4182c4c4b4a1ac6287925d60569","status":"affected","lessThan":"c6b41de4dd9f2d6856d8d8d292348f7961034152","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6mr.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.35","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.35","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv6/ip6mr.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/3ebf0303d121825f2cff9d050b6e4f8a6b85214d"},{"url":"https://git.kernel.org/stable/c/0978e904f7e1470f793a6d095a5413a47b31a7df"},{"url":"https://git.kernel.org/stable/c/f9ca379fec83686acc41e97ee714c99544abbc16"},{"url":"https://git.kernel.org/stable/c/c6b41de4dd9f2d6856d8d8d292348f7961034152"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:13.728Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.35","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}