Re: [bug report] dm crypt: conditionally enable code needed for tasklet usecases

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 09, 2023 at 05:35:20PM +0300, Dan Carpenter wrote:
> --> 2758         if (test_bit(DM_CRYPT_NO_READ_WORKQUEUE, &cc->flags) ||
>                                                            ^^^^^^^^^
>     2759             test_bit(DM_CRYPT_NO_WRITE_WORKQUEUE, &cc->flags))
>                                                             ^^^^^^^^^
> UAF.  This wasn't tested, right?  If this passes testing then it means
> kfree_sensitive() is broken.  (Normally UAF bugs can only be detected
> with KASan, but kfree_sensitive() should poison the data I thought).
> 

Nope.  This is thing where you need KASan to detect the bug.  I'm wrong
and continually demonstrate how even twenty years in to it I still don't
understand pointers.

regards,
dan carpenter

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/dm-devel




[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux