Bug 2589341 (CVE-2026-142947) - CVE-2026-142947 kernel: kernel: Denial of Service via use-after-free in CXL debugfs initialization
Summary: CVE-2026-142947 kernel: kernel: Denial of Service via use-after-free in CXL d...
Keywords:
Status: NEW
Alias: CVE-2026-142947
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 05:08 UTC by OSIDB Bzimport
Modified: 2026-12-03 09:46 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 05:08:58 UTC
In the Linux kernel, the following vulnerability has been resolved:

cxl/core: Skip einj_inject creation when devm_add_action_or_reset() fails

cxl_debugfs_create_dport_dir() ignores the devm_add_action_or_reset()
result and creates the einj_inject file below @dir unconditionally.

When the devres allocation fails, remove_debugfs() has already run
before devm_add_action_or_reset() returns, i.e. debugfs_remove() has
released @dir. The subsequent debugfs_create_file() would then use
that dentry as its parent although its final reference was dropped in
the removal and its memory is subject to call_rcu() delayed freeing.

Skip the file creation in that case, consistent with how the rest of
the helper tolerates debugfs failures.


Note You need to log in before you can comment on or make changes to this bug.