Skip to main content
← All vulnerabilities
CVE-2025-40253

s390/ctcm: Fix double-kfree

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.302, 5.10.247, 5.15.197, 4.10, 4.15, and 6 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Linux Linux

    From 467ddbbe7e749d558f13e640f50f546149c930b3 · fixed in 06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2; From 4d3c6d741816539b57fa1110c3f765a8c176d7b4 · fixed in 6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a; From 2bd57101c3ecf3f8c0da1d26c2b6ad511adc6d50 · fixed in 7616e2eee679746d526c7f5befd4eedb995935b5; From 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a · fixed in 43096dab8cc60fc39133205fd149a54d3acebea8; From 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a · fixed in 3b177b2ded563df16f6d5920671ffcfe5915d472; From 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a · fixed in b9dbfb1b5699f9f1e4991f96741bdf9047147589; From 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a · fixed in 7ff76f8dc6b550f8d16487bf3cebc278be720b5c; From 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a · fixed in da02a1824884d6c84c5e5b5ac373b0c9e3288ec2; From 5.4.195 · fixed in 5.4.302; From 5.10.117 · fixed in 5.10.247; From 5.15.41 · fixed in 5.15.197; From 4.9.315 · fixed in 4.10; From 4.14.280 · fixed in 4.15; From 4.19.244 · fixed in 4.20; From 5.17.9 · fixed in 5.18

  • Linux Linux

    5.18

  • KernelLinux

    fixed in 5.4.302; From 5.5.0 · fixed in 5.10.247; From 5.11.0 · fixed in 5.15.197; From 5.16.0 · fixed in 6.1.159; From 5.18.0 · fixed in 6.6.118; From 6.2.0 · fixed in 6.12.60; From 6.7.0 · fixed in 6.17.10

References 8

git.kernel.org