{"id":"CVE-2026-23032","aliases":["CVE-2026-23032"],"related":[],"kind":"vulnerability","state":"published","title":"null_blk: fix kmemleak by releasing references to fault configfs items","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnull_blk: fix kmemleak by releasing references to fault configfs items\n\nWhen CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION is enabled, the null-blk\ndriver sets up fault injection support by creating the timeout_inject,\nrequeue_inject, and init_hctx_fault_inject configfs items as children\nof the top-level nullbX configfs group.\n\nHowever, when the nullbX device is removed, the references taken to\nthese fault-config configfs items are not released. As a result,\nkmemleak reports a memory leak, for example:\n\nunreferenced object 0xc00000021ff25c40 (size 32):\n  comm \"mkdir\", pid 10665, jiffies 4322121578\n  hex dump (first 32 bytes):\n    69 6e 69 74 5f 68 63 74 78 5f 66 61 75 6c 74 5f  init_hctx_fault_\n    69 6e 6a 65 63 74 00 88 00 00 00 00 00 00 00 00  inject..........\n  backtrace (crc 1a018c86):\n    __kmalloc_node_track_caller_noprof+0x494/0xbd8\n    kvasprintf+0x74/0xf4\n    config_item_set_name+0xf0/0x104\n    config_group_init_type_name+0x48/0xfc\n    fault_config_init+0x48/0xf0\n    0xc0080000180559e4\n    configfs_mkdir+0x304/0x814\n    vfs_mkdir+0x49c/0x604\n    do_mkdirat+0x314/0x3d0\n    sys_mkdir+0xa0/0xd8\n    system_call_exception+0x1b0/0x4f0\n    system_call_vectored_common+0x15c/0x2ec\n\nFix this by explicitly releasing the references to the fault-config\nconfigfs items when dropping the reference to the top-level nullbX\nconfigfs group.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnull_blk: fix kmemleak by releasing references to fault configfs items\n\nWhen CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION is enabled, the null-blk\ndriver sets up fault injection support by creating the timeout_inject,\nrequeue_inject, and init_hctx_fault_inject configfs items as children\nof the top-level nullbX configfs group.\n\nHowever, when the nullbX device is removed, the references taken to\nthese fault-config configfs items are not released. As a result,\nkmemleak reports a memory leak, for example:\n\nunreferenced object 0xc00000021ff25c40 (size 32):\n  comm \"mkdir\", pid 10665, jiffies 4322121578\n  hex dump (first 32 bytes):\n    69 6e 69 74 5f 68 63 74 78 5f 66 61 75 6c 74 5f  init_hctx_fault_\n    69 6e 6a 65 63 74 00 88 00 00 00 00 00 00 00 00  inject..........\n  backtrace (crc 1a018c86):\n    __kmalloc_node_track_caller_noprof+0x494/0xbd8\n    kvasprintf+0x74/0xf4\n    config_item_set_name+0xf0/0x104\n    config_group_init_type_name+0x48/0xfc\n    fault_config_init+0x48/0xf0\n    0xc0080000180559e4\n    configfs_mkdir+0x304/0x814\n    vfs_mkdir+0x49c/0x604\n    do_mkdirat+0x314/0x3d0\n    sys_mkdir+0xa0/0xd8\n    system_call_exception+0x1b0/0x4f0\n    system_call_vectored_common+0x15c/0x2ec\n\nFix this by explicitly releasing the references to the fault-config\nconfigfs items when dropping the reference to the top-level nullbX\nconfigfs group.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnull_blk: corrige kmemleak al liberar referencias a elementos configfs de fallo\n\nCuando CONFIG_BLK_DEV_NULL_BLK_FAULT_INJECTION está habilitado, el controlador null-blk configura el soporte de inyección de fallos al crear los elementos configfs timeout_inject, requeue_inject e init_hctx_fault_inject como hijos del grupo configfs nullbX de nivel superior.\n\nSin embargo, cuando se elimina el dispositivo nullbX, las referencias tomadas a estos elementos configfs de configuración de fallos no se liberan. Como resultado, kmemleak informa de una fuga de memoria, por ejemplo:\n\nobjeto sin referencia 0xc00000021ff25c40 (tamaño 32):\n  comm 'mkdir', pid 10665, jiffies 4322121578\n  volcado hexadecimal (primeros 32 bytes):\n    69 6e 69 74 5f 68 63 74 78 5f 66 61 75 6c 74 5f  init_hctx_fault_\n    69 6e 6a 65 63 74 00 88 00 00 00 00 00 00 00 00  inject..........\n  rastreo (crc 1a018c86):\n    __kmalloc_node_track_caller_noprof+0x494/0xbd8\n    kvasprintf+0x74/0xf4\n    config_item_set_name+0xf0/0x104\n    config_group_init_type_name+0x48/0xfc\n    fault_config_init+0x48/0xf0\n    0xc0080000180559e4\n    configfs_mkdir+0x304/0x814\n    vfs_mkdir+0x49c/0x604\n    do_mkdirat+0x314/0x3d0\n    sys_mkdir+0xa0/0xd8\n    system_call_exception+0x1b0/0x4f0\n    system_call_vectored_common+0x15c/0x2ec\n\nSolucione esto liberando explícitamente las referencias a los elementos configfs de configuración de fallos al eliminar la referencia al grupo configfs nullbX de nivel superior.","source":"nvd"}],"published":"2026-01-31T11:42:11.640Z","modified":"2026-06-17T10:20:44.747Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"bb4c19e030f45c5416f1eb4daa94fbaf7165e9ea","fixed":"1a3286edf4d48ce37f8982ff3c3b65159a5ecbb2","status":"affected"},{"type":"git","introduced":"bb4c19e030f45c5416f1eb4daa94fbaf7165e9ea","fixed":"d59ba448ccd595d5d65e197216cf781a87db2b28","status":"affected"},{"type":"git","introduced":"bb4c19e030f45c5416f1eb4daa94fbaf7165e9ea","fixed":"f1718da051282698aa8fa150bebb9724f6389fda","status":"affected"},{"type":"git","introduced":"bb4c19e030f45c5416f1eb4daa94fbaf7165e9ea","fixed":"40b94ec7edbbb867c4e26a1a43d2b898f04b93c5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.6.122","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.67","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.7","lastAffected":"6.18.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.19","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1a3286edf4d48ce37f8982ff3c3b65159a5ecbb2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d59ba448ccd595d5d65e197216cf781a87db2b28","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f1718da051282698aa8fa150bebb9724f6389fda","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/40b94ec7edbbb867c4e26a1a43d2b898f04b93c5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23032","url":"https://www.cve.org/CVERecord?id=CVE-2026-23032","licence":"CVE Terms of Use","modified":"2026-06-02T13:00:53.339Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23032","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23032","licence":"Public domain","modified":"2026-06-17T10:20:44.747Z"}],"updatedAt":"2026-11-25T22:59:13.338Z","epss":{"score":0.00231,"percentile":0.14885,"date":"2026-12-01T12:00:22.000Z"}}