possible deadlock in loop_control_ioctl

6 views
Skip to first unread message

syzbot

unread,
Dec 12, 2022, 9:37:37 AM12/12/22
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3f8a27f9e27b Linux 4.19.211
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1625f357880000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=d0cf1bafe94b60a4bf7d
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/98c0bdb4abb3/disk-3f8a27f9.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/ea228ff02669/vmlinux-3f8a27f9.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+d0cf1b...@syzkaller.appspotmail.com

netlink: 'syz-executor.2': attribute type 4 has an invalid length.
netlink: 'syz-executor.1': attribute type 4 has an invalid length.
======================================================
WARNING: possible circular locking dependency detected
4.19.211-syzkaller #0 Not tainted
------------------------------------------------------
syz-executor.0/22347 is trying to acquire lock:
0000000057064891 ((work_completion)(&(&wb->dwork)->work)){+.+.}, at: __flush_work+0x51a/0x8b0 kernel/workqueue.c:2932

but task is already holding lock:
000000003115d279 (loop_ctl_mutex){+.+.}, at: loop_control_ioctl+0x7b/0x480 drivers/block/loop.c:2137

which lock already depends on the new lock.


the existing dependency chain (in reverse order) is:

-> #6 (loop_ctl_mutex){+.+.}:
lo_open+0x19/0xd0 drivers/block/loop.c:1771
__blkdev_get+0x372/0x1480 fs/block_dev.c:1494
blkdev_get+0xb0/0x940 fs/block_dev.c:1627
blkdev_open+0x202/0x290 fs/block_dev.c:1788
do_dentry_open+0x4aa/0x1160 fs/open.c:796
do_last fs/namei.c:3421 [inline]
path_openat+0x793/0x2df0 fs/namei.c:3537
do_filp_open+0x18c/0x3f0 fs/namei.c:3567
do_sys_open+0x3b3/0x520 fs/open.c:1085
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

-> #5 (&bdev->bd_mutex){+.+.}:
blkdev_put+0x30/0x520 fs/block_dev.c:1839
btrfs_close_bdev fs/btrfs/volumes.c:1033 [inline]
btrfs_close_one_device fs/btrfs/volumes.c:1057 [inline]
close_fs_devices.part.0+0x24d/0x8e0 fs/btrfs/volumes.c:1085
close_fs_devices fs/btrfs/volumes.c:1117 [inline]
btrfs_close_devices+0x95/0x1f0 fs/btrfs/volumes.c:1103
open_ctree+0x26b/0x61e0 fs/btrfs/disk-io.c:3326
btrfs_fill_super fs/btrfs/super.c:1209 [inline]
btrfs_mount_root+0x12e5/0x1830 fs/btrfs/super.c:1613
mount_fs+0xa3/0x310 fs/super.c:1261
vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
vfs_kern_mount+0x3c/0x60 fs/namespace.c:951
btrfs_mount+0x23a/0xaa0 fs/btrfs/super.c:1681
mount_fs+0xa3/0x310 fs/super.c:1261
vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
vfs_kern_mount fs/namespace.c:951 [inline]
do_new_mount fs/namespace.c:2492 [inline]
do_mount+0x115c/0x2f50 fs/namespace.c:2822
ksys_mount+0xcf/0x130 fs/namespace.c:3038
__do_sys_mount fs/namespace.c:3052 [inline]
__se_sys_mount fs/namespace.c:3049 [inline]
__x64_sys_mount+0xba/0x150 fs/namespace.c:3049
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

-> #4 (&fs_devs->device_list_mutex){+.+.}:
btrfs_finish_chunk_alloc+0x27b/0xf90 fs/btrfs/volumes.c:4938
btrfs_create_pending_block_groups+0x242/0x590 fs/btrfs/extent-tree.c:10134
__btrfs_end_transaction+0x21a/0xb00 fs/btrfs/transaction.c:855
flush_space+0xa41/0xee0 fs/btrfs/extent-tree.c:4861
btrfs_async_reclaim_metadata_space+0x466/0x1050 fs/btrfs/extent-tree.c:4977
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

