CVE-2026-46288: of: unittest: fix use-after-free in of_unittest_changeset()

Published Jun 8, 2026
·
Updated

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

of: unittest: fix use-after-free in ofunittestchangeset()

The variable 'parent' is assigned the value of 'nchangeset' earlier in the function, meaning both point to the same struct devicenode. The call to ofnodeput(nchangeset) can decrement the reference count to zero and free the node if there are no other holders. After that, the code still uses 'parent' to check for the presence of a property and to read a string property, leading to a use-after-free.

Fix this by moving the ofnodeput() call after the last access to 'parent', avoiding the UAF.

Affected Software

4 affected components
Linux Linux kernel
Linux Linux kernel>=6.12<6.12.86
Linux Linux kernel>=6.13<6.18.27
Linux Linux kernel>=6.19<7.0.4

Event History

Jun 8, 2026
CVE Published
via MITRE·03:41 PM
Data Sourced
via MITRE·03:41 PM
DescriptionSeverity
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-46288?

The severity of CVE-2026-46288 is rated at 29.

2

How do I fix CVE-2026-46288?

To fix CVE-2026-46288, it is recommended to upgrade to the latest version of the Linux kernel where the vulnerability has been patched.

3

What type of vulnerability is CVE-2026-46288?

CVE-2026-46288 is classified as a Use After Free vulnerability.

4

Which software is affected by CVE-2026-46288?

CVE-2026-46288 affects the Linux kernel.

5

What is the impact of CVE-2026-46288?

The impact of CVE-2026-46288 may lead to undefined behavior in the Linux kernel due to improper memory handling.

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