On Mon, 15 Apr 2024 12:51:55 +0530, Manish Rangankar wrote: > The qedi_dbg_do_not_recover_cmd_read() function invokes sprintf() > directly on a __user pointer, which results into the crash. > > To fix this issue, use a small local stack buffer for sprintf() and then > call simple_read_from_buffer(), which in turns make the copy_to_user() > call. > > [...] Applied to 6.10/scsi-queue, thanks! [1/1] qedi: Fix crash while reading debugfs attribute. https://git.kernel.org/mkp/scsi/c/28027ec8e32e -- Martin K. Petersen Oracle Linux Engineering