WARNING in set_page_dirty

6 views
Skip to first unread message

syzbot

unread,
Jul 16, 2022, 4:23:20 PM7/16/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=124b8c9c080000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=68d11f15020bbd52f85a
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

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

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

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
WARNING: CPU: 1 PID: 22056 at fs/ext4/inode.c:3942 ext4_set_page_dirty+0x2a4/0x370 fs/ext4/inode.c:3942
Kernel panic - not syncing: panic_on_warn set ...

do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fa5f731f199
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:00007fa5f5c94168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fa5f7431f60 RCX: 00007fa5f731f199
RDX: 0000000000000000 RSI: 0000000020000400 RDI: 0000000000000004
RBP: 00007fa5f737913b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe8ce80b4f R14: 00007fa5f5c94300 R15: 0000000000022000
CPU: 1 PID: 22056 Comm: syz-executor.1 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/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:ext4_set_page_dirty+0x2a4/0x370 fs/ext4/inode.c:3942
Code: ff e8 40 0f 84 ff 49 8d 5d ff e9 27 fe ff ff e8 32 0f 84 ff 48 c7 c6 e0 54 7a 88 48 89 ef e8 e3 a0 ab ff 0f 0b e8 1c 0f 84 ff <0f> 0b e9 77 ff ff ff e8 10 0f 84 ff 4c 8b 65 08 31 ff 4c 89 e3 83
RSP: 0018:ffff888051927a28 EFLAGS: 00010293
RAX: ffff888058fca280 RBX: 0000000000000000 RCX: ffffffff81de75ce
RDX: 0000000000000000 RSI: ffffffff81de7654 RDI: 0000000000000001
RBP: ffffea0001aa3380 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000000 R12: 0000000000000000
R13: ffffea0001e10b48 R14: ffffea0001e10b48 R15: dffffc0000000000
set_page_dirty+0x25f/0x640 mm/page-writeback.c:2569
set_page_dirty_lock+0x81/0xc0 mm/page-writeback.c:2594
process_vm_rw_pages mm/process_vm_access.c:51 [inline]
process_vm_rw_single_vec mm/process_vm_access.c:124 [inline]
process_vm_rw_core.constprop.0+0x4bb/0xb00 mm/process_vm_access.c:220
process_vm_rw+0x21a/0x250 mm/process_vm_access.c:288
__do_sys_process_vm_writev mm/process_vm_access.c:310 [inline]
__se_sys_process_vm_writev mm/process_vm_access.c:305 [inline]
__x64_sys_process_vm_writev+0xdf/0x1b0 mm/process_vm_access.c:305
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f1d876f1199
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:00007f1d86003168 EFLAGS: 00000246 ORIG_RAX: 0000000000000137
RAX: ffffffffffffffda RBX: 00007f1d878041d0 RCX: 00007f1d876f1199
RDX: 0000000000000001 RSI: 0000000020c22000 RDI: 000000000000185a
RBP: 00007f1d8774b13b R08: 0000000000000001 R09: 0000000000000000
R10: 0000000020c22fa0 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffde17ffc2f R14: 00007f1d86003300 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 syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Nov 13, 2022, 3:23:31 PM11/13/22
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages