github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/linux/test/fuse_deadlock (about) 1 # Test how we avoid fuse deadlocks in kill_and_wait. 2 # requires: threaded -sandbox= -C,norepeat 3 4 mkdirat(0xffffffffffffff9c, &AUTO='./file0\x00', 0x0) 5 r0 = openat$fuse(0xffffffffffffff9c, &AUTO='/dev/fuse\x00', 0x2, 0x0) 6 mount$fuse(0x0, &AUTO='./file0\x00', &AUTO='fuse\x00', 0x0, &AUTO={{'fd', 0x3d, r0}, 0x2c, {'rootmode', 0x3d, 0x4000}, 0x2c, {'user_id', 0x3d, 0x0}, 0x2c, {'group_id', 0x3d, 0x0}, 0x2c, {[], [], 0x0}}) 7 read$FUSE(r0, &AUTO={AUTO, 0x0, <r1=>0x0, 0x0, 0x0, 0x0, 0x0, ""/8192}, AUTO) 8 pread64(r0, &AUTO=""/236, AUTO, 0x0) # blocked 9 write$FUSE_INIT(r0, &AUTO={AUTO, 0x0, r1, {AUTO, AUTO, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, "0000000000000000"}}, AUTO) 10 mkdirat(0xffffffffffffff9c, &AUTO='./file0/file0\x00', 0x0) # unfinished 11 write$FUSE_NOTIFY_INVAL_ENTRY(r0, &AUTO={AUTO, 0x3, 0x0, {0x1, AUTO, 0x0, 'group_id', 0x0}}, AUTO) # unfinished