CVE-2025-21972

Source
https://cve.org/CVERecord?id=CVE-2025-21972
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21972.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-21972
Downstream
Related
Published
2025-04-01T15:47:04.960Z
Modified
2026-03-11T07:46:54.200983Z
Summary
net: mctp: unshare packets when reassembling
Details

In the Linux kernel, the following vulnerability has been resolved:

net: mctp: unshare packets when reassembling

Ensure that the fraglist 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 skbshared_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21972.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
4a992bbd365094730a31bae1e12a6ca695336d57
Fixed
5c47d5bfa7b096cf8890afac32141c578583f8e0
Fixed
f44fff3d3c6cd67b6f348b821d73c4d6888c7a6e
Fixed
f5d83cf0eeb90fade4d5c4d17d24b8bee9ceeecc

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-21972.json"