{"id":"CVE-2026-139134","summary":"net: mctp: free reassembly head skb when key_add fails on SOM","details":"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-\u003ereasm_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-\u003ereasm_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-\u003ereasm_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.","modified":"2026-11-30T15:02:21.752791357Z","published":"2026-11-30T13:31:53.791Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139134.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/29087f7d8a36155b805d8b70cc8940c66ed691fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f3bcca32ddf14dd61ea280089a3b1dd4c2493bb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2bfe74a8fe219a86b86c1f126e1d722a5001790"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dcc521f4255a390c6e4d14f6cca8622a91c59585"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e9bb19cc98c66ad7fc695806e10b63a5c0dcec67"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139134.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139134"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4a992bbd365094730a31bae1e12a6ca695336d57"},{"fixed":"e9bb19cc98c66ad7fc695806e10b63a5c0dcec67"},{"fixed":"2f3bcca32ddf14dd61ea280089a3b1dd4c2493bb"},{"fixed":"29087f7d8a36155b805d8b70cc8940c66ed691fb"},{"fixed":"dcc521f4255a390c6e4d14f6cca8622a91c59585"},{"fixed":"d2bfe74a8fe219a86b86c1f126e1d722a5001790"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139134.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.15.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139134.json"}}],"schema_version":"1.9.2"}