CVE-2026-46288
HIGHof: unittest: fix use-after-free in of_unittest_changeset()
Title source: cnaDescription
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.
References (4)
Core 4
Core References
Scores
CVSS v3
8.4
EPSS
0.0014
EPSS Percentile
3.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-416
Status
published
Products (15)
linux/Kernel
6.12.0 - 6.12.86linux
linux/Kernel
6.13.0 - 6.18.27linux
linux/Kernel
6.19.0 - 7.0.4linux
Linux/Linux
< 6.12
Linux/Linux
1c668ea65506e67ce2eae07b69bb09fcdd86e309 - 37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1
Linux/Linux
1c668ea65506e67ce2eae07b69bb09fcdd86e309 - 6fdad20b7975bdc32e85b45f8f7c640f6687b81f
Linux/Linux
1c668ea65506e67ce2eae07b69bb09fcdd86e309 - 7f0f0926f3010b10cff5e93446258f971e42f2fd
Linux/Linux
1c668ea65506e67ce2eae07b69bb09fcdd86e309 - faecdd423c27f0d6090156a435ba9dbbac0eaddb
Linux/Linux
6.12
Linux/Linux
6.12.86 - 6.12.*
... and 5 more
Published
Jun 08, 2026
Tracked Since
Jun 08, 2026