Linux Kernel Binder Double-Free Vulnerability in Bitmap Management

Vulnerability

A double-free vulnerability has been identified in the Linux kernel's binder component, specifically in the handling of bitmaps within processes. This issue arises when a process attempts to expand its bitmap allocation but fails, leading the system to free the old bitmap. However, upon the process's termination, the binder driver inadvertently frees the same bitmap again, causing a double-free error. This vulnerability has been observed in Linux kernel versions prior to 6.17.0-rc6.

Impact

Exploitation of this vulnerability leads to a double-free error, which can potentially be exploited to execute arbitrary code or cause a denial-of-service condition by crashing the system.

Reproduction

The vulnerability can be reproduced by creating a process that allocates a bitmap for descriptor management. When the process attempts to expand the bitmap but fails, the system will free the old bitmap. If the process is then terminated, the binder driver will call the free function again on the same bitmap, leading to a double-free condition. This can be observed in the kernel's workqueue events, where the binder_deferred_func processes the termination of the process.

Remediation

Users can upgrade to Linux kernel versions 6.17.0-rc6 or later, where this vulnerability has been fixed. Instructions for downloading the latest version can be found on the official Linux kernel website.

Added: Oct 28, 2025, 10:19 AM
Updated: Oct 28, 2025, 10:19 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
0.8
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.