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

From: Bart Van Assche

Date: Thu Jul 16 2026 - 13:50:13 EST


On 7/15/26 11:19 PM, liqiang wrote:
The first patch validates string descriptor payload sizes and avoids raw
descriptor overreads. The remaining patches protect command completion and
MCQ cleanup, validate connected lane counts, validate RPMB frame sizes before
parsing, and retain a NUL terminator for debugfs input.
Since this is the first time that you are contributing to the UFS driver: how have these issues been discovered? How have these issues
been tested? Is my understanding correct that these only have been
compile-tested?

Bart.