block: fix memory leak in __blkdev_issue_zero_pages
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 453e4b0c84d0db1454ff0adf655d91179e6fca3a, Kernel 7193407bc4457212fa38ec3aff9c640e63a8dbef, Kernel 7957635c679e8a01147163a3a4a1f16e1210fa03 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: block: fix memory leak in __blkdev_issue_zero_pages Move the fatal signal check before bio_alloc() to prevent a memory leak when BLKDEV_ZERO_KILLABLE is set and a fatal signal is pending. Previously, the bio was allocated before checking for a fatal signal. If a signal was pending, the code would break out of the loop without freeing or chaining the just-allocated bio, causing a memory leak. This matches the pattern already used in __blkdev_issue_write_zeroes() where the signal check precedes the allocation.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.11, >=bf86bcdb40123ee99669ee91b67e023669433a1a <453e4b0c84d0db1454ff0adf655d91179e6fca3a, >=bf86bcdb40123ee99669ee91b67e023669433a1a <7193407bc4457212fa38ec3aff9c640e63a8dbef, >=bf86bcdb40123ee99669ee91b67e023669433a1a <7957635c679e8a01147163a3a4a1f16e1210fa03, >=bf86bcdb40123ee99669ee91b67e023669433a1a <f7e3f852a42d7cd8f1af2c330d9d153e30c8adcf | 453e4b0c84d0db1454ff0adf655d91179e6fca3a, 7193407bc4457212fa38ec3aff9c640e63a8dbef, 7957635c679e8a01147163a3a4a1f16e1210fa03, f7e3f852a42d7cd8f1af2c330d9d153e30c8adcf |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket