CVE Catalog

CVE-2025-40253

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.26%

18th percentile - higher than 18% of all known CVEs

Summary

In the Linux kernel's s390/ctcm driver, a double-free was detected in the ctcmpc_unpack_skb function. The mpc_rcvd_sweep_req function frees the passed mpcginfo pointer, and then ctcmpc_unpack_skb frees it again, leading to a double-free.

Risk Assessment

A double-free can corrupt kernel memory management structures, potentially leading to system crash or code execution.

Recommendation

It is recommended to update the Linux kernel to a version containing the fix that removes the redundant kfree call in mpc_rcvd_sweep_req.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS