CVE-2025-21972

MEDIUM

Linux Kernel 5.15-6.12.19, 6.13.0-6.13.7 - Use-After-Free in MCTP Packet Reassembly

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: net: mctp: unshare packets when reassembling Ensure that the frag_list used for reassembly isn't shared with other packets. This avoids incorrect reassembly when packets are cloned, and prevents a memory leak due to circular references between fragments and their skb_shared_info. The upcoming MCTP-over-USB driver uses skb_clone which can trigger the problem - other MCTP drivers don't share SKBs. A kunit test is added to reproduce the issue.

Scores

CVSS v3 5.5
EPSS 0.0015
EPSS Percentile 4.7%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (12)
linux/Kernel 5.15.0 - 6.12.20linux
linux/Kernel 6.13.0 - 6.13.8linux
Linux/Linux < 5.15
Linux/Linux 4a992bbd365094730a31bae1e12a6ca695336d57 - 5c47d5bfa7b096cf8890afac32141c578583f8e0
Linux/Linux 4a992bbd365094730a31bae1e12a6ca695336d57 - f44fff3d3c6cd67b6f348b821d73c4d6888c7a6e
Linux/Linux 4a992bbd365094730a31bae1e12a6ca695336d57 - f5d83cf0eeb90fade4d5c4d17d24b8bee9ceeecc
Linux/Linux 5.15
Linux/Linux 6.12.20 - 6.12.*
Linux/Linux 6.13.8 - 6.13.*
Linux/Linux 6.14
... and 2 more
Published Apr 01, 2025
Tracked Since Feb 18, 2026