CVE-2026-53025
published high CVSS 3.1 · 7.8greybus: raw: fix use-after-free on cdev close
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < 0597908256173da5256ef8e6db17ccc8d5c40ee3 · e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < e4d07fd4e30024a4a15094ef2c404197667c857e · e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < 3abf97a03f4abce1dc3639eea2fcd4bd747b3308 · e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < e72ffe59e48a74a8d9220f5ca1d03f2194d882f0 · e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < ef2d97c15b19b3489de01695bce478601e236c3e · e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < 983cc2c7efbce04ecbf6328448d895044dd6ab31 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.9 (affected) · 0 to < 4.9 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.114 through 6.12.* (unaffected · semver) · 6.18.57 through 6.18.* (unaffected · semver) · 7.0.10 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 |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| Ubuntu | jammy | linux-aws-6.8 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.115-2~deb12u1 | DLA-4904-1 |
| Debian | trixie | linux | Advisory build | 6.12.115-2 | DSA-6602-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | jammy | linux-aws-6.8-cloud-tools-6.8.0-1070 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-aws-6.8-headers-6.8.0-1070 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-aws-6.8-tools-6.8.0-1070 | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-azure-6.8 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-6.8-cloud-tools-6.8.0-1074 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-6.8-headers-6.8.0-1074 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-6.8-tools-6.8.0-1074 | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-cloud-tools-6.8.0-1072 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-headers-6.8.0-1072 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-azure-fde-6.8-tools-6.8.0-1072 | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-buildinfo-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-cloud-tools-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-gcp-6.8 | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-gcp-6.8-headers-6.8.0-1074 | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-gcp-6.8-tools-6.8.0-1074 | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-headers-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-headers-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-headers-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-ibm-6.8 | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-ibm-6.8-headers-6.8.0-1070 | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-ibm-6.8-tools-6.8.0-1070 | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-image-unsigned-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-oracle | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1068-oracle-64k | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1070-aws | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1070-aws-64k | Advisory build | 6.8.0-1070.76~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1074-gcp | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.0-1074-gcp-64k | Advisory build | 6.8.0-1074.82~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-extra-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-involflt-6.8.0-1072-azure-fde | Advisory build | 6.8.0-1072.79~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-involflt-6.8.0-1074-azure | Advisory build | 6.8.0-1074.83~22.04.1 | USN-9191-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.8.0-1070-ibm | Advisory build | 6.8.0-1070.71~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-modules-iwlwifi-6.8.1-1065-realtime | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1068-nvidia | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-modules-nvidia-fs-6.8.0-1068-nvidia-64k | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8-headers-6.8.0-1068 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-nvidia-6.8-tools-6.8.0-1068 | Advisory build | 6.8.0-1068.71~22.04.1 | USN-9192-1 |
| Ubuntu | jammy | linux-oracle-6.8 | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-oracle-6.8-headers-6.8.0-1068 | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-oracle-6.8-tools-6.8.0-1068 | Advisory build | 6.8.0-1068.72~22.04.1 | USN-9173-1 |
| Ubuntu | jammy | linux-realtime-6.8 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-realtime-6.8-cloud-tools-6.8.1-1065 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
| Ubuntu | jammy | linux-realtime-6.8-headers-6.8.1-1065 | Advisory build | 6.8.1-1065.66~22.04.1 | USN-9173-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: greybus: raw: fix use-after-free on cdev close This addresses a use-after-free bug when a raw bundle is disconnected but its chardev is still opened by an application. When the application releases the cdev, it causes the following panic when init on free is enabled (CONFIG_INIT_ON_FREE_DEFAULT_ON=y): refcount_t: underflow; use-after-free. WARNING: CPU: 0 PID: 139 at lib/refcount.c:28 refcount_warn_saturate+0xd0/0x130 ... Call Trace: <TASK> cdev_put+0x18/0x30 __fput+0x255/0x2a0 __x64_sys_close+0x3d/0x80 do_syscall_64+0xa4/0x290 entry_SYSCALL_64_after_hwframe+0x77/0x7f The cdev is contained in the "gb_raw" structure, which is freed in the disconnect operation. When the cdev is released at a later time, cdev_put gets an address that points to freed memory. To fix this use-after-free, convert the struct device from a pointer to being embedded, that makes the lifetime of the cdev and of this device the same. Then, use cdev_device_add, which guarantees that the device won't be released until all references to the cdev have been released. Finally, delegate the freeing of the structure to the device release function, instead of freeing immediately in the disconnect callback.
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
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable path is reached through a local Greybus raw character-device file descriptor, with close(2) eventually calling cdev_put on a cdev embedded in freed gb_raw memory. It is not an IP-network reachable path; Greybus disconnect/removal is the teardown condition. AC:L - Once a raw Greybus device exists, the sequence of opening the chardev, having the bundle disconnected, and then closing the fd deterministically triggers the stale cdev access. No narrow race win or attacker-uncontrolled memory layout condition is required to trigger the bug. PR:L - The raw driver performs no capability or authentication checks in its chardev operations; access is governed by the device node. Although devtmpfs defaults to root-owned 0600 absent userspace policy, the higher-severity reasonable deployment is an application-facing raw device accessible to a basic local user. UI:N - No separate victim action is needed when the attacker controls the local process holding and closing the file descriptor and can arrange or wait for Greybus teardown. The vulnerable access occurs during the attacker-triggered close path. S:U - The impact is within the same kernel security authority and does not cross a VM, IOMMU, or sandbox boundary. A kernel crash or local kernel memory corruption is standard unchanged-scope impact. C:H - This is a kernel heap use-after-free of a struct cdev embedded in the freed gb_raw object. Under the required kernel guidance, UAF is treated as capable of enabling high confidentiality impact through heap reuse and memory disclosure primitives. I:H - The stale cdev pointer is dereferenced after the containing kernel object has been freed, allowing plausible heap-spray/control-flow or object-corruption exploitation beyond a simple warning. Under the required kernel guidance, UAF maps to high integrity impact. A:H - The reported failure is a kernel refcount underflow/use-after-free warning and panic path during close when init-on-free is enabled. A repeatable kernel crash or oops is high availability impact.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < 0597908256173da5256ef8e6db17ccc8d5c40ee3 (affected · git)e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < e4d07fd4e30024a4a15094ef2c404197667c857e (affected · git)e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < 3abf97a03f4abce1dc3639eea2fcd4bd747b3308 (affected · git)e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < e72ffe59e48a74a8d9220f5ca1d03f2194d882f0 (affected · git)e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < ef2d97c15b19b3489de01695bce478601e236c3e (affected · git)e806c7fb8e9bae87fc23958c3789f2c2f96f54a4 to < 983cc2c7efbce04ecbf6328448d895044dd6ab31 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.9 (affected)0 to < 4.9 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.114 through 6.12.* (unaffected · semver)6.18.57 through 6.18.* (unaffected · semver)7.0.10 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/0597908256173da5256ef8e6db17ccc8d5c40ee3
- https://git.kernel.org/stable/c/3abf97a03f4abce1dc3639eea2fcd4bd747b3308
- https://git.kernel.org/stable/c/983cc2c7efbce04ecbf6328448d895044dd6ab31
- https://git.kernel.org/stable/c/e4d07fd4e30024a4a15094ef2c404197667c857e
- https://git.kernel.org/stable/c/e72ffe59e48a74a8d9220f5ca1d03f2194d882f0
- https://git.kernel.org/stable/c/ef2d97c15b19b3489de01695bce478601e236c3e
Provider assertions
1Linux · cna
greybus: raw: fix use-after-free on cdev close
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e075b17457ba9c0e37d8ecaa795ff7815856ca76a0deff1306ace7bb9c059b98
- Ingested
- 30 Oct 2026, 12:33:01 UTC
- Source record
- Official CVE record