CVE-2026-53185

zram: fix use-after-free in zram_bvec_write_partial()

HIGH
7.8
CVSS Score
Published: June 25, 2026 at 08:38 AM UTC
Updated: October 19, 2026 at 08:19 PM UTC
2 products affected across 2 vendorsLinux KernelEnterprise Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: zram: fix use-after-free in zram_bvec_write_partial() zram_read_page() picks the sync or async backing device read path based on whether the parent bio is NULL. zram_bvec_write_partial() passes its parent bio down, so for ZRAM_WB slots the read is dispatched asynchronously and zram_read_page() returns 0 while the bio is still in flight. The caller then runs memcpy_from_bvec(), zram_write_page() and __free_page() on the buffer, leaving the async read to write into a freed page. zram_bvec_read_partial() was switched to NULL in commit 4e3c87b9421d ("zram: fix synchronous reads") for the same reason; the write_partial counterpart was missed.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.14 ≤ v < 6.6.1436.13 ≤ v < 6.18.366.19 ≤ v < 7.0.136.7 ≤ v < 6.12.947.17.1 rc17.1 rc27.1 rc37.1 rc47.1 rc57.1 rc67.1 rc78e654f8fbff52ac483fb69957222853d7e2fc588
Vendor states this is fixed in 0c2821665ff71be3f4b07ecece384669f2877f6a (fixed)
Vendor states this is fixed in 198b5a14cca27263b9c14b20114c8092de15dfcb (fixed)
Vendor states this is fixed in 732fd9f0b9c1cdc6dfd77162ded60df005182cc0 (fixed)
Vendor states this is fixed in 77a602b505ce4802915853cfc435a4722fab3e64 (fixed)
Vendor states this is fixed in c96786d6ff1acc1d54d9241e97767554c1dfdd5b (fixed)
Vendor states this is fixed in 4.14 (unaffected)
Vendor states this is fixed in 6.12.94 (unaffected)
Vendor states this is fixed in 6.18.36 (unaffected)
Vendor states this is fixed in 6.6.143 (unaffected)
Vendor states this is fixed in 7.0.13 (unaffected)
Vendor states this is fixed in 7.1 (unaffected)
Vendor states this is fixed in 0:4.18.0-553.159.1.el8_10 (unaffected)
Vendor states this is fixed in 0:4.18.0-553.159.1.rt7.500.el8_10 (unaffected)
Vendor states this is fixed in 0:5.14.0-687.42.1.el9_8 (unaffected)
Vendor states this is fixed in 0:6.12.0-211.50.1.el10_2 (unaffected)
Vendor states this is fixed in 6 (unaffected)
Vendor states this is fixed in 7 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-364CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card