Skip to contentSkip to conversation

Apply "vfs: don't do RCU lookup of empty pathnames" to stable

DISCUSSION Eric Biggers 2 participants 3 messages Feb 15, 2018 – Feb 21, 2018 Stable branch

lore
Share & tools
lore
#0 lore raw

Hi Greg, here's another one. When you have a chance can you please apply commit c0eb027e5aef ("vfs: don't do RCU lookup of empty pathnames") to the stable trees? I can reproduce the use-after-free on 4.4-stable and 4.9-stable, and it is fixed by the patch. And I wasn't able to check 3.18 because KASAN isn't available there, but I think the bug there as well. Thanks,

Eric

#1 lore raw
Quoted 5 lines · Eric Biggers

Hi Greg, here's another one. When you have a chance can you please apply commit c0eb027e5aef ("vfs: don't do RCU lookup of empty pathnames") to the stable trees? I can reproduce the use-after-free on 4.4-stable and 4.9-stable, and it is fixed by the patch. And I wasn't able to check 3.18 because KASAN isn't available there, but I think the bug there as well. Thanks,

Thanks for this, I'll queue it up for the next round of stable patches after this one.

greg k-h

#2 lore raw
Quoted 9 lines · Greg Kroah-Hartman
Quoted 5 lines · Eric Biggers

Hi Greg, here's another one. When you have a chance can you please apply commit c0eb027e5aef ("vfs: don't do RCU lookup of empty pathnames") to the stable trees? I can reproduce the use-after-free on 4.4-stable and 4.9-stable, and it is fixed by the patch. And I wasn't able to check 3.18 because KASAN isn't available there, but I think the bug there as well. Thanks,

Thanks for this, I'll queue it up for the next round of stable patches after this one.

It doesn't apply to 3.18.y due to some vfs changes not being there, so I'm going to go drop the patch I just queued up there, sorry for that noise. But now added to 4.4.y and 4.9.y.

thanks,

greg k-h