CVE-2026-46288

published 8 Jun 2026 · updated 5 Aug 2026

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

8.4HighCVSS 8.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1, Kernel 6fdad20b7975bdc32e85b45f8f7c640f6687b81f, Kernel 7f0f0926f3010b10cff5e93446258f971e42f2fd and 1 more.

In the Linux kernel, the following vulnerability has been resolved: of: unittest: fix use-after-free in of_unittest_changeset() The variable 'parent' is assigned the value of 'nchangeset' earlier in the function, meaning both point to the same struct device_node. The call to of_node_put(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 of_node_put() call after the last access to 'parent', avoiding the UAF.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.12, >=1c668ea65506e67ce2eae07b69bb09fcdd86e309 <37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1, >=1c668ea65506e67ce2eae07b69bb09fcdd86e309 <6fdad20b7975bdc32e85b45f8f7c640f6687b81f, >=1c668ea65506e67ce2eae07b69bb09fcdd86e309 <7f0f0926f3010b10cff5e93446258f971e42f2fd, >=1c668ea65506e67ce2eae07b69bb09fcdd86e309 <faecdd423c27f0d6090156a435ba9dbbac0eaddb37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1, 6fdad20b7975bdc32e85b45f8f7c640f6687b81f, 7f0f0926f3010b10cff5e93446258f971e42f2fd, faecdd423c27f0d6090156a435ba9dbbac0eaddb

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-46288 severity on Zeptric[![CVE-2026-46288](https://zeptric.io/badge/cve/CVE-2026-46288.svg)](https://zeptric.io/cve/CVE-2026-46288)