CVE Database›CVE-2025-40253

CVE-2025-40253

kernel: s390/ctcm: Fix double-kfree

Loading…

Severity

Low

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 4, 2025

Updated · July 30, 2026

Description

Double-free corruption occurs in the s390 CTC MPC driver when mpc_rcvd_sweep_req() frees the mpcginfo structure, followed by ctcmpc_unpack_skb() freeing the same pointer. Clang's static analyzer flagged this ownership confusion. The duplicate kfree() corrupts slab metadata, potentially crashing the kernel or enabling exploitation.

Statement

Exclusively impacts s390 mainframes using Channel-to-Channel MPC networking. The CTC subsystem sees limited deployment outside legacy IBM environments.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-1341 · Multiple Releases of Same Resource or Handle