Re: [PATCH v2 0/6] scsi: ufs: Fix descriptor parsing and invalid input handling

Bart Van Assche <[email protected]> Tue, 4 Aug 2026 21:59:11 -0700
Newsgroups gmane.linux.scsi
Message-ID <[email protected]>
On 7/17/26 8:39 AM, Li Qiang wrote:
> The first patch validates string descriptor payload sizes and avoids raw
> descriptor overreads. The remaining patches protect invalid completion
> diagnostics, validate connected lane counts, validate RPMB frame sizes,
> use unaligned RPMB frame accesses, and retain a NUL terminator for
> debugfs input.

Hi Martin,

Can you please take a look at this patch series? Patch 1/6 has already
been backported to an internal Android kernel 6.18 development branch
because it fixes a buffer overflow we ran into on an emulator
environment.

Thank you,

Bart.