In the Linux kernel, the following vulnerability has been resolved: block: fix memory leak in __blkdevissuezeropages Move the fatal signal check before bioalloc() to prevent a memory leak when BLKDEVZEROKILLABLE 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 _blkdevissuewritezeroes() where the signal check precedes the allocation.