Linux Kernel up to 6.12.51/6.16.11/6.17.1 dbitmap_grow 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.
6.8$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in Linux Kernel up to 6.12.51/6.16.11/6.17.1. Affected by this vulnerability is the function dbitmap_grow. Executing a manipulation can lead to double free. This vulnerability is registered as CVE-2025-40028. No exploit is available. You should upgrade the affected component.

Detailsinfo

A vulnerability classified as critical was found in Linux Kernel up to 6.12.51/6.16.11/6.17.1. This vulnerability affects the function dbitmap_grow. The manipulation with an unknown input leads to a double free vulnerability. The CWE definition for the vulnerability is CWE-415. The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: binder: fix double-free in dbitmap A process might fail to allocate a new bitmap when trying to expand its proc->dmap. In that case, dbitmap_grow() fails and frees the old bitmap via dbitmap_free(). However, the driver calls dbitmap_free() again when the same process terminates, leading to a double-free error: ================================================================== BUG: KASAN: double-free in binder_proc_dec_tmpref+0x2e0/0x55c Free of addr ffff00000b7c1420 by task kworker/9:1/209 CPU: 9 UID: 0 PID: 209 Comm: kworker/9:1 Not tainted 6.17.0-rc6-dirty #5 PREEMPT Hardware name: linux,dummy-virt (DT) Workqueue: events binder_deferred_func Call trace: kfree+0x164/0x31c binder_proc_dec_tmpref+0x2e0/0x55c binder_deferred_func+0xc24/0x1120 process_one_work+0x520/0xba4 [...] Allocated by task 448: __kmalloc_noprof+0x178/0x3c0 bitmap_zalloc+0x24/0x30 binder_open+0x14c/0xc10 [...] Freed by task 449: kfree+0x184/0x31c binder_inc_ref_for_node+0xb44/0xe44 binder_transaction+0x29b4/0x7fbc binder_thread_write+0x1708/0x442c binder_ioctl+0x1b50/0x2900 [...] ================================================================== Fix this issue by marking proc->map NULL in dbitmap_free().

The advisory is shared for download at git.kernel.org. This vulnerability was named CVE-2025-40028 since 04/16/2025. The exploitation appears to be difficult. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 02/27/2026).

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

Upgrading to version 6.12.52, 6.16.12, 6.17.2 or 6.18-rc1 eliminates this vulnerability. Applying the patch c301ec61ce6f16e21a36b99225ca8a20c1591e10/0390633979969c54c0ce6a198d6f45cdbe2c84b1/b781e5635a3398e2b64440371233c2c5102cd6cb/3ebcd3460cad351f198c39c6edb4af519a0ed934 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 (271895) and CERT Bund (WID-SEC-2025-2430). Once again VulDB remains the best source for vulnerability data.

Affected

  • Google Container-Optimized OS
  • Debian Linux
  • Amazon Linux 2
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • NetApp ActiveIQ Unified Manager
  • Open Source Linux Kernel
  • Microsoft Azure

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.1
VulDB Meta Temp Score: 6.8

VulDB Base Score: 7.1
VulDB Temp Score: 6.8
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: 271895
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-40028

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 6.12.52/6.16.12/6.17.2/6.18-rc1
Patch: c301ec61ce6f16e21a36b99225ca8a20c1591e10/0390633979969c54c0ce6a198d6f45cdbe2c84b1/b781e5635a3398e2b64440371233c2c5102cd6cb/3ebcd3460cad351f198c39c6edb4af519a0ed934

Timelineinfo

04/16/2025 CVE reserved
10/28/2025 +195 days Advisory disclosed
10/28/2025 +0 days VulDB entry created
02/27/2026 +122 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2025-40028 (🔒)
GCVE (CVE): GCVE-0-2025-40028
GCVE (VulDB): GCVE-100-330220
CERT Bund: WID-SEC-2025-2430 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 10/28/2025 11:22
Updated: 02/27/2026 21:05
Changes: 10/28/2025 11:22 (58), 10/28/2025 15:43 (7), 10/29/2025 10:59 (2), 12/03/2025 15:59 (1), 12/22/2025 03:32 (1), 02/12/2026 16:56 (1), 02/27/2026 21:05 (1)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!