lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Thu, 11 May 2017 23:15:34 -0400
From:   "Martin K. Petersen" <>
To:     Johannes Thumshirn <>
Cc:     "Martin K . Petersen" <>,
        James Bottomley <>,
        Andrey Konovalov <>,
        Linux Kernel Mailinglist <>,
        Linux SCSI Mailinglist <>,
        Hannes Reinecke <>, Christoph Hellwig <>,
        Doug Gilbert <>
Subject: Re: [PATCH v2] scsi: sg: don't return bogus Sg_requests


> If the list search in sg_get_rq_mark() fails to find a valid request,
> we return a bogus element. This then can later lead to a GPF in
> sg_remove_scat().
> So don't return bogus Sg_requests in sg_get_rq_mark() but NULL in case
> the list search doesn't find a valid request.

Applied to 4.12/scsi-fixes, thanks!

Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists