CVE-2026-139134
JSON

Not scored

net: mctp: free reassembly head skb when key_add fails on SOM

Severity
Not scored
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 4a992bbd365094730a31bae1e12a6ca695336d57 before e9bb19cc98c66ad7fc695806e10b63a5c0dcec67, from 4a992bbd365094730a31bae1e12a6ca695336d57 before 2f3bcca32ddf14dd61ea280089a3b1dd4c2493bb, from 4a992bbd365094730a31bae1e12a6ca695336d57 before 29087f7d8a36155b805d8b70cc8940c66ed691fb, from 4a992bbd365094730a31bae1e12a6ca695336d57 before dcc521f4255a390c6e4d14f6cca8622a91c59585, from 4a992bbd365094730a31bae1e12a6ca695336d57 before d2bfe74a8fe219a86b86c1f126e1d722a5001790, 5.15
Not affected: before 5.15, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.*, from 6.18.65 up to 6.18.*, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to *
CVE List

References

Sources

SourceRecordLicence
CVE ListCVE-2026-139134 changed 2026-11-30CVE Terms of Use
NVDCVE-2026-139134 changed 2026-11-30Public domain