Linux
zram: fix potential UAF of zram table
In the Linux kernel, the following vulnerability has been resolved: zram: fix potential UAF of zram table If zram_meta_alloc failed early, it frees allocated zram->table without setting it NULL. Which will potentially cause zram_meta_free to access the table if user reset an failed and uninitialized device.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= ac3b5366b9b7c9d97b606532ceab43d2329a22f3, < fe3de867f94819ba0f28e035c0b0182150147d95
- >= 0b5b0b65561b34e6e360de317e4bcd031bfabf42, < 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef
- >= 6fb92e9a52e3feae309a213950f21dfcd1eb0b40, < 902ef8f16d5ca77edc77c30656be54186c1e99b7
- >= 74363ec674cb172d8856de25776c8f3103f05e2f, < 212fe1c0df4a150fb6298db2cfff267ceaba5402
Fixed in fe3de867f94819ba0f28e035c0b0182150147d95, 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef, 902ef8f16d5ca77edc77c30656be54186c1e99b7, 212fe1c0df4a150fb6298db2cfff267ceaba5402
- >= 6.1.122, < 6.1.127
- >= 6.6.68, < 6.6.74
- >= 6.12.7, < 6.12.11
Fixed in 6.1.127, 6.6.74, 6.12.11
Mitigation
Upgrade Linux to fe3de867f94819ba0f28e035c0b0182150147d95 or 571d3f6045cd3a6d9f6aec33b678f3ffe97582ef or 902ef8f16d5ca77edc77c30656be54186c1e99b7 or 212fe1c0df4a150fb6298db2cfff267ceaba5402 or later.
Upgrade Linux to 6.1.127 or 6.6.74 or 6.12.11 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.