{"api_version":"1","generated_at":"2026-06-27T20:53:19+00:00","cve":"CVE-2026-53185","urls":{"html":"https://cve.report/CVE-2026-53185","api":"https://cve.report/api/cve/CVE-2026-53185.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-53185","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-53185"},"summary":{"title":"zram: fix use-after-free in zram_bvec_write_partial()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nzram: fix use-after-free in zram_bvec_write_partial()\n\nzram_read_page() picks the sync or async backing device read path based on\nwhether the parent bio is NULL.  zram_bvec_write_partial() passes its\nparent bio down, so for ZRAM_WB slots the read is dispatched\nasynchronously and zram_read_page() returns 0 while the bio is still in\nflight.  The caller then runs memcpy_from_bvec(), zram_write_page() and\n__free_page() on the buffer, leaving the async read to write into a freed\npage.\n\nzram_bvec_read_partial() was switched to NULL in commit 4e3c87b9421d\n(\"zram: fix synchronous reads\") for the same reason; the write_partial\ncounterpart was missed.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-06-25 09:16:35","updated_at":"2026-06-25 09:16:35"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/0c2821665ff71be3f4b07ecece384669f2877f6a","name":"https://git.kernel.org/stable/c/0c2821665ff71be3f4b07ecece384669f2877f6a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/198b5a14cca27263b9c14b20114c8092de15dfcb","name":"https://git.kernel.org/stable/c/198b5a14cca27263b9c14b20114c8092de15dfcb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/732fd9f0b9c1cdc6dfd77162ded60df005182cc0","name":"https://git.kernel.org/stable/c/732fd9f0b9c1cdc6dfd77162ded60df005182cc0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/77a602b505ce4802915853cfc435a4722fab3e64","name":"https://git.kernel.org/stable/c/77a602b505ce4802915853cfc435a4722fab3e64","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c96786d6ff1acc1d54d9241e97767554c1dfdd5b","name":"https://git.kernel.org/stable/c/c96786d6ff1acc1d54d9241e97767554c1dfdd5b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-53185","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-53185","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e654f8fbff52ac483fb69957222853d7e2fc588 0c2821665ff71be3f4b07ecece384669f2877f6a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e654f8fbff52ac483fb69957222853d7e2fc588 77a602b505ce4802915853cfc435a4722fab3e64 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e654f8fbff52ac483fb69957222853d7e2fc588 c96786d6ff1acc1d54d9241e97767554c1dfdd5b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e654f8fbff52ac483fb69957222853d7e2fc588 198b5a14cca27263b9c14b20114c8092de15dfcb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e654f8fbff52ac483fb69957222853d7e2fc588 732fd9f0b9c1cdc6dfd77162ded60df005182cc0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.143 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.94 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.36 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.13 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"53185","cve":"CVE-2026-53185","epss":"0.001750000","percentile":"0.072330000","score_date":"2026-06-26","updated_at":"2026-06-27 00:07:46"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/block/zram/zram_drv.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"0c2821665ff71be3f4b07ecece384669f2877f6a","status":"affected","version":"8e654f8fbff52ac483fb69957222853d7e2fc588","versionType":"git"},{"lessThan":"77a602b505ce4802915853cfc435a4722fab3e64","status":"affected","version":"8e654f8fbff52ac483fb69957222853d7e2fc588","versionType":"git"},{"lessThan":"c96786d6ff1acc1d54d9241e97767554c1dfdd5b","status":"affected","version":"8e654f8fbff52ac483fb69957222853d7e2fc588","versionType":"git"},{"lessThan":"198b5a14cca27263b9c14b20114c8092de15dfcb","status":"affected","version":"8e654f8fbff52ac483fb69957222853d7e2fc588","versionType":"git"},{"lessThan":"732fd9f0b9c1cdc6dfd77162ded60df005182cc0","status":"affected","version":"8e654f8fbff52ac483fb69957222853d7e2fc588","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/block/zram/zram_drv.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.14"},{"lessThan":"4.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.143","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.94","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.36","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.13","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.143","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.94","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.36","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.13","versionStartIncluding":"4.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1","versionStartIncluding":"4.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nzram: fix use-after-free in zram_bvec_write_partial()\n\nzram_read_page() picks the sync or async backing device read path based on\nwhether the parent bio is NULL.  zram_bvec_write_partial() passes its\nparent bio down, so for ZRAM_WB slots the read is dispatched\nasynchronously and zram_read_page() returns 0 while the bio is still in\nflight.  The caller then runs memcpy_from_bvec(), zram_write_page() and\n__free_page() on the buffer, leaving the async read to write into a freed\npage.\n\nzram_bvec_read_partial() was switched to NULL in commit 4e3c87b9421d\n(\"zram: fix synchronous reads\") for the same reason; the write_partial\ncounterpart was missed."}],"providerMetadata":{"dateUpdated":"2026-06-25T08:38:58.853Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/0c2821665ff71be3f4b07ecece384669f2877f6a"},{"url":"https://git.kernel.org/stable/c/77a602b505ce4802915853cfc435a4722fab3e64"},{"url":"https://git.kernel.org/stable/c/c96786d6ff1acc1d54d9241e97767554c1dfdd5b"},{"url":"https://git.kernel.org/stable/c/198b5a14cca27263b9c14b20114c8092de15dfcb"},{"url":"https://git.kernel.org/stable/c/732fd9f0b9c1cdc6dfd77162ded60df005182cc0"}],"title":"zram: fix use-after-free in zram_bvec_write_partial()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-53185","datePublished":"2026-06-25T08:38:58.853Z","dateReserved":"2026-06-09T07:44:35.390Z","dateUpdated":"2026-06-25T08:38:58.853Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-25 09:16:35","lastModifiedDate":"2026-06-25 09:16:35","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"53185","Ordinal":"1","Title":"zram: fix use-after-free in zram_bvec_write_partial()","CVE":"CVE-2026-53185","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"53185","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nzram: fix use-after-free in zram_bvec_write_partial()\n\nzram_read_page() picks the sync or async backing device read path based on\nwhether the parent bio is NULL.  zram_bvec_write_partial() passes its\nparent bio down, so for ZRAM_WB slots the read is dispatched\nasynchronously and zram_read_page() returns 0 while the bio is still in\nflight.  The caller then runs memcpy_from_bvec(), zram_write_page() and\n__free_page() on the buffer, leaving the async read to write into a freed\npage.\n\nzram_bvec_read_partial() was switched to NULL in commit 4e3c87b9421d\n(\"zram: fix synchronous reads\") for the same reason; the write_partial\ncounterpart was missed.","Type":"Description","Title":"zram: fix use-after-free in zram_bvec_write_partial()"}]}}}