-> #3 (sb_internal#4){.+.+}:
sb_start_intwrite include/linux/fs.h:1626 [inline]
start_transaction+0xa37/0xf90 fs/btrfs/transaction.c:528
btrfs_dirty_inode+0xe3/0x210 fs/btrfs/inode.c:6165
btrfs_update_time+0x33b/0x3d0 fs/btrfs/inode.c:6207
update_time fs/inode.c:1675 [inline]
touch_atime+0x23c/0x2a0 fs/inode.c:1746
file_accessed include/linux/fs.h:2123 [inline]
btrfs_file_mmap+0x11b/0x160 fs/btrfs/file.c:2274
call_mmap include/linux/fs.h:1826 [inline]
mmap_region+0xc94/0x16b0 mm/mmap.c:1757
do_mmap+0x8e8/0x1080 mm/mmap.c:1530
do_mmap_pgoff include/linux/mm.h:2329 [inline]
vm_mmap_pgoff+0x197/0x200 mm/util.c:357
ksys_mmap_pgoff+0x298/0x5a0 mm/mmap.c:1580
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

-> #2 (&mm->mmap_sem){++++}:
_copy_to_user+0x29/0x100 lib/usercopy.c:25
copy_to_user include/linux/uaccess.h:155 [inline]
filldir64+0x26e/0x430 fs/readdir.c:324
dir_emit_dot include/linux/fs.h:3432 [inline]
dir_emit_dots include/linux/fs.h:3443 [inline]
__fat_readdir+0xef1/0x1490 fs/fat/dir.c:575
iterate_dir+0x473/0x5c0 fs/readdir.c:51
ksys_getdents64+0x175/0x2b0 fs/readdir.c:357
__do_sys_getdents64 fs/readdir.c:376 [inline]
__se_sys_getdents64 fs/readdir.c:373 [inline]
__x64_sys_getdents64+0x6f/0xb0 fs/readdir.c:373
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

-> #1 (&sbi->s_lock){+.+.}:
fat_write_inode fs/fat/inode.c:911 [inline]
fat_write_inode+0xfa/0x180 fs/fat/inode.c:904
write_inode fs/fs-writeback.c:1244 [inline]
__writeback_single_inode+0x733/0x11d0 fs/fs-writeback.c:1442
writeback_sb_inodes+0x537/0xef0 fs/fs-writeback.c:1647
wb_writeback+0x28d/0xcc0 fs/fs-writeback.c:1820
wb_do_writeback fs/fs-writeback.c:1965 [inline]
wb_workfn+0x29b/0x1250 fs/fs-writeback.c:2006
process_one_work+0x864/0x1570 kernel/workqueue.c:2153
worker_thread+0x64c/0x1130 kernel/workqueue.c:2296
kthread+0x33f/0x460 kernel/kthread.c:259
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415

-> #0 ((work_completion)(&(&wb->dwork)->work)){+.+.}:
__flush_work+0x542/0x8b0 kernel/workqueue.c:2921
wb_shutdown+0x172/0x210 mm/backing-dev.c:374
bdi_unregister+0x169/0x610 mm/backing-dev.c:946
del_gendisk+0x7f6/0xa80 block/genhd.c:788
loop_remove drivers/block/loop.c:2066 [inline]
loop_control_ioctl drivers/block/loop.c:2165 [inline]
loop_control_ioctl+0x3b1/0x480 drivers/block/loop.c:2131
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe

other info that might help us debug this:

Chain exists of:
(work_completion)(&(&wb->dwork)->work) --> &bdev->bd_mutex --> loop_ctl_mutex

Possible unsafe locking scenario:

CPU0 CPU1
---- ----
lock(loop_ctl_mutex);
lock(&bdev->bd_mutex);
lock(loop_ctl_mutex);
lock((work_completion)(&(&wb->dwork)->work));

*** DEADLOCK ***

1 lock held by syz-executor.0/22347:
#0: 000000003115d279 (loop_ctl_mutex){+.+.}, at: loop_control_ioctl+0x7b/0x480 drivers/block/loop.c:2137

