{"id":"CVE-2026-139134","state":"PUBLISHED","title":"net: mctp: free reassembly head skb when key_add fails on SOM","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mctp: free reassembly head skb when key_add fails on SOM\n\nWhen a start-of-message fragment creates a new reassembly key on the\nbroadcast/bind path, mctp_frag_queue() stores the skb as\nkey->reasm_head before the key is made observable with mctp_key_add().\n\nIf mctp_key_add() fails (a race with another SOM packet for the same\nsource/dest/tag, or the receiving socket going away), the error path\nonly drops the key reference via mctp_key_unref().  The final key\ndestructor frees the key itself but not key->reasm_head, and since the\nkey was never added to any list, neither the expiry worker nor socket\nteardown can reach it to release the queued fragment.  The skb is\nleaked.\n\nFree key->reasm_head on the key_add failure path before releasing the\nkey.  Other teardown paths (__mctp_key_done_in(), EOM delivery) already\nclear reasm_head before the final unref, so this only affects the\nfailure path.","publishedAt":"2026-11-30T13:31:53.791Z","updatedAt":"2026-11-30T13:31:53.791Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"e9bb19cc98c66ad7fc695806e10b63a5c0dcec67","versionType":"git"},{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"2f3bcca32ddf14dd61ea280089a3b1dd4c2493bb","versionType":"git"},{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"29087f7d8a36155b805d8b70cc8940c66ed691fb","versionType":"git"},{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"dcc521f4255a390c6e4d14f6cca8622a91c59585","versionType":"git"},{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"d2bfe74a8fe219a86b86c1f126e1d722a5001790","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mctp/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mctp/route.c"]}],"references":["https://git.kernel.org/stable/c/e9bb19cc98c66ad7fc695806e10b63a5c0dcec67","https://git.kernel.org/stable/c/2f3bcca32ddf14dd61ea280089a3b1dd4c2493bb","https://git.kernel.org/stable/c/29087f7d8a36155b805d8b70cc8940c66ed691fb","https://git.kernel.org/stable/c/dcc521f4255a390c6e4d14f6cca8622a91c59585","https://git.kernel.org/stable/c/d2bfe74a8fe219a86b86c1f126e1d722a5001790"],"weaknesses":[],"ingestedAt":"2026-11-30T13:44:05.999Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139134.json","commit":"8c2c22940a0de21d18737df980299c0488d5dc73","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139134","state":"PUBLISHED","datePublished":"2026-11-30T13:31:53.791Z","dateUpdated":"2026-11-30T13:31:53.791Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.916Z"},"containers":{"cna":{"title":"net: mctp: free reassembly head skb when key_add fails on SOM","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: mctp: free reassembly head skb when key_add fails on SOM\n\nWhen a start-of-message fragment creates a new reassembly key on the\nbroadcast/bind path, mctp_frag_queue() stores the skb as\nkey->reasm_head before the key is made observable with mctp_key_add().\n\nIf mctp_key_add() fails (a race with another SOM packet for the same\nsource/dest/tag, or the receiving socket going away), the error path\nonly drops the key reference via mctp_key_unref().  The final key\ndestructor frees the key itself but not key->reasm_head, and since the\nkey was never added to any list, neither the expiry worker nor socket\nteardown can reach it to release the queued fragment.  The skb is\nleaked.\n\nFree key->reasm_head on the key_add failure path before releasing the\nkey.  Other teardown paths (__mctp_key_done_in(), EOM delivery) already\nclear reasm_head before the final unref, so this only affects the\nfailure path."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"e9bb19cc98c66ad7fc695806e10b63a5c0dcec67","versionType":"git"},{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"2f3bcca32ddf14dd61ea280089a3b1dd4c2493bb","versionType":"git"},{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"29087f7d8a36155b805d8b70cc8940c66ed691fb","versionType":"git"},{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"dcc521f4255a390c6e4d14f6cca8622a91c59585","versionType":"git"},{"version":"4a992bbd365094730a31bae1e12a6ca695336d57","status":"affected","lessThan":"d2bfe74a8fe219a86b86c1f126e1d722a5001790","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mctp/route.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"6.6.163","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.119","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.65","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.6","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/mctp/route.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e9bb19cc98c66ad7fc695806e10b63a5c0dcec67"},{"url":"https://git.kernel.org/stable/c/2f3bcca32ddf14dd61ea280089a3b1dd4c2493bb"},{"url":"https://git.kernel.org/stable/c/29087f7d8a36155b805d8b70cc8940c66ed691fb"},{"url":"https://git.kernel.org/stable/c/dcc521f4255a390c6e4d14f6cca8622a91c59585"},{"url":"https://git.kernel.org/stable/c/d2bfe74a8fe219a86b86c1f126e1d722a5001790"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:31:53.791Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}