CVE-2025-40253
s390/ctcm: Fix double-kfree
Reported by linux · Published December 4, 2025
In the Linux kernel, the following vulnerability has been resolved: s390/ctcm: Fix double-kfree The function 'mpc_rcvd_sweep_req(mpcginfo)' is called conditionally from function 'ctcmpc_unpack_skb'. It frees passed mpcginfo. After that a call to function 'kfree' in function 'ctcmpc_unpack_skb' frees it again. Remove 'kfree' call in function 'mpc_rcvd_sweep_req(mpcginfo)'. Bug detected by the clang static analyzer.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | da02a1824884d6c84c5e5b5ac373b0c9e3288ec2, b9dbfb1b5699f9f1e4991f96741bdf9047147589, 7616e2eee679746d526c7f5befd4eedb995935b5, 6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a, 43096dab8cc60fc39133205fd149a54d3acebea8, 3b177b2ded563df16f6d5920671ffcfe5915d472 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 467ddbbe7e749d558f13e640f50f546149c930b3, 4d3c6d741816539b57fa1110c3f765a8c176d7b4, 2bd57101c3ecf3f8c0da1d26c2b6ad511adc6d50 |
| Linux | Linux | 5.18, 0, 5.4.302 |
| Linux | Linux | 5.17.9, 0, 467ddbbe7e749d558f13e640f50f546149c930b3 |
| linux | linux_kernel | 5.10.117, 5.15.41, 5.18 |
Timeline
- Dec 4, 2025 CVE Published
- Dec 5, 2025 EPSS Score (30 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (145 in total, the first dated here)
- Mar 29, 2026 Security Advisory (195 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40253
vulnetix vdb fixes CVE-2025-40253
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40253/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart