Linux Kernel Slab Object Extension Handling Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's management of slab object extensions, specifically related to the handling of empty codetags. When the allocation of a slab extension vector fails and subsequently succeeds, the kernel marks all objects in the vector as empty. This process inadvertently sets the object's extension to 'CODETAG_EMPTY'. If this slab is later used to allocate an extension vector for another slab, the second slab's object extensions may point to a vector that contains 'CODETAG_EMPTY'. When the second slab is freed, the kernel attempts to clear the object extensions, leading to a warning because it expects a NULL value instead of 'CODETAG_EMPTY'. This vulnerability can cause the kernel to generate misleading warnings or errors, potentially obscuring real issues.

Impact

Exploitation of this vulnerability can lead to a kernel panic, causing a denial of service by crashing the system.

Reproduction

The vulnerability can be reproduced by creating a slab object extension vector, allowing the allocation to fail, and then succeeding in a subsequent allocation. This process will set the object's extension to 'CODETAG_EMPTY'. If the same slab is then used to allocate an extension vector for a different slab, the second slab will inherit the 'CODETAG_EMPTY' extension. When the second slab is freed, the kernel will generate a warning about the improper extension handling, indicating the vulnerability has been triggered.

Remediation

Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed.

Added: Dec 16, 2025, 4:40 PM
Updated: Dec 16, 2025, 4:40 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
1.4
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.