dm cache: fix write hang in passthrough mode
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.1.175, Kernel 6.18.33, Kernel 7.0.10 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: dm cache: fix write hang in passthrough mode The invalidate_remove() function has incomplete logic for handling write hit bios after cache invalidation. It sets up the remapping for the overwrite_bio but then drops it immediately without submission, causing write operations to hang. Fix by adding a new invalidate_committed() continuation that submits the remapped writes to the cache origin after metadata commit completes, while using the overwrite_endio hook to ensure proper completion sequencing. This maintains existing coherency. Also improve error handling in invalidate_complete() to preserve the original error status instead of using bio_io_error() unconditionally.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.12 <6.1.175, >=6.13 <6.18.33, >=6.19 <7.0.10, >=6.2 <6.6.141, >=6.7 <6.12.91, >=b29d4986d0da1a27cd35917cdb433672f5c95d7f <4ca8b8bd952df7c3ccdc68af9bd3419d0839a04b, >=b29d4986d0da1a27cd35917cdb433672f5c95d7f <64d6519b00be4116d365bd31f33a5e5ce2944c1a, >=b29d4986d0da1a27cd35917cdb433672f5c95d7f <9fa18d0b981776b190ca4632942a7c2174052b78, >=b29d4986d0da1a27cd35917cdb433672f5c95d7f <b8ace9e96983abb20ccf39edce8a60f1bb0b83d8, >=b29d4986d0da1a27cd35917cdb433672f5c95d7f <ecb10c193cbebf5e6984246a9b4ff1f95d45ed87, =4.12, >=b29d4986d0da1a27cd35917cdb433672f5c95d7f <05798d091ebcfb6d68228890e593f209e8ac940d | 6.1.175, 6.18.33, 7.0.10, 6.6.141, 6.12.91, 4ca8b8bd952df7c3ccdc68af9bd3419d0839a04b, 64d6519b00be4116d365bd31f33a5e5ce2944c1a, 9fa18d0b981776b190ca4632942a7c2174052b78, b8ace9e96983abb20ccf39edce8a60f1bb0b83d8, ecb10c193cbebf5e6984246a9b4ff1f95d45ed87, 05798d091ebcfb6d68228890e593f209e8ac940d |
| linux-kernel: Kernel | >=4.12.0 <6.1.175, >=6.13.0 <6.18.33, >=6.19.0 <7.0.10, >=6.2.0 <6.6.141, >=6.7.0 <6.12.91 | 6.1.175, 6.18.33, 7.0.10, 6.6.141, 6.12.91 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket