Cloudanix VulnDB

CVE-2026-23032

None

CVSS

—

EPSS

0.2%

Published

Jan 31, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in a Linux kernel test driver can slowly leak memory when certain optional testing features are used and devices are created and deleted many times.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Theoretical
Impact
Denial Of Service
Component
OS kernel
Class
Memory Corruption
Remediation
Patch
Effort
Medium
Patch risk
Low

What it actually does

The flaw is a memory leak in the Linux kernel null_blk driver (when CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION is enabled): references to the timeout_inject, requeue_inject, and init_hctx_fault_inject configfs items under each nullbX group are never released when the device is removed, producing kmemleak reports of unreferenced objects allocated via kvasprintf/config_item_set_name.

Why it matters to the business

Repeated creation and removal of null_blk devices in fault-injection test or CI environments causes gradual kernel memory exhaustion, risking system instability or out-of-memory conditions in long-running test farms or development setups that rely on this driver.

How an attack unfolds

An attacker or automated test harness repeatedly issues mkdir operations under the nullb configfs tree to instantiate null_blk devices with fault injection enabled, then removes the devices; each cycle leaks the fault-config configfs items because their references are not dropped when the parent group reference is released.

How to fix it

Upgrade the Linux kernel to a version containing commit 1a3286edf4d48ce37f8982ff3c3b65159a5ecbb2 (or later stable equivalent) which explicitly releases references to the fault-config configfs items when the nullbX group reference is dropped; for gomplate-fips (MinimOS) upgrade to 4.3.3-r5.

How to confirm the fix worked

After patching, create and remove multiple null_blk devices with fault injection enabled, then run kmemleak scan and confirm absence of unreferenced objects whose names begin with timeout_inject, requeue_inject, or init_hctx_fault_inject.

Typical attack path

  1. Mount configfs and enable null_blk fault injection via module parameters
  2. Repeatedly create nullbX groups and their child fault inject items via mkdir
  3. Remove the nullbX devices (rmdir or device deletion)
  4. Observe accumulating unreferenced objects via kmemleak scan
  5. Continue until memory pressure or OOM occurs

How to detect it

Scan kernel logs and kmemleak output for messages containing unreferenced object together with names such as init_hctx_fault_inject, timeout_inject or requeue_inject; inspect processes performing repeated configfs_mkdir operations under nullb groups.

  • init_hctx_fault_inject
  • timeout_inject
  • requeue_inject
  • fault_config_init
  • unreferenced object .* config_item_set_name

What your security team should do

  • Apply the referenced kernel commit or distribution update on all systems that enable null_blk fault injection
  • Add kmemleak monitoring to CI pipelines that exercise null_blk
  • Limit use of null_blk fault injection to short-lived test containers or VMs where leaks have bounded impact

The record

In the Linux kernel, the following vulnerability has been resolved: null_blk: fix kmemleak by releasing references to fault configfs items When CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION is enabled, the null-blk driver sets up fault injection support by creating the timeout_inject, requeue_inject, and init_hctx_fault_inject configfs items as children of the top-level nullbX configfs group. However, when the nullbX device is removed, the references taken to these fault-config configfs items are not released. As a result, kmemleak reports a memory leak, for example: unreferenced object 0xc00000021ff25c40 (size 32): comm "mkdir", pid 10665, jiffies 4322121578 hex dump (first 32 bytes): 69 6e 69 74 5f 68 63 74 78 5f 66 61 75 6c 74 5f init_hctx_fault_ 69 6e 6a 65 63 74 00 88 00 00 00 00 00 00 00 00 inject.......... backtrace (crc 1a018c86): __kmalloc_node_track_caller_noprof+0x494/0xbd8 kvasprintf+0x74/0xf4 config_item_set_name+0xf0/0x104 config_group_init_type_name+0x48/0xfc fault_config_init+0x48/0xf0 0xc0080000180559e4 configfs_mkdir+0x304/0x814 vfs_mkdir+0x49c/0x604 do_mkdirat+0x314/0x3d0 sys_mkdir+0xa0/0xd8 system_call_exception+0x1b0/0x4f0 system_call_vectored_common+0x15c/0x2ec Fix this by explicitly releasing the references to the fault-config configfs items when dropping the reference to the top-level nullbX configfs group.

Affected packages

Ecosystem Package Introduced Fixed
Linux Kernel 6.4.0 6.6.122

Related vulnerabilities