# CVE-2025-40253: s390/ctcm: Fix double-kfree

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-12-04T16:08:15.340Z
- Modified: 2026-10-19T19:10:00.130Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 467ddbbe7e749d558f13e640f50f546149c930b3 before 06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2; from 4d3c6d741816539b57fa1110c3f765a8c176d7b4 before 6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a; from 2bd57101c3ecf3f8c0da1d26c2b6ad511adc6d50 before 7616e2eee679746d526c7f5befd4eedb995935b5; from 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a before 43096dab8cc60fc39133205fd149a54d3acebea8; from 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a before 3b177b2ded563df16f6d5920671ffcfe5915d472; from 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a before b9dbfb1b5699f9f1e4991f96741bdf9047147589; from 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a before 7ff76f8dc6b550f8d16487bf3cebc278be720b5c; from 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a before da02a1824884d6c84c5e5b5ac373b0c9e3288ec2; 36933de59f67029e5739a98393891f9b94f27e0f; d886b4292a1c5b4facdb2dfdc31f0fecc71df898; 4c9ba0fed125deba8416b995b0c274b0804c0c24; ea0053af5dab4d63a9c44563973fb2f3bfd9eb2b; and 8 more (not affected: before 5.18; from 5.4.302 up to 5.4.*; from 5.10.247 up to 5.10.*; from 5.15.197 up to 5.15.*; from 6.1.159 up to 6.1.*; from 6.6.118 up to 6.6.*; from 6.12.60 up to 6.12.*; from 6.17.10 up to 6.17.*; from 6.18 up to *)

## References

- <https://git.kernel.org/stable/c/06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2>
- <https://git.kernel.org/stable/c/6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a>
- <https://git.kernel.org/stable/c/7616e2eee679746d526c7f5befd4eedb995935b5>
- <https://git.kernel.org/stable/c/43096dab8cc60fc39133205fd149a54d3acebea8>
- <https://git.kernel.org/stable/c/3b177b2ded563df16f6d5920671ffcfe5915d472>
- <https://git.kernel.org/stable/c/b9dbfb1b5699f9f1e4991f96741bdf9047147589>
- <https://git.kernel.org/stable/c/7ff76f8dc6b550f8d16487bf3cebc278be720b5c>
- <https://git.kernel.org/stable/c/da02a1824884d6c84c5e5b5ac373b0c9e3288ec2>

## Sources

- CVE List: [CVE-2025-40253](https://www.cve.org/CVERecord?id=CVE-2025-40253), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-40253](https://nvd.nist.gov/vuln/detail/CVE-2025-40253), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40253 · Whole record: https://cve.day/CVE-2025-40253.json · Rebuilt by cve.day 2026-11-25T22:59:08.277Z
