CVE-2025-40253
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-40253 is a double-free vulnerability in the Linux kernel's s390/ctcm network driver. The flaw exists in the memory management interaction between the mpc_rcvd_sweep_req() and ctcmpc_unpack_skb() functions, where the mpcginfo structure is freed twice — once inside mpc_rcvd_sweep_req() and again in ctcmpc_unpack_skb() — potentially leading to memory corruption. It was published on December 4, 2025, and affects Linux kernel versions from 5.18 through multiple stable branches prior to patched releases. It carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly, Microsoft MSRC).

Technical details

The root cause is a double-free memory error (CWE-415) in the s390/ctcm driver's MPC (Multi-Path Channel) packet handling path. When ctcmpc_unpack_skb() conditionally calls mpc_rcvd_sweep_req(mpcginfo), that function frees the mpcginfo pointer; however, ctcmpc_unpack_skb() subsequently calls kfree() on the same pointer unconditionally, resulting in a double-free. The bug was detected by the clang static analyzer and requires local, low-privileged access to trigger via the ctcm network subsystem, which is specific to IBM s390 (mainframe) hardware. The fix removes the redundant kfree() call from mpc_rcvd_sweep_req() (Feedly).

Impact

Successful exploitation could cause kernel memory corruption, potentially leading to a system crash or denial of service. The vulnerability has a high availability impact with no confidentiality or integrity impact, meaning an attacker cannot directly read or modify data but can destabilize or crash the affected system. The scope is limited to s390 (IBM mainframe) systems running the ctcm network driver, restricting the affected population to specialized enterprise environments (Feedly, Microsoft MSRC).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of this report. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.018%, reflecting a very low probability of exploitation in the near term. Exploitation requires local access with low privileges on an s390 system running the ctcm driver, significantly limiting the attack surface (Feedly).

Mitigation and workarounds

Patches have been applied to multiple Linux kernel stable branches, including versions 5.4.302, 6.6.118, 6.12.60, 6.17.10, and 6.18. Downstream distributions including Ubuntu (USN-8096-x, USN-8094-x, USN-8152-1), Debian (DLA-4436-1), SUSE, and openSUSE have also released updated kernel packages. The recommended remediation is to update to the latest patched kernel version for your distribution. As an additional measure, restricting local user access on s390 systems running the ctcm driver can reduce exposure (Feedly, Microsoft MSRC).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

linux: 6.1.159-1

Fixed

sid

linux: 6.17.10-1

Fixed

trixie

linux: 6.12.63-1

Fixed

Ubuntu

Fixed

bionic (esm-infra)

linux

Affected

bionic (fips-updates)

linux-fips

Affected

bionic (fips)

linux-fips

Not Affected

devel

linux

Not Affected

focal

linux-azure-fde-5.15

Not Affected

focal (esm-infra)

linux

Affected

focal (fips-updates)

linux-fips

Affected

focal (fips)

linux-fips

Not Affected

RHEL / CentOS

Affected

RHEL 8

Not Affected

RHEL 9

kernel-rt.src

Affected

RHEL 10

kernel.src

Affected

SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-89654CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-extra
NoYesSep 11, 2026
CVE-2026-89711HIGH8.2
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 11, 2026
CVE-2026-89682HIGH8.1
  • Linux Kernel logoLinux Kernel
  • linux-aws-7.0
NoYesSep 11, 2026
CVE-2026-89648HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-azure-7.0
NoYesSep 11, 2026
CVE-2026-89693HIGH7
  • Linux Kernel logoLinux Kernel
  • linux-intel-iotg
NoYesSep 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management