Skip to main content
EPSS 0.3%top 78%

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)

0
High
Published: 12/04/2025 (12/04/2025, 18:30:53 UTC)
Source: GCVE Database

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

Attack Vector
Adjacent Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 17:23:41 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses