general protection fault in write_special_inodes

7 views
Skip to first unread message

syzbot

unread,
Dec 18, 2021, 12:52:18 PM12/18/21
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=10f42999b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=4d7d93c0532d80779f40
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+4d7d93...@syzkaller.appspotmail.com

kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
bridge0: port 3(team0) entered disabled state
general protection fault: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 13570 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:write_special_inodes+0xa6/0x170 fs/jfs/jfs_logmgr.c:221
Code: 8b 7d 30 41 ff d4 48 8d 7b 28 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 ab 00 00 00 4c 8b 6b 28 49 8d 7d 30 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 88 00 00 00 49 8b 7d 30 41 ff d4 48 8d bb b0 00
RSP: 0018:ffff8880438dfbb8 EFLAGS: 00010206
device team0 entered promiscuous mode
RAX: 0000000000000006 RBX: ffff8880b24ade00 RCX: ffffffff817ce639
RDX: 0000000000000000 RSI: ffffffff817ce5d8 RDI: 0000000000000030
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff817ce7c0
R13: 0000000000000000 R14: ffff88809c17c040 R15: ffff8880438dfdd0
FS: 0000555556a75400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
device team_slave_0 entered promiscuous mode
CR2: 00007f93a522d090 CR3: 00000000b0cc6000 CR4: 00000000003426e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
lmLogSync+0x414/0x6e0 fs/jfs/jfs_logmgr.c:958
jfs_syncpt+0x78/0x90 fs/jfs/jfs_logmgr.c:1062
jfs_sync_fs+0x80/0xa0 fs/jfs/super.c:718
device team_slave_1 entered promiscuous mode
__sync_filesystem fs/sync.c:39 [inline]
sync_filesystem+0x105/0x250 fs/sync.c:64
generic_shutdown_super+0x70/0x370 fs/super.c:442
kill_block_super+0x97/0xf0 fs/super.c:1185
deactivate_locked_super+0x94/0x160 fs/super.c:329
bridge0: port 3(team0) entered blocking state
deactivate_super+0x174/0x1a0 fs/super.c:360
cleanup_mnt+0x1a8/0x290 fs/namespace.c:1098
task_work_run+0x148/0x1c0 kernel/task_work.c:113
tracehook_notify_resume include/linux/tracehook.h:193 [inline]
exit_to_usermode_loop+0x251/0x2a0 arch/x86/entry/common.c:167
prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
entry_SYSCALL_64_after_hwframe+0x49/0xbe
bridge0: port 3(team0) entered forwarding state
RIP: 0033:0x7f10cf108307
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd06f48788 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f10cf108307
RDX: 00007ffd06f4885a RSI: 000000000000000a RDI: 00007ffd06f48850
RBP: 00007ffd06f48850 R08: 00000000ffffffff R09: 00007ffd06f48620
R10: 0000555556a76903 R11: 0000000000000246 R12: 00007f10cf160172
R13: 00007ffd06f49910 R14: 0000555556a76810 R15: 00007ffd06f49950
Modules linked in:
---[ end trace 34d165aff4ae612b ]---
RIP: 0010:write_special_inodes+0xa6/0x170 fs/jfs/jfs_logmgr.c:221
netlink: 'syz-executor.5': attribute type 10 has an invalid length.
device team0 left promiscuous mode
device team_slave_0 left promiscuous mode
Code: 8b 7d 30 41 ff d4 48 8d 7b 28 48 89 f8 48 c1 e8 03 80 3c 28 00 0f 85 ab 00 00 00 4c 8b 6b 28 49 8d 7d 30 48 89 f8 48 c1 e8 03 <80> 3c 28 00 0f 85 88 00 00 00 49 8b 7d 30 41 ff d4 48 8d bb b0 00
device team_slave_1 left promiscuous mode
RSP: 0018:ffff8880438dfbb8 EFLAGS: 00010206
RAX: 0000000000000006 RBX: ffff8880b24ade00 RCX: ffffffff817ce639
bridge0: port 3(team0) entered disabled state
bond0: team0 is up - this may be due to an out of date ifenslave
RDX: 0000000000000000 RSI: ffffffff817ce5d8 RDI: 0000000000000030
netlink: 'syz-executor.5': attribute type 10 has an invalid length.
RBP: dffffc0000000000 R08: 0000000000000000 R09: 0000000000000000
x_tables: arp_tables: CLASSIFY target: used from hooks INPUT, but only usable from FORWARD/OUTPUT
bridge0: port 3(team0) entered blocking state
R10: 0000000000000005 R11: 0000000000000000 R12: ffffffff817ce7c0
bridge0: port 3(team0) entered disabled state
R13: 0000000000000000 R14: ffff88809c17c040 R15: ffff8880438dfdd0
device team0 entered promiscuous mode
device team_slave_0 entered promiscuous mode
FS: 0000555556a75400(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
device team_slave_1 entered promiscuous mode
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
bridge0: port 3(team0) entered blocking state
bridge0: port 3(team0) entered forwarding state
CR2: 00007f3a05791710 CR3: 00000000b0cc6000 CR4: 00000000003426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
netlink: 'syz-executor.5': attribute type 10 has an invalid length.
----------------
Code disassembly (best guess):
0: 8b 7d 30 mov 0x30(%rbp),%edi
3: 41 ff d4 callq *%r12
6: 48 8d 7b 28 lea 0x28(%rbx),%rdi
a: 48 89 f8 mov %rdi,%rax
d: 48 c1 e8 03 shr $0x3,%rax
11: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1)
15: 0f 85 ab 00 00 00 jne 0xc6
1b: 4c 8b 6b 28 mov 0x28(%rbx),%r13
1f: 49 8d 7d 30 lea 0x30(%r13),%rdi
23: 48 89 f8 mov %rdi,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction
2e: 0f 85 88 00 00 00 jne 0xbc
34: 49 8b 7d 30 mov 0x30(%r13),%rdi
38: 41 ff d4 callq *%r12
3b: 48 rex.W
3c: 8d .byte 0x8d
3d: bb .byte 0xbb
3e: b0 00 mov $0x0,%al


---
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,
Apr 17, 2022, 1:52:16 PM4/17/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