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=10f143b2880000
kernel config:
https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link:
https://syzkaller.appspot.com/bug?extid=d9c62fc2a488273004e9
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:
[email protected]
netdev_register_kobject+0x181/0x430 net/core/net-sysfs.c:1806
register_netdevice+0xb46/0x10f0 net/core/dev.c:8730
ieee802154_if_add+0xc37/0x1040 net/mac802154/iface.c:678
ieee802154_add_iface_deprecated+0x3e/0x60 net/mac802154/cfg.c:32
rdev_add_virtual_intf_deprecated net/ieee802154/rdev-ops.h:16 [inline]
ieee802154_add_iface+0x466/0x8e0 net/ieee802154/nl-phy.c:226
WARNING: CPU: 0 PID: 18803 at include/linux/backing-dev.h:340 inode_to_wb include/linux/backing-dev.h:340 [inline]
WARNING: CPU: 0 PID: 18803 at include/linux/backing-dev.h:340 account_page_dirtied+0x8cc/0xbb0 mm/page-writeback.c:2420
genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
Kernel panic - not syncing: panic_on_warn set ...
genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351
netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:651 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:661
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
__sys_sendmsg net/socket.c:2265 [inline]
__do_sys_sendmsg net/socket.c:2274 [inline]
__se_sys_sendmsg net/socket.c:2272 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fd3ba2235a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007fd3b8b96168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fd3ba343f80 RCX: 00007fd3ba2235a9
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000004
RBP: 00007fd3b8b961d0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002
R13: 00007fffe1c5af9f R14: 00007fd3b8b96300 R15: 0000000000022000
CPU: 0 PID: 18803 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x5a kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:inode_to_wb include/linux/backing-dev.h:340 [inline]
RIP: 0010:account_page_dirtied+0x8cc/0xbb0 mm/page-writeback.c:2420
Code: 88 01 00 00 be ff ff ff ff 48 8d 78 70 e8 ec e1 ca ff 31 ff 89 c3 89 c6 e8 f1 b3 e2 ff 85 db 0f 85 39 f9 ff ff e8 74 b2 e2 ff <0f> 0b e9 2d f9 ff ff e8 68 b2 e2 ff 4c 89 e6 4c 89 ef e8 9d b3 2d
RSP: 0018:ffff88804ab07118 EFLAGS: 00010093
RAX: ffff88804af242c0 RBX: 0000000000000000 RCX: ffffffff817fd2ef
RDX: 0000000000000000 RSI: ffffffff817fd2fc RDI: 0000000000000005
RBP: ffff88809616bb08 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffea0000eacc80
R13: ffff88809616b980 R14: ffff88809616b7f8 R15: ffffea0000eacc88
__set_page_dirty+0x7f/0x3e0 fs/buffer.c:582
mark_buffer_dirty+0x424/0x5c0 fs/buffer.c:1111
nilfs_btree_commit_convert_and_insert fs/nilfs2/btree.c:1812 [inline]
nilfs_btree_convert_and_insert+0xed5/0x1250 fs/nilfs2/btree.c:1877
nilfs_bmap_do_insert fs/nilfs2/bmap.c:111 [inline]
nilfs_bmap_insert+0x2a1/0x3f0 fs/nilfs2/bmap.c:147
nilfs_mdt_insert_new_block fs/nilfs2/mdt.c:44 [inline]
nilfs_mdt_create_block fs/nilfs2/mdt.c:93 [inline]
nilfs_mdt_get_block+0x59a/0xd40 fs/nilfs2/mdt.c:254
nilfs_palloc_get_block+0xc4/0x2b0 fs/nilfs2/alloc.c:216
nilfs_palloc_get_entry_block+0x17b/0x230 fs/nilfs2/alloc.c:318
nilfs_dat_prepare_entry fs/nilfs2/dat.c:43 [inline]
nilfs_dat_prepare_alloc fs/nilfs2/dat.c:69 [inline]
nilfs_dat_prepare_alloc+0x61/0xb0 fs/nilfs2/dat.c:61
nilfs_bmap_prepare_alloc_ptr fs/nilfs2/bmap.h:183 [inline]
nilfs_direct_insert+0x3cb/0x4e0 fs/nilfs2/direct.c:122
nilfs_bmap_do_insert fs/nilfs2/bmap.c:121 [inline]
nilfs_bmap_insert+0x27a/0x3f0 fs/nilfs2/bmap.c:147
nilfs_get_block+0x4d5/0x970 fs/nilfs2/inode.c:96
__block_write_begin_int+0x46c/0x17b0 fs/buffer.c:1978
__block_write_begin fs/buffer.c:2028 [inline]
block_write_begin+0x58/0x2e0 fs/buffer.c:2087
nilfs_write_begin+0xa5/0x1b0 fs/nilfs2/inode.c:267
generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170
__generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295
generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323
call_write_iter include/linux/fs.h:1821 [inline]
new_sync_write fs/read_write.c:474 [inline]
__vfs_write+0x51b/0x770 fs/read_write.c:487
vfs_write+0x1f3/0x540 fs/read_write.c:549
ksys_write+0x12b/0x2a0 fs/read_write.c:599
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fdf7995e5a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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:00007fdf782d1168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fdf79a7ef80 RCX: 00007fdf7995e5a9
RDX: 0000000000000050 RSI: 00000000200005c0 RDI: 0000000000000003
RBP: 00007fdf799b9580 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe1e3dbbdf R14: 00007fdf782d1300 R15: 0000000000022000
Kernel Offset: disabled
Rebooting in 86400 seconds..
---
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
[email protected].
syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.