-

CVE-2026-89719

zram: fix out-of-bounds access in read_block_state()

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version c0265342bff4fcaa2cdf13f4596244c18d4a7ae5
Version < 6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b
Status affected
Version c0265342bff4fcaa2cdf13f4596244c18d4a7ae5
Version < e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d
Status affected
Version c0265342bff4fcaa2cdf13f4596244c18d4a7ae5
Version < 5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3
Status affected
Version c0265342bff4fcaa2cdf13f4596244c18d4a7ae5
Version < 391f057f44a51cc9418da5cba78b014324174264
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 4.18
Status affected
Version 0
Version < 4.18
Status unaffected
Version <= 6.12.*
Version 6.12.111
Status unaffected
Version <= 6.18.*
Version 6.18.51
Status unaffected
Version <= 7.2.*
Version 7.2.4
Status unaffected
Version <= *
Version 7.3-rc1
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.061
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/e7dbcb7a561a21e9a8f5b5fa90bb95aefbd0739d
https://git.kernel.org/stable/c/5e458fa714a55b6b64a9fe0c6d4fa609609f9ec3
https://git.kernel.org/stable/c/391f057f44a51cc9418da5cba78b014324174264
https://git.kernel.org/stable/c/6d52c1f43ff39ea1ebf8f016e847677f0b60cf2b