CVE-2025-40253

published 4 Dec 2025 · updated 17 Nov 2026

s390/ctcm: Fix double-kfree

8.8HighCVSS 8.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.4.302, Kernel b9dbfb1b5699f9f1e4991f96741bdf9047147589, Kernel da02a1824884d6c84c5e5b5ac373b0c9e3288ec2 and 16 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=5.4.195 <5.4.302, >=0c0b20587b9f25a2ad14db7f80ebe49bdf29920a <b9dbfb1b5699f9f1e4991f96741bdf9047147589, >=0c0b20587b9f25a2ad14db7f80ebe49bdf29920a <da02a1824884d6c84c5e5b5ac373b0c9e3288ec2, >=2bd57101c3ecf3f8c0da1d26c2b6ad511adc6d50 <7616e2eee679746d526c7f5befd4eedb995935b5, >=4.14.280 <4.15, >=4.19.244 <4.20, >=4.9.315 <4.10, >=467ddbbe7e749d558f13e640f50f546149c930b3 <06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2, >=4d3c6d741816539b57fa1110c3f765a8c176d7b4 <6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a, >=5.10.117 <5.10.247, >=5.15.41 <5.15.197, >=5.17.9 <5.18, =36933de59f67029e5739a98393891f9b94f27e0f, =4c9ba0fed125deba8416b995b0c274b0804c0c24, =5.18, =d886b4292a1c5b4facdb2dfdc31f0fecc71df898, =ea0053af5dab4d63a9c44563973fb2f3bfd9eb2b, >=0c0b20587b9f25a2ad14db7f80ebe49bdf29920a <3b177b2ded563df16f6d5920671ffcfe5915d472, >=0c0b20587b9f25a2ad14db7f80ebe49bdf29920a <43096dab8cc60fc39133205fd149a54d3acebea8, >=0c0b20587b9f25a2ad14db7f80ebe49bdf29920a <7ff76f8dc6b550f8d16487bf3cebc278be720b5c5.4.302, b9dbfb1b5699f9f1e4991f96741bdf9047147589, da02a1824884d6c84c5e5b5ac373b0c9e3288ec2, 7616e2eee679746d526c7f5befd4eedb995935b5, 4.15, 4.20, 4.10, 06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2, 6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a, 5.10.247, 5.15.197, 5.18, 3b177b2ded563df16f6d5920671ffcfe5915d472, 43096dab8cc60fc39133205fd149a54d3acebea8, 7ff76f8dc6b550f8d16487bf3cebc278be720b5c
linux-kernel: Kernel>=4.19.244 <4.20, >=4.9.315 <4.10, >=5.10.117 <5.10.247, >=5.15.41 <5.15.197, >=5.17.9 <5.18, >=5.18.0 <6.1.159, >=5.4.195 <5.4.302, >=6.13.0 <6.17.10, >=6.2.0 <6.6.118, >=6.7.0 <6.12.60, >=4.14.280 <4.154.20, 4.10, 5.10.247, 5.15.197, 5.18, 6.1.159, 5.4.302, 6.17.10, 6.6.118, 6.12.60, 4.15

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40253 severity on Zeptric[![CVE-2025-40253](https://zeptric.io/badge/cve/CVE-2025-40253.svg)](https://zeptric.io/cve/CVE-2025-40253)