CVE-2026-53025·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.17% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-53025 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.17%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 4.9
Until: 7.0.10
Fixed in: 7.0.10
How to fix this CVE
Update your Linux kernel to version 7.0.10 or later to resolve a use-after-free vulnerability in the Greybus raw driver that occurs when a character device is closed after bundle disconnection. This fix ensures proper memory lifecycle management by embedding the device structure and using safe device release callbacks. Kernel updates should be applied promptly and tested in a staging environment before production deployment.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version and confirm if it falls within the vulnerable range (4.9 to 7.0.9)
- Verify if Greybus raw driver is loaded: 'lsmod | grep gb_raw' — if output is empty, the vulnerable component is not active
- Search kernel logs for use-after-free warnings: 'sudo grep -i "use-after-free\|refcount_t: underflow" /var/log/kern.log' or 'sudo journalctl -k | grep -i "use-after-free"'
- After patching, reboot and run 'uname -r' again to confirm kernel version is 7.0.10 or later, then verify cdev operations work without kernel panics in dmesg
FAQ
What is CVE-2026-53025?
This CVE describes a use-after-free memory safety bug in the Linux kernel's Greybus raw driver that occurs when an application keeps a character device open after the underlying hardware bundle is disconnected, causing a kernel panic during cleanup.
Is CVE-2026-53025 being actively exploited?
No, this vulnerability is not listed as actively exploited by CISA and no public exploits are currently available. However, it can cause denial of service through kernel panic in systems with CONFIG_INIT_ON_FREE_DEFAULT_ON enabled.
What versions of Kernel are affected by CVE-2026-53025?
Linux kernel versions 4.9 through 7.0.9 are vulnerable. The fix is included in kernel 7.0.10 and later.
How do I check if my server is vulnerable to CVE-2026-53025?
Run 'uname -r' and compare your version number against the vulnerable range (4.9-7.0.9). Additionally, check if Greybus support is enabled with 'lsmod | grep gb_raw' — vulnerability requires both the affected kernel version and active Greybus raw driver.
Does Defensia detect CVE-2026-53025?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-53025 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- 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
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-53025. Free for 1 server.
Get started free