CVE-2026-63951
Last modified
CVE-2026-63951 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: zram: fix use-after-free in zram_writeback_endio A crash was observed in zram_writeback_endio due to a NULL pointer dereference in wake_up. The root cause is a race condition between the bio completion handler (zram_writeback_endio) and the writeback task. In zram_writeback_endio, wake_up() is called on &wb_ctl->done_wait after releasing wb_ctl->done_lock. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: zram: fix use-after-free in zram_writeback_endio A crash was observed in zram_writeback_endio due to a NULL pointer dereference in wake_up. The root cause is a race condition between the bio completion handler (zram_writeback_endio) and the writeback task. In zram_writeback_endio, wake_up() is called on &wb_ctl->done_wait after releasing wb_ctl->done_lock. This creates a race window where the writeback task can see num_inflight become 0, return, and free wb_ctl before zram_writeback_endio calls wake_up(). CPU 0 (zram_writeback_endio) CPU 1 (writeback_store) ============================ ============================ zram_writeback_slots zram_submit_wb_request zram_submit_wb_request wait_event(wb_ctl->done_wait) spin_lock(&wb_ctl->done_lock); list_add(&req->entry, &wb_ctl->done_reqs); spin_unlock(&wb_ctl->done_lock); wake_up(&wb_ctl->done_wait); zram_complete_done_reqs spin_lock(&wb_ctl->done_lock); list_add(&req->entry, &wb_ctl->done_reqs); spin_unlock(&wb_ctl->done_lock); while (num_inflight) > 0) spin_lock(&wb_ctl->done_lock); list_del(&req->entry); spin_unlock(&wb_ctl->done_lock); // num_inflight becomes 0 atomic_dec(num_inflight); // Leave zram_writeback_slots // Free wb_ctl release_wb_ctl(wb_ctl); // UAF crash! wake_up(&wb_ctl->done_wait); This patch fixes this race by using RCU. By protecting wb_ctl with rcu_read_lock() in zram_writeback_endio and using kfree_rcu() to free it, we ensure that wb_ctl remains valid during the execution of zram_writeback_endio.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= f405066a1f0db818270f49a5e96be329bcabde1e, < ebe2cbefc86291fa7f386447a81995640df4e2fd; >= f405066a1f0db818270f49a5e96be329bcabde1e, < bf62f69574b19720ae5fbbbcdf24a0c4e3e05e43 |
| Linux | Linux | 6.19 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-63951?
How severe is CVE-2026-63951?
How do I fix CVE-2026-63951?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-63946In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-63947In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-63948In the Linux kernel, the following vulnerability has been re…
- CVE-2026-63949In the Linux kernel, the following vulnerability has been re…
- CVE-2026-6395The Word 2 Cash plugin for WordPress is vulnerable to Cross-…6.1
- CVE-2026-63950In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-63952In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-63953In the Linux kernel, the following vulnerability has been re…
- CVE-2026-63954In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-63955In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-63956In the Linux kernel, the following vulnerability has been re…
- CVE-2026-63957In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-63951?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
