AZL-117754: CVE-2026-142947 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

cxl/core: Skip einjinject creation when devmaddactionorreset() fails

cxldebugfscreatedportdir() ignores the devmaddactionorreset() result and creates the einjinject file below @dir unconditionally.

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

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

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Dec 3, 2026
Advisory Published
via OSV·04:18 AM
Data Sourced
via OSV·04:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What runtime condition is required for the unsafe debugfs operation to occur?

The condition occurs when devm_add_action_or_reset() fails because devres allocation fails. In that failure path, the debugfs directory has already been removed, but the code would otherwise attempt to create the einj_inject file using the released directory as its parent.

2

What does the resolved change do in the failure path?

It skips creation of the einj_inject debugfs file when devm_add_action_or_reset() fails. This avoids using a dentry whose final reference was dropped and whose memory may be pending delayed freeing.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203