# CVE-2026-23032: null_blk: fix kmemleak by releasing references to fault configfs items

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2026-01-31T11:42:11.640Z
- Modified: 2026-06-17T10:20:44.747Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from bb4c19e030f45c5416f1eb4daa94fbaf7165e9ea before 1a3286edf4d48ce37f8982ff3c3b65159a5ecbb2; from bb4c19e030f45c5416f1eb4daa94fbaf7165e9ea before d59ba448ccd595d5d65e197216cf781a87db2b28; from bb4c19e030f45c5416f1eb4daa94fbaf7165e9ea before f1718da051282698aa8fa150bebb9724f6389fda; from bb4c19e030f45c5416f1eb4daa94fbaf7165e9ea before 40b94ec7edbbb867c4e26a1a43d2b898f04b93c5; 6.4 (not affected: before 6.4; from 6.6.122 up to 6.6.*; from 6.12.67 up to 6.12.*; from 6.18.7 up to 6.18.*; from 6.19 up to *)

## References

- <https://git.kernel.org/stable/c/1a3286edf4d48ce37f8982ff3c3b65159a5ecbb2>
- <https://git.kernel.org/stable/c/d59ba448ccd595d5d65e197216cf781a87db2b28>
- <https://git.kernel.org/stable/c/f1718da051282698aa8fa150bebb9724f6389fda>
- <https://git.kernel.org/stable/c/40b94ec7edbbb867c4e26a1a43d2b898f04b93c5>
- <https://cert-portal.siemens.com/productcert/html/ssa-253495.html>

## Sources

- CVE List: [CVE-2026-23032](https://www.cve.org/CVERecord?id=CVE-2026-23032), CVE Terms of Use, modified 2026-06-02
- NVD: [CVE-2026-23032](https://nvd.nist.gov/vuln/detail/CVE-2026-23032), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23032 · Whole record: https://cve.day/CVE-2026-23032.json · Rebuilt by cve.day 2026-11-25T22:59:13.338Z
