Message ID | 20230202162451.15346-1-thenzl@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | ses: prevent from out of bounds accesses | expand |
Tomas, > First patch fixes a KASAN reported problem Second patch fixes other > possible places in ses_enclosure_data_process where the max_desc_len > might access memory out of bounds. 3/4 does the same for desc_ptr in > ses_enclosure_data_process. The last patch fixes another KASAN report > in ses_intf_remove. Thanks for working on this! With your series applied, in combination with a straggling patch from James, I can finally boot my SAS test setup without any KASAN warnings. Applied to 6.3/scsi-staging, thanks!
On 2/21/23 23:59, Martin K. Petersen wrote: > > Tomas, > >> First patch fixes a KASAN reported problem Second patch fixes other >> possible places in ses_enclosure_data_process where the max_desc_len >> might access memory out of bounds. 3/4 does the same for desc_ptr in >> ses_enclosure_data_process. The last patch fixes another KASAN report >> in ses_intf_remove. > > Thanks for working on this! With your series applied, in combination > with a straggling patch from James, I can finally boot my SAS test setup > without any KASAN warnings. I'm glad it worked for you and it could have been added since I've noticed some previous approaches rejected. > > Applied to 6.3/scsi-staging, thanks! >