{"id":"CVE-2026-46288","published":"2026-06-08T15:41:31Z","modified":"2026-08-05T12:31:02Z","title":"of: unittest: fix use-after-free in of_unittest_changeset()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nof: unittest: fix use-after-free in of_unittest_changeset()\n\nThe variable 'parent' is assigned the value of 'nchangeset' earlier in the\nfunction, meaning both point to the same struct device_node. The call to\nof_node_put(nchangeset) can decrement the reference count to zero and\nfree the node if there are no other holders. After that, the code still\nuses 'parent' to check for the presence of a property and to read a\nstring property, leading to a use-after-free.\n\nFix this by moving the of_node_put() call after the last access to\n'parent', avoiding the UAF.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0014,"percentile":0.03294,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1","tags":[]},{"url":"https://git.kernel.org/stable/c/7f0f0926f3010b10cff5e93446258f971e42f2fd","tags":[]},{"url":"https://git.kernel.org/stable/c/6fdad20b7975bdc32e85b45f8f7c640f6687b81f","tags":[]},{"url":"https://git.kernel.org/stable/c/faecdd423c27f0d6090156a435ba9dbbac0eaddb","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":0.66},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1c668ea65506e67ce2eae07b69bb09fcdd86e309, < 37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1",">= 1c668ea65506e67ce2eae07b69bb09fcdd86e309, < 7f0f0926f3010b10cff5e93446258f971e42f2fd",">= 1c668ea65506e67ce2eae07b69bb09fcdd86e309, < 6fdad20b7975bdc32e85b45f8f7c640f6687b81f",">= 1c668ea65506e67ce2eae07b69bb09fcdd86e309, < faecdd423c27f0d6090156a435ba9dbbac0eaddb"]},{"vendor":"Linux","product":"Linux","versions":["6.12"]}],"euvd":{"id":"EUVD-2026-35153","exploited":false,"provenance":"source"}}