{"id":"CVE-2025-40253","aliases":["CVE-2025-40253"],"related":[],"kind":"vulnerability","state":"published","title":"s390/ctcm: Fix double-kfree","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/ctcm: Fix double-kfree\n\nThe function 'mpc_rcvd_sweep_req(mpcginfo)' is called conditionally\nfrom function 'ctcmpc_unpack_skb'. It frees passed mpcginfo.\nAfter that a call to function 'kfree' in function 'ctcmpc_unpack_skb'\nfrees it again.\n\nRemove 'kfree' call in function 'mpc_rcvd_sweep_req(mpcginfo)'.\n\nBug detected by the clang static analyzer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/ctcm: Fix double-kfree\n\nThe function 'mpc_rcvd_sweep_req(mpcginfo)' is called conditionally\nfrom function 'ctcmpc_unpack_skb'. It frees passed mpcginfo.\nAfter that a call to function 'kfree' in function 'ctcmpc_unpack_skb'\nfrees it again.\n\nRemove 'kfree' call in function 'mpc_rcvd_sweep_req(mpcginfo)'.\n\nBug detected by the clang static analyzer.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ns390/ctcm: Corrección de doble kfree\n\nLa función 'mpc_rcvd_sweep_req(mpcginfo)' es llamada condicionalmente desde la función 'ctcmpc_unpack_skb'. Libera el mpcginfo pasado. Después de eso, una llamada a la función 'kfree' en la función 'ctcmpc_unpack_skb' lo libera de nuevo.\n\nEliminar la llamada a 'kfree' en la función 'mpc_rcvd_sweep_req(mpcginfo)'.\n\nError detectado por el analizador estático de clang.","source":"nvd"}],"published":"2025-12-04T16:08:15.340Z","modified":"2026-10-19T19:10:00.130Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"467ddbbe7e749d558f13e640f50f546149c930b3","fixed":"06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2","status":"affected"},{"type":"git","introduced":"4d3c6d741816539b57fa1110c3f765a8c176d7b4","fixed":"6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a","status":"affected"},{"type":"git","introduced":"2bd57101c3ecf3f8c0da1d26c2b6ad511adc6d50","fixed":"7616e2eee679746d526c7f5befd4eedb995935b5","status":"affected"},{"type":"git","introduced":"0c0b20587b9f25a2ad14db7f80ebe49bdf29920a","fixed":"43096dab8cc60fc39133205fd149a54d3acebea8","status":"affected"},{"type":"git","introduced":"0c0b20587b9f25a2ad14db7f80ebe49bdf29920a","fixed":"3b177b2ded563df16f6d5920671ffcfe5915d472","status":"affected"},{"type":"git","introduced":"0c0b20587b9f25a2ad14db7f80ebe49bdf29920a","fixed":"b9dbfb1b5699f9f1e4991f96741bdf9047147589","status":"affected"},{"type":"git","introduced":"0c0b20587b9f25a2ad14db7f80ebe49bdf29920a","fixed":"7ff76f8dc6b550f8d16487bf3cebc278be720b5c","status":"affected"},{"type":"git","introduced":"0c0b20587b9f25a2ad14db7f80ebe49bdf29920a","fixed":"da02a1824884d6c84c5e5b5ac373b0c9e3288ec2","status":"affected"},{"type":"git","version":"36933de59f67029e5739a98393891f9b94f27e0f","status":"affected"},{"type":"git","version":"d886b4292a1c5b4facdb2dfdc31f0fecc71df898","status":"affected"},{"type":"git","version":"4c9ba0fed125deba8416b995b0c274b0804c0c24","status":"affected"},{"type":"git","version":"ea0053af5dab4d63a9c44563973fb2f3bfd9eb2b","status":"affected"},{"type":"semver","introduced":"5.4.195","fixed":"5.4.302","status":"affected"},{"type":"semver","introduced":"5.10.117","fixed":"5.10.247","status":"affected"},{"type":"semver","introduced":"5.15.41","fixed":"5.15.197","status":"affected"},{"type":"semver","introduced":"4.9.315","fixed":"4.10","status":"affected"},{"type":"semver","introduced":"4.14.280","fixed":"4.15","status":"affected"},{"type":"semver","introduced":"4.19.244","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.17.9","fixed":"5.18","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"5.4.302","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.247","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.197","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.159","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.118","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.60","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.10","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6bf8ccaabce8cebb6cb1f255c93d0acdfe95c17a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7616e2eee679746d526c7f5befd4eedb995935b5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43096dab8cc60fc39133205fd149a54d3acebea8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b177b2ded563df16f6d5920671ffcfe5915d472","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b9dbfb1b5699f9f1e4991f96741bdf9047147589","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ff76f8dc6b550f8d16487bf3cebc278be720b5c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da02a1824884d6c84c5e5b5ac373b0c9e3288ec2","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:58:29.186Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40253","url":"https://www.cve.org/CVERecord?id=CVE-2025-40253","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:41.932Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40253","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40253","licence":"Public domain","modified":"2026-10-19T19:10:00.130Z"}],"updatedAt":"2026-11-25T22:59:08.277Z","epss":{"score":0.00319,"percentile":0.26852,"date":"2026-12-01T12:00:22.000Z"}}