AZL-116911: CVE-2026-139134 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
net: mctp: free reassembly head skb when keyadd fails on SOM
When a start-of-message fragment creates a new reassembly key on the broadcast/bind path, mctpfragqueue() stores the skb as key->reasmhead before the key is made observable with mctpkeyadd().
If mctpkeyadd() 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 mctpkeyunref(). The final key destructor frees the key itself but not key->reasmhead, 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->reasmhead on the keyadd failure path before releasing the key. Other teardown paths (mctpkeydonein(), EOM delivery) already clear reasmhead before the final unref, so this only affects the failure path.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the Linux kernel MCTP SOM key_add failure path, free the queued reassembly-head skb and clear key->reasm_head before the final mctp_key_unref().
Event History
Frequently Asked Questions
What conditions are required to trigger the leak?
A start-of-message MCTP fragment must create a new reassembly key on the broadcast or bind receive path, and adding that key must then fail. The failure can result from a race with another start-of-message packet using the same source, destination, and tag, or because the receiving socket is going away.
What is leaked when the failure occurs?
The queued socket buffer holding the initial fragment remains in the reassembly key's reasm_head field. Because the key was never made observable on a list, normal expiry handling and socket teardown cannot reach the fragment to free it.
Are normal reassembly completion and teardown paths affected?
No. End-of-message delivery and the existing key completion path already clear reasm_head before the final key reference is released; the leak is limited to the key-add failure path.