In the Linux kernel, the following vulnerability has been resolved: s390/ctcm: Fix double-kfree The function 'mpc_rcvd_sweep_req(mpcginfo)' is… (CVE-2025-40253)
A double-free vulnerability was identified and resolved in the Linux kernel's s390/ctcm subsystem. The function 'mpc_rcvd_sweep_req(mpcginfo)' improperly frees memory that is also freed again by 'ctcmpc_unpack_skb', leading to a double free. This issue was detected by static analysis and fixed by removing the redundant kfree call.
AI Analysis
Technical Summary
CVE-2025-40253 addresses a double-free vulnerability in the Linux kernel's s390/ctcm code. Specifically, the function 'mpc_rcvd_sweep_req(mpcginfo)' frees the memory pointed to by 'mpcginfo', but the caller function 'ctcmpc_unpack_skb' also calls 'kfree' on the same pointer, causing a double free. The fix involved removing the redundant 'kfree' call within 'mpc_rcvd_sweep_req'. This vulnerability was detected by the clang static analyzer and has been resolved in the Linux kernel.
Potential Impact
The double-free vulnerability can lead to memory corruption, which may be exploited to cause denial of service or potentially escalate privileges due to corrupted kernel memory management. The CVSS vector indicates high impact on confidentiality, integrity, and availability. However, no known exploits in the wild have been reported.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by removing the redundant 'kfree' call. Users should update to the latest Linux kernel version that includes this fix. Since no specific patch links or vendor advisories are provided, users should monitor official Linux kernel release notes for the relevant patch. Patch status is not yet confirmed in this data — check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: s390/ctcm: Fix double-kfree The function 'mpc_rcvd_sweep_req(mpcginfo)' is… (CVE-2025-40253)
Description
A double-free vulnerability was identified and resolved in the Linux kernel's s390/ctcm subsystem. The function 'mpc_rcvd_sweep_req(mpcginfo)' improperly frees memory that is also freed again by 'ctcmpc_unpack_skb', leading to a double free. This issue was detected by static analysis and fixed by removing the redundant kfree call.
CVSS v3.1
Score 8.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-40253 addresses a double-free vulnerability in the Linux kernel's s390/ctcm code. Specifically, the function 'mpc_rcvd_sweep_req(mpcginfo)' frees the memory pointed to by 'mpcginfo', but the caller function 'ctcmpc_unpack_skb' also calls 'kfree' on the same pointer, causing a double free. The fix involved removing the redundant 'kfree' call within 'mpc_rcvd_sweep_req'. This vulnerability was detected by the clang static analyzer and has been resolved in the Linux kernel.
Potential Impact
The double-free vulnerability can lead to memory corruption, which may be exploited to cause denial of service or potentially escalate privileges due to corrupted kernel memory management. The CVSS vector indicates high impact on confidentiality, integrity, and availability. However, no known exploits in the wild have been reported.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by removing the redundant 'kfree' call. Users should update to the latest Linux kernel version that includes this fix. Since no specific patch links or vendor advisories are provided, users should monitor official Linux kernel release notes for the relevant patch. Patch status is not yet confirmed in this data — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-c7q5-6cjw-qjwq
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-40253"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d59c2644c7f8479c32
Added to database: 07/30/2026, 15:50:45 UTC
Last enriched: 07/30/2026, 17:23:41 UTC
Last updated: 09/10/2026, 19:38:47 UTC
Views: 25
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.