CVE-2026-53185

Source
https://cve.org/CVERecord?id=CVE-2026-53185
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53185.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53185
Downstream
Related
Published
2026-06-25T08:38:58.853Z
Modified
2026-07-08T08:07:23.876110108Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
zram: fix use-after-free in zram_bvec_write_partial()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

zramreadpage() picks the sync or async backing device read path based on whether the parent bio is NULL. zrambvecwritepartial() passes its parent bio down, so for ZRAMWB slots the read is dispatched asynchronously and zramreadpage() returns 0 while the bio is still in flight. The caller then runs memcpyfrombvec(), zramwritepage() and _freepage() on the buffer, leaving the async read to write into a freed page.

zrambvecreadpartial() was switched to NULL in commit 4e3c87b9421d ("zram: fix synchronous reads") for the same reason; the writepartial counterpart was missed.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53185.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8e654f8fbff52ac483fb69957222853d7e2fc588
Fixed
0c2821665ff71be3f4b07ecece384669f2877f6a
Fixed
77a602b505ce4802915853cfc435a4722fab3e64
Fixed
c96786d6ff1acc1d54d9241e97767554c1dfdd5b
Fixed
198b5a14cca27263b9c14b20114c8092de15dfcb
Fixed
732fd9f0b9c1cdc6dfd77162ded60df005182cc0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53185.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.14.0
Fixed
6.6.143
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.94
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.36
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.0.13

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53185.json"