CVE-2025-40253
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-12-04

Last updated on: 2025-12-06

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-04
Last Modified
2025-12-06
Generated
2026-06-16
AI Q&A
2025-12-04
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a double-free bug in the Linux kernel's s390/ctcm component. Specifically, the function 'mpc_rcvd_sweep_req(mpcginfo)' frees a memory object 'mpcginfo', and then the function 'ctcmpc_unpack_skb' also calls 'kfree' on the same object, causing it to be freed twice. This can lead to undefined behavior or potential security issues. The fix involved removing the redundant 'kfree' call in 'mpc_rcvd_sweep_req'.

Impact Analysis

A double-free vulnerability can lead to memory corruption, which attackers might exploit to cause system crashes, execute arbitrary code, or escalate privileges. In this case, since it is in the Linux kernel, exploitation could compromise system stability or security.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-40253. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart