CVE-2026-139134

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

Published Nov 30, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel’s MCTP subsystem contains a flaw that fails to free a network buffer when adding a new reassembly key fails. The orphaned socket buffer leaks from kernel memory, creating a memory‑leak vulnerability that can exhaust available memory and degrade system performance or cause a denial of service. The weakness corresponds to CWE‑401 and CWE‑772.

Affected Systems

The vulnerability exists in all Linux kernel releases before the fix. Any distribution shipping the affected kernel without the patch is impacted, as the CPE metadata indicates a general Linux kernel vulnerability with no more specific version scope provided.

Risk and Exploitability

The EPSS score is < 1% and the vulnerability is not listed in CISA KEV. The flaw is most likely exploitable by generating MCTP packets that trigger a failure of mctp_key_add(); this requires the attacker to send crafted MCTP traffic to the target, which is inferred from the description. Because the attack relies on the MCTP interface, the network reachability of that interface determines the surface area; without such access, the exploit is not feasible. No public exploitation evidence is available at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel that includes the MCTP reassembly head skb free fix
  • If an upgrade is infeasible, disable or unload the MCTP driver to prevent the kernel from processing MCTP packets
  • Monitor system memory usage and set alerts for excessive kernel memory allocation

Generated by OpenCVE AI on December 2, 2026 at 11:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-772
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-401
Type Values Removed Values Added
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.
Title net: mctp: free reassembly head skb when key_add fails on SOM
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:31 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:18 PM
Modified
Nov 30, 2026, 2:18 PM
Severity
Moderate
Public date
Nov 30, 2026, 1:31 PM