zram: do not forget to endio for partial discard requests
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.27, Kernel 7.0.4, Kernel 6.6.140 and 6 more.
In the Linux kernel, the following vulnerability has been resolved: zram: do not forget to endio for partial discard requests As reported by Qu Wenruo and Avinesh Kumar, the following getconf PAGESIZE 65536 blkdiscard -p 4k /dev/zram0 takes literally forever to complete. zram doesn't support partial discards and just returns immediately w/o doing any discard work in such cases. The problem is that we forget to endio on our way out, so blkdiscard sleeps forever in submit_bio_wait(). Fix this by jumping to end_bio label, which does bio_endio().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.27, >=6.19 <7.0.4, >=6.4 <6.6.140, >=6.7 <6.12.86, >=0120dd6e4e202e19a0e011e486fb2da40a5ea279 <35d3300f6357cfaa72db2721dc2b345b19bac5df, >=0120dd6e4e202e19a0e011e486fb2da40a5ea279 <68ce397e8236088fc53b9532d383a722288c8194, >=0120dd6e4e202e19a0e011e486fb2da40a5ea279 <a02363f71a79b755daa78a70d6b217f9c13c8c85, >=0120dd6e4e202e19a0e011e486fb2da40a5ea279 <e3668b371329ea036ff022ce8ecc82f8befcf003, =6.4, >=0120dd6e4e202e19a0e011e486fb2da40a5ea279 <2d1f18efccdb8b29552399d024c36b705447e975 | 6.18.27, 7.0.4, 6.6.140, 6.12.86, 35d3300f6357cfaa72db2721dc2b345b19bac5df, 68ce397e8236088fc53b9532d383a722288c8194, a02363f71a79b755daa78a70d6b217f9c13c8c85, e3668b371329ea036ff022ce8ecc82f8befcf003, 2d1f18efccdb8b29552399d024c36b705447e975 |
| linux-kernel: Kernel | >=6.13.0 <6.18.27, >=6.19.0 <7.0.4, >=6.4.0 <6.6.140, >=6.7.0 <6.12.86 | 6.18.27, 7.0.4, 6.6.140, 6.12.86 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket