Re: [PATCH v2 1/5] scsi: ufs: bsg: Complete the job on error

From: Stanley Jhu

Date: Wed Oct 14 2026 - 20:41:36 EST


On Thu, Oct 15, 2026 at 12:32:09AM +0000, sashiko-bot@xxxxxxxxxx wrote:
> Because job->reply_len is set to 104, this copies 8 bytes of adjacent
> slab memory to userspace, which could lead to heap corruption and
> memory disclosure.

Pre-existing and not changed by this patch; fixed separately in bsg-lib:
https://lore.kernel.org/all/20261013132708.1669415-1-stanleyjhu@xxxxxxxxxx/