[PATCH] usbnet: smsc95xx: Fix use-after-free after removal

2020-06-21 Thread Tuomas Tynkkynen
use by the concurrently running workqueue callback. Thus switch to using cancel_delayed_work_sync() to ensure the work callback really is no longer active. Reported-by: syzbot+29dc7d4ae19b703ff...@syzkaller.appspotmail.com Signed-off-by: Tuomas Tynkkynen --- Compile tested only. --- drivers/net

Re: [PATCH 0/2] 9p: Fixes for hard-to-hit bugs

2017-10-23 Thread Tuomas Tynkkynen
Hi Al, On Fri, 2017-10-20 at 21:11 +0100, Al Viro wrote: > On Tue, Sep 26, 2017 at 04:10:14PM +0300, Tuomas Tynkkynen wrote: > > Hi Al, > > > > On Wed, 2017-09-06 at 17:59 +0300, Tuomas Tynkkynen wrote: > > > These two patches fix two hard-to-hit (but really an

Re: [PATCH 0/2] 9p: Fixes for hard-to-hit bugs

2017-10-20 Thread Tuomas Tynkkynen
Al, Linus Can one of you please pick these patches? They've been on the list for a month now, with an ack from Latchesar Ionkov. Thanks! Tuomas On Wed, 2017-09-06 at 17:59 +0300, Tuomas Tynkkynen wrote: > These two patches fix two hard-to-hit (but really annoying) bugs in > 9p. >

Re: [PATCH 0/2] 9p: Fixes for hard-to-hit bugs

2017-09-26 Thread Tuomas Tynkkynen
Hi Al, On Wed, 2017-09-06 at 17:59 +0300, Tuomas Tynkkynen wrote: > These two patches fix two hard-to-hit (but really annoying) bugs in > 9p. > The first one was posted earlier in February (with one R-b), the > second > is a new one. > > Both of these have had soaking

[PATCH 0/2] 9p: Fixes for hard-to-hit bugs

2017-09-06 Thread Tuomas Tynkkynen
These two patches fix two hard-to-hit (but really annoying) bugs in 9p. The first one was posted earlier in February (with one R-b), the second is a new one. Both of these have had soaking in NixOS distribution kernels for a couple of months with no ill effects. Tuomas Tynkkynen (2): fs/9p

[PATCH 2/2] net/9p: Switch to wait_event_killable()

2017-09-06 Thread Tuomas Tynkkynen
the stat(). In practice, hitting the problem is rare and needs a really slow/bogged down 9p server. Cc: sta...@vger.kernel.org Signed-off-by: Tuomas Tynkkynen --- net/9p/client.c | 3 +-- net/9p/trans_virtio.c | 13 ++--- net/9p/trans_xen.c| 4 ++-- 3 files changed, 9 in

[PATCH 1/2] fs/9p: Compare qid.path in v9fs_test_inode

2017-09-06 Thread Tuomas Tynkkynen
he can now accidentally locate a completely wrong inode from the same inode hash bucket if the other fields (qid.type and qid.version) match. Fixes: fd2421f54423 ("fs/9p: When doing inode lookup compare qid details and inode mode bits.") Cc: sta...@vger.kernel.org Reviewed-by: Latchesar Ionkov S