CVE-2026-89719
N/A
N/A
Summary
In the Linux kernel, the following vulnerability has been resolved:
zram: fix out-of-bounds access in read_block_state()
read_block_state() calculates nr_pages before taking dev_lock. If the device is reset and reinitialized with a smaller disksize before lock acquisition, nr_pages still describes the old table. The subsequent loop can then call slot_lock() past the end of the newly allocated table.
Read disksize after acquiring dev_lock and checking that the device is initialized. The read lock then keeps the table and its bound stable for the duration of the scan.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Linux | Linux | c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 < e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d | affected |
| Linux | Linux | c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 < 5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3 | affected |
| Linux | Linux | c0265342bff4fcaa2cdf13f4596244c18d4a7ae5 < 391f057f44a51cc9418da5cba78b014324174264 | affected |
| Linux | Linux | 4.18 | affected |
| Linux | Linux | 0 < 4.18 | unaffected |
| Linux | Linux | 6.18.51 <= 6.18.* | unaffected |
| Linux | Linux | 7.2.4 <= 7.2.* | unaffected |
| Linux | Linux | 7.3-rc1 <= * | unaffected |
Weaknesses
References
- https://git.kernel.org/stable/c/e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d
- https://git.kernel.org/stable/c/5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3
- https://git.kernel.org/stable/c/391f057f44a51cc9418da5cba78b014324174264
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.