CVE-2026-46288
published high CVSS 3.1 · 8.4of: unittest: fix use-after-free in of_unittest_changeset()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1c668ea65506e67ce2eae07b69bb09fcdd86e309 to < 37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1 · 1c668ea65506e67ce2eae07b69bb09fcdd86e309 to < 7f0f0926f3010b10cff5e93446258f971e42f2fd · 1c668ea65506e67ce2eae07b69bb09fcdd86e309 to < 6fdad20b7975bdc32e85b45f8f7c640f6687b81f · 1c668ea65506e67ce2eae07b69bb09fcdd86e309 to < faecdd423c27f0d6090156a435ba9dbbac0eaddb · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.12 (affected) · 0 to < 6.12 (unaffected · semver) · 6.12.86 through 6.12.* (unaffected · semver) · 6.18.27 through 6.18.* (unaffected · semver) · 7.0.4 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.0.12-1.1 | OPENSUSE-SU-2026:11014-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-28-generic-64k | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-headers-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-headers-7.0.0-28-generic-64k | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-28 | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-28 | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-28 | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-image-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-28-generic-64k | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-lib-rust-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-7.0.0-28-generic-64k | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-evdi-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-ipu6-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-ipu7-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-usbio-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-modules-vision-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-tools-7.0.0-28-generic | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | noble | linux-tools-7.0.0-28-generic-64k | Advisory build | 7.0.0-28.28~24.04.1 | USN-8569-1 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1008 | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1008 | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1008 | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-cloud-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-headers-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-fde-tools-7.0.0-1009 | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-azure-tools-7.0.0-1010 | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1007-gcp | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1007-gcp-64k | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1007-oracle | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1007-oracle-64k | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1008-aws | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1008-aws-64k | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1008-oem | Advisory build | 7.0.0-1008.8 | USN-8489-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1009-ibm | Advisory build | 7.0.0-1009.9 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1013-nvidia | Advisory build | 7.0.0-1013.13 | USN-8507-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1013-nvidia-64k | Advisory build | 7.0.0-1013.13 | USN-8507-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1014-raspi | Advisory build | 7.0.0-1014.14 | USN-8488-2 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-1014-raspi-realtime | Advisory build | 7.0.0-1014.14 | USN-8488-2 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-27-generic | Advisory build | 7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-27-generic-64k | Advisory build | 7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-27-realtime | Advisory build | 7.0.0-27.27.1 | USN-8488-1 |
| Ubuntu | resolute | linux-buildinfo-7.0.0-27-realtime-64k | Advisory build | 7.0.0-27.27.1 | USN-8488-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1008-aws | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1008-aws-64k | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-27 | Advisory build | 7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-27-generic | Advisory build | 7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux-cloud-tools-7.0.0-27-realtime | Advisory build | 7.0.0-27.27.1 | USN-8488-1 |
| Ubuntu | resolute | linux-cloud-tools-common | Advisory build | 7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux-gcp | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-gcp-headers-7.0.0-1007 | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-gcp-tools-7.0.0-1007 | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1007-gcp | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1007-gcp-64k | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1007-oracle | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1007-oracle-64k | Advisory build | 7.0.0-1007.7 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1008-aws | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1008-aws-64k | Advisory build | 7.0.0-1008.8 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1008-oem | Advisory build | 7.0.0-1008.8 | USN-8489-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-azure-fde | Advisory build | 7.0.0-1009.9 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1009-ibm | Advisory build | 7.0.0-1009.9 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1010-azure | Advisory build | 7.0.0-1010.10 | USN-8603-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1013-nvidia | Advisory build | 7.0.0-1013.13 | USN-8507-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1013-nvidia-64k | Advisory build | 7.0.0-1013.13 | USN-8507-1 |
| Ubuntu | resolute | linux-headers-7.0.0-1014-raspi | Advisory build | 7.0.0-1014.14 | USN-8488-2 |
| Ubuntu | resolute | linux-headers-7.0.0-1014-raspi-realtime | Advisory build | 7.0.0-1014.14 | USN-8488-2 |
| Ubuntu | resolute | linux-headers-7.0.0-27 | Advisory build | 7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-27-generic | Advisory build | 7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-27-generic-64k | Advisory build | 7.0.0-27.27 | USN-8488-1 |
| Ubuntu | resolute | linux-headers-7.0.0-27-realtime | Advisory build | 7.0.0-27.27.1 | USN-8488-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable code runs only during late_initcall boot self-tests in drivers/of/unittest.c; reaching it requires local ability to build and boot a kernel with CONFIG_OF_UNITTEST enabled, with no network, syscall, or ioctl runtime path. AC:L - Once the unittest kernel boots, the UAF triggers deterministically after of_changeset_revert() when of_node_put() drops the sole reference; no race or attacker-uncontrolled memory layout is required. PR:N - Exploitation does not require privileges on a running production system—only booting a specially built unittest kernel—so no authenticated local user or namespace capability on the target image is needed. UI:N - The unittest executes automatically during kernel initialization after testcase DT data is attached; no additional victim interaction beyond booting the test configuration is required. S:U - The UAF corrupts kernel heap memory during in-kernel device-tree self-tests and does not cross VM, sandbox, or IOMMU security boundaries. C:H - After of_node_put() frees the device_node, of_property_present() and of_property_read_string() dereference freed memory, enabling kernel information disclosure from attacker-influencable freed heap contents. I:H - Use-after-free on a struct device_node in kernel heap can be leveraged for memory corruption and arbitrary kernel code execution via heap grooming, not merely a bounded write. A:H - Dereferencing a freed device_node during property lookups can cause kernel oops, BUG, or panic during boot-time unittest execution.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1c668ea65506e67ce2eae07b69bb09fcdd86e309 to < 37318d1a27c9cc5a70d3cd7e49e30ec86f2b8ca1 (affected · git)1c668ea65506e67ce2eae07b69bb09fcdd86e309 to < 7f0f0926f3010b10cff5e93446258f971e42f2fd (affected · git)1c668ea65506e67ce2eae07b69bb09fcdd86e309 to < 6fdad20b7975bdc32e85b45f8f7c640f6687b81f (affected · git)1c668ea65506e67ce2eae07b69bb09fcdd86e309 to < faecdd423c27f0d6090156a435ba9dbbac0eaddb (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.12 (affected)0 to < 6.12 (unaffected · semver)6.12.86 through 6.12.* (unaffected · semver)6.18.27 through 6.18.* (unaffected · semver)7.0.4 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
of: unittest: fix use-after-free in of_unittest_changeset()
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cc3d329e953a0121398c5aa2fb3d4d2ebee0a836820df93aca12f4ff6acc5290
- Ingested
- 23 Sep 2026, 09:16:17 UTC
- Source record
- Official CVE record