CVE-2026-23123: interconnect: debugfs: initialize src_node and dst_node to empty strings
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
interconnect: debugfs: initialize src_node and dst_node to empty strings
The debugfs_create_str() API assumes that the string pointer is either NULL or points to valid kmalloc() memory. Leaving the pointer uninitialized can cause problems.
Initialize src_node and dst_node to empty strings before creating the debugfs entries to guarantee that reads and writes are safe.
The Linux kernel CVE team has assigned CVE-2026-23123 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.6 with commit 770c69f037c18cfaa37c3d6c6ef8bd257635513f and fixed in 6.6.122 with commit aa79a5a959c7c414bd6fba01ea8dbaddd44f13e7 Issue introduced in 6.6 with commit 770c69f037c18cfaa37c3d6c6ef8bd257635513f and fixed in 6.12.68 with commit 935d0938b570589c8b0a1733d2cba3c39d027f25 Issue introduced in 6.6 with commit 770c69f037c18cfaa37c3d6c6ef8bd257635513f and fixed in 6.18.8 with commit 5d7c7e1fb3ec24fdd0f9faa27b666d6789e891e8 Issue introduced in 6.6 with commit 770c69f037c18cfaa37c3d6c6ef8bd257635513f and fixed in 6.19 with commit 8cc27f5c6dd17dd090f3a696683f04336c162ff5
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-23123
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/interconnect/debugfs-client.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/aa79a5a959c7c414bd6fba01ea8dbaddd44f13e7 https://git.kernel.org/stable/c/935d0938b570589c8b0a1733d2cba3c39d027f25 https://git.kernel.org/stable/c/5d7c7e1fb3ec24fdd0f9faa27b666d6789e891e8 https://git.kernel.org/stable/c/8cc27f5c6dd17dd090f3a696683f04336c162ff5