stack backtrace:
CPU: 0 PID: 22347 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
print_circular_bug.constprop.0.cold+0x2d7/0x41e kernel/locking/lockdep.c:1222
check_prev_add kernel/locking/lockdep.c:1866 [inline]
check_prevs_add kernel/locking/lockdep.c:1979 [inline]
validate_chain kernel/locking/lockdep.c:2420 [inline]
__lock_acquire+0x30c9/0x3ff0 kernel/locking/lockdep.c:3416
lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908
__flush_work+0x542/0x8b0 kernel/workqueue.c:2921
wb_shutdown+0x172/0x210 mm/backing-dev.c:374
bdi_unregister+0x169/0x610 mm/backing-dev.c:946
del_gendisk+0x7f6/0xa80 block/genhd.c:788
loop_remove drivers/block/loop.c:2066 [inline]
loop_control_ioctl drivers/block/loop.c:2165 [inline]
loop_control_ioctl+0x3b1/0x480 drivers/block/loop.c:2131
vfs_ioctl fs/ioctl.c:46 [inline]
file_ioctl fs/ioctl.c:501 [inline]
do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688
ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705
__do_sys_ioctl fs/ioctl.c:712 [inline]
__se_sys_ioctl fs/ioctl.c:710 [inline]
__x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7febbe48b0d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007febbc9bb168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007febbe5ab120 RCX: 00007febbe48b0d9
RDX: 0000000000000000 RSI: 0000000000004c81 RDI: 0000000000000008
RBP: 00007febbe4e6ae9 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd52613b5f R14: 00007febbc9bb300 R15: 0000000000022000
IPVS: ftp: loaded support on port[0] = 21
XFS (loop5): Mounting V4 Filesystem
XFS (loop5): Ending clean mount
XFS (loop5): Quotacheck needed: Please wait.
XFS (loop5): Quotacheck: Done.
UDF-fs: bad mount option "audit" or missing value
XFS (loop5): Unmounting Filesystem
UDF-fs: bad mount option "audit" or missing value
UDF-fs: bad mount option "audit" or missing value
UDF-fs: bad mount option "audit" or missing value
UDF-fs: bad mount option "audit" or missing value
nla_parse: 3 callbacks suppressed
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.2'.
UDF-fs: bad mount option "audit" or missing value
bond1 (uninitialized): Released all slaves
ieee80211 �,��: Selected rate control algorithm 'minstrel_ht'
UDF-fs: bad mount option "audit" or missing value
ieee80211 phy15: Selected rate control algorithm 'minstrel_ht'
UDF-fs: bad mount option "audit" or missing value
ieee80211 phy16: Selected rate control algorithm 'minstrel_ht'
EXT4-fs (loop5): Unrecognized mount option "7p��o~��.E �z���i��5�����ْ�" or missing value
UDF-fs: bad mount option "audit" or missing value
ieee80211 phy17: Selected rate control algorithm 'minstrel_ht'
kauditd_printk_skb: 4 callbacks suppressed
audit: type=1804 audit(1670855795.980:201): pid=22734 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir1564827857/syzkaller.OeErw5/479/bus" dev="sda1" ino=15173 res=1
audit: type=1800 audit(1670855795.990:202): pid=22734 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=15173 res=0
UDF-fs: bad mount option "audit" or missing value
UDF-fs: bad mount option "audit" or missing value
EXT4-fs (loop5): Unrecognized mount option "7p��o~��.E �z���i��5�����ْ�" or missing value
EXT4-fs (loop4): Unrecognized mount option "7p��o~��.E �z���i��5�����ْ�" or missing value
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 1
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters.
EXT4-fs (loop5): Unrecognized mount option "7p��o~��.E �z���i��5�����ْ�" or missing value
CPU: 1 PID: 22813 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1590
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
__do_kmalloc mm/slab.c:3725 [inline]
__kmalloc+0x2ab/0x3c0 mm/slab.c:3736
kmalloc include/linux/slab.h:520 [inline]
__do_sys_memfd_create mm/memfd.c:295 [inline]
__se_sys_memfd_create+0xf8/0x440 mm/memfd.c:268
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f8b5b32e0d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8b5989ff38 EFLAGS: 00000202 ORIG_RAX: 000000000000013f
RAX: ffffffffffffffda RBX: 0000000000000a17 RCX: 00007f8b5b32e0d9
RDX: 00007f8b5989ffdc RSI: 0000000000000000 RDI: 00007f8b5b388e81
RBP: 0000000000000a17 R08: 00007f8b5989fe20 R09: ffffffffffffffff
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000a40
R13: 00007f8b5989ffdc R14: 00007f8b5989ffe0 R15: 0000000020000b00
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters.
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters.
CPU: 1 PID: 22886 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1590
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x277/0x370 mm/slab.c:3557
shmem_alloc_inode+0x18/0x40 mm/shmem.c:3609
alloc_inode+0x5d/0x180 fs/inode.c:211
new_inode_pseudo fs/inode.c:911 [inline]
new_inode+0x1d/0xf0 fs/inode.c:940
shmem_get_inode+0x96/0x8d0 mm/shmem.c:2196
__shmem_file_setup.part.0+0x7a/0x2b0 mm/shmem.c:3965
__shmem_file_setup mm/shmem.c:3959 [inline]
shmem_file_setup+0x61/0x90 mm/shmem.c:4006
__do_sys_memfd_create mm/memfd.c:325 [inline]
__se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f8b5b32e0d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8b5989ff38 EFLAGS: 00000202 ORIG_RAX: 000000000000013f
RAX: ffffffffffffffda RBX: 0000000000000a17 RCX: 00007f8b5b32e0d9
RDX: 00007f8b5989ffdc RSI: 0000000000000000 RDI: 00007f8b5b388e81
RBP: 0000000000000a17 R08: 00007f8b5989fe20 R09: ffffffffffffffff
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000a40
R13: 00007f8b5989ffdc R14: 00007f8b5989ffe0 R15: 0000000020000b00
audit: type=1804 audit(1670855797.310:203): pid=22905 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir699710650/syzkaller.BZ0ys3/490/bus" dev="sda1" ino=15249 res=1
audit: type=1800 audit(1670855797.310:204): pid=22905 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=15249 res=0
audit: type=1804 audit(1670855797.600:205): pid=22915 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.5" name="/root/syzkaller-testdir778516726/syzkaller.4Pp7tU/448/bus" dev="sda1" ino=15237 res=1
audit: type=1800 audit(1670855797.600:206): pid=22915 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.5" name="bus" dev="sda1" ino=15237 res=0
audit: type=1804 audit(1670855799.181:207): pid=22927 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.4" name="/root/syzkaller-testdir3843720241/syzkaller.ccWjj9/487/bus" dev="sda1" ino=14920 res=1
audit: type=1800 audit(1670855799.181:208): pid=22927 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.4" name="bus" dev="sda1" ino=14920 res=0
audit: type=1804 audit(1670855799.211:209): pid=22925 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir1564827857/syzkaller.OeErw5/482/bus" dev="sda1" ino=15252 res=1
FAULT_INJECTION: forcing a failure.
name failslab, interval 1, probability 0, space 0, times 0
audit: type=1800 audit(1670855799.211:210): pid=22925 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=15252 res=0
CPU: 0 PID: 22937 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
fail_dump lib/fault-inject.c:51 [inline]
should_fail.cold+0xa/0xf lib/fault-inject.c:149
__should_failslab+0x115/0x180 mm/failslab.c:32
should_failslab+0x5/0x10 mm/slab_common.c:1590
slab_pre_alloc_hook mm/slab.h:424 [inline]
slab_alloc mm/slab.c:3383 [inline]
kmem_cache_alloc+0x277/0x370 mm/slab.c:3557
__d_alloc+0x2b/0xa10 fs/dcache.c:1612
d_alloc_pseudo+0x19/0x70 fs/dcache.c:1743
alloc_file_pseudo+0xc6/0x250 fs/file_table.c:224
__shmem_file_setup.part.0+0x102/0x2b0 mm/shmem.c:3976
__shmem_file_setup mm/shmem.c:3959 [inline]
shmem_file_setup+0x61/0x90 mm/shmem.c:4006
__do_sys_memfd_create mm/memfd.c:325 [inline]
__se_sys_memfd_create+0x26b/0x440 mm/memfd.c:268
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f8b5b32e0d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8b5989ff38 EFLAGS: 00000202 ORIG_RAX: 000000000000013f
RAX: ffffffffffffffda RBX: 0000000000000a17 RCX: 00007f8b5b32e0d9
RDX: 00007f8b5989ffdc RSI: 0000000000000000 RDI: 00007f8b5b388e81
RBP: 0000000000000a17 R08: 00007f8b5989fe20 R09: ffffffffffffffff
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000a40
R13: 00007f8b5989ffdc R14: 00007f8b5989ffe0 R15: 0000000020000b00
IPVS: ftp: loaded support on port[0] = 21
kauditd_printk_skb: 8 callbacks suppressed
audit: type=1804 audit(1670855801.881:219): pid=22976 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.2" name="/root/syzkaller-testdir699710650/syzkaller.BZ0ys3/492/bus" dev="sda1" ino=15262 res=1
audit: type=1800 audit(1670855801.881:220): pid=22976 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="bus" dev="sda1" ino=15262 res=0
audit: type=1804 audit(1670855802.001:221): pid=22978 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=invalid_pcr cause=open_writers comm="syz-executor.0" name="/root/syzkaller-testdir1564827857/syzkaller.OeErw5/484/bus" dev="sda1" ino=15263 res=1
audit: type=1800 audit(1670855802.001:222): pid=22978 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.0" name="bus" dev="sda1" ino=15263 res=0


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
Reply all
Reply to author
Forward
0 new messages