CVE-2025-40253

s390/ctcm: Fix double-kfree

HIGH
8.8
CVSS Score
Published: December 4, 2025 at 04:08 PM UTC
Updated: October 19, 2026 at 07:10 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0c0b20587b9f25a2ad14db7f80ebe49bdf29920a2bd57101c3ecf3f8c0da1d26c2b6ad511adc6d5036933de59f67029e5739a98393891f9b94f27e0f4.14.2804.19.2444.9.315467ddbbe7e749d558f13e640f50f546149c930b34c9ba0fed125deba8416b995b0c274b0804c0c244d3c6d741816539b57fa1110c3f765a8c176d7b45.10.1175.15.415.17.95.185.4.195d886b4292a1c5b4facdb2dfdc31f0fecc71df898ea0053af5dab4d63a9c44563973fb2f3bfd9eb2b
Vendor states this is fixed in 06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2 (fixed)
Vendor states this is fixed in 3b177b2ded563df16f6d5920671ffcfe5915d472 (fixed)
Vendor states this is fixed in 43096dab8cc60fc39133205fd149a54d3acebea8 (fixed)
Vendor states this is fixed in 6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a (fixed)
Vendor states this is fixed in 7616e2eee679746d526c7f5befd4eedb995935b5 (fixed)
Vendor states this is fixed in 7ff76f8dc6b550f8d16487bf3cebc278be720b5c (fixed)
Vendor states this is fixed in b9dbfb1b5699f9f1e4991f96741bdf9047147589 (fixed)
Vendor states this is fixed in da02a1824884d6c84c5e5b5ac373b0c9e3288ec2 (fixed)
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.20, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.10.247 (unaffected)
Vendor states this is fixed in 5.15.197 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.302 (unaffected)
Vendor states this is fixed in 6.1.159 (unaffected)
Vendor states this is fixed in 6.12.60 (unaffected)
Vendor states this is fixed in 6.17.10 (unaffected)
Vendor states this is fixed in 6.18 (unaffected)
Vendor states this is fixed in 6.6.118 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHLinux
Vector?

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card