Linux Kernel up to 5.4.301/6.6.117/6.12.59/6.17.9 s390 ctcmpc_unpack_skb double free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel up to 5.4.301/6.6.117/6.12.59/6.17.9. It has been classified as critical. Affected is the function ctcmpc_unpack_skb of the component s390. Performing a manipulation results in double free. This vulnerability is identified as CVE-2025-40253. There is not any exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Linux Kernel up to 5.4.301/6.6.117/6.12.59/6.17.9. It has been classified as critical. This affects the function ctcmpc_unpack_skb of the component s390. The manipulation with an unknown input leads to a double free vulnerability. CWE is classifying the issue as CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

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.

It is possible to read the advisory at git.kernel.org. This vulnerability is uniquely identified as CVE-2025-40253 since 04/16/2025. The exploitability is told to be easy. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 02/24/2026).

The vulnerability scanner Nessus provides a plugin with the ID 277510 (Linux Distros Unpatched Vulnerability : CVE-2025-40253), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 5.4.302, 6.6.118, 6.12.60 or 6.17.10 eliminates this vulnerability. Applying the patch 06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2/3b177b2ded563df16f6d5920671ffcfe5915d472/b9dbfb1b5699f9f1e4991f96741bdf9047147589/7ff76f8dc6b550f8d16487bf3cebc278be720b5c/da02a1824884d6c84c5e5b5ac373b0c9e3288ec2 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (277510), EUVD (EUVD-2025-201204) and CERT Bund (WID-SEC-2025-2747). Be aware that VulDB is the high quality source for vulnerability data.

Affected

  • Debian Linux
  • Google Cloud Platform
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Microsoft Azure Linux

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.0
VulDB Meta Temp Score: 7.6

VulDB Base Score: 8.0
VulDB Temp Score: 7.6
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Double free
CWE: CWE-415 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 277510
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-40253

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.4.302/6.6.118/6.12.60/6.17.10
Patch: 06f1dd1de0d33dbfbd2e1fc9fc57d8895f730de2/3b177b2ded563df16f6d5920671ffcfe5915d472/b9dbfb1b5699f9f1e4991f96741bdf9047147589/7ff76f8dc6b550f8d16487bf3cebc278be720b5c/da02a1824884d6c84c5e5b5ac373b0c9e3288ec2

Timelineinfo

04/16/2025 CVE reserved
12/04/2025 +232 days Advisory disclosed
12/04/2025 +0 days VulDB entry created
02/24/2026 +82 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-40253 (🔒)
GCVE (CVE): GCVE-0-2025-40253
GCVE (VulDB): GCVE-100-334311
EUVD: 🔒
CERT Bund: WID-SEC-2025-2747 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 12/04/2025 17:37
Updated: 02/24/2026 08:02
Changes: 12/04/2025 17:37 (59), 12/06/2025 19:02 (2), 12/07/2025 01:12 (1), 01/05/2026 04:18 (7), 02/24/2026 08:02 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!