CVE-2026-139134
Description
In the Linux kernel, the following vulnerability has been resolved:
net: mctp: free reassembly head skb when key_add fails on SOM
When a start-of-message fragment creates a new reassembly key on the broadcast/bind path, mctp_frag_queue() stores the skb as key->reasm_head before the key is made observable with mctp_key_add().
If mctp_key_add() fails (a race with another SOM packet for the same source/dest/tag, or the receiving socket going away), the error path only drops the key reference via mctp_key_unref(). The final key destructor frees the key itself but not key->reasm_head, and since the key was never added to any list, neither the expiry worker nor socket teardown can reach it to release the queued fragment. The skb is leaked.
Free key->reasm_head on the key_add failure path before releasing the key. Other teardown paths (__mctp_key_done_in(), EOM delivery) already clear reasm_head before the final unref, so this only affects the failure path.
Affected products
1Patches
Vulnerability mechanics
References
5- git.kernel.org/stable/c/29087f7d8a36155b805d8b70cc8940c66ed691fbnvd
- git.kernel.org/stable/c/2f3bcca32ddf14dd61ea280089a3b1dd4c2493bbnvd
- git.kernel.org/stable/c/d2bfe74a8fe219a86b86c1f126e1d722a5001790nvd
- git.kernel.org/stable/c/dcc521f4255a390c6e4d14f6cca8622a91c59585nvd
- git.kernel.org/stable/c/e9bb19cc98c66ad7fc695806e10b63a5c0dcec67nvd
News mentions
0No linked articles in our index yet.