BUG: unable to handle kernel paging request in get_counters

7 views
Skip to first unread message

syzbot

unread,
Jan 8, 2022, 3:18:18 AM1/8/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=1166ace7b00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=d99e4c11401825fd7aeb
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+d99e4c...@syzkaller.appspotmail.com

BUG: unable to handle kernel paging request at ffffc9000c252008
PGD 13be43067 P4D 13be43067 PUD 23b831067 PMD 9a35b067 PTE 0
Oops: 0002 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 2742 Comm: syz-executor.4 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:get_counters+0x33f/0x630 net/ipv6/netfilter/ip6_tables.c:783
Code: 49 fa 8b 5c 24 10 48 c1 e3 04 48 03 5c 24 48 48 8d 7b 08 48 89 f8 48 c1 e8 03 42 80 3c 38 00 0f 85 7e 02 00 00 48 8b 44 24 18 <48> 01 43 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 0f 85 37 02 00 00
RSP: 0018:ffff88801efffb30 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffc9000c252000 RCX: ffffffff8718e019
RDX: 0000000000000000 RSI: ffffffff8718e027 RDI: ffffc9000c252008
RBP: 000000000006d2d2 R08: ffffffff8cd2b298 R09: 000000000006d2d2
R10: 0000000000000004 R11: 0000000000000000 R12: 000000000006d2d2
R13: ffff8880ba02a380 R14: ffff8880001d4290 R15: dffffc0000000000
FS: 0000555555989400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000c252008 CR3: 0000000021720000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
do_ip6t_get_ctl+0x510/0x910 net/ipv6/netfilter/ip6_tables.c:824
nf_sockopt net/netfilter/nf_sockopt.c:104 [inline]
nf_getsockopt+0x72/0xd0 net/netfilter/nf_sockopt.c:122
ipv6_getsockopt+0x1b6/0x260 net/ipv6/ipv6_sockglue.c:1388
tcp_getsockopt+0x86/0xd0 net/ipv4/tcp.c:3629
__sys_getsockopt+0x135/0x210 net/socket.c:2050
__do_sys_getsockopt net/socket.c:2061 [inline]
__se_sys_getsockopt net/socket.c:2058 [inline]
__x64_sys_getsockopt+0xba/0x150 net/socket.c:2058
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7fd7e43504ba
Code: 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 37 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:00007ffe681726e8 EFLAGS: 00000216 ORIG_RAX: 0000000000000037
RAX: ffffffffffffffda RBX: 0000000000000029 RCX: 00007fd7e43504ba
RDX: 0000000000000041 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 00007ffe68172710 R08: 00007ffe6817270c R09: ffffffff00000000
R10: 00007ffe68172770 R11: 0000000000000216 R12: 00007ffe68172770
R13: 0000000000000003 R14: 00007ffe6817270c R15: 00007fd7e4430220
Modules linked in:
CR2: ffffc9000c252008
---[ end trace ef71a6d9e0d1d181 ]---
RIP: 0010:get_counters+0x33f/0x630 net/ipv6/netfilter/ip6_tables.c:783
Code: 49 fa 8b 5c 24 10 48 c1 e3 04 48 03 5c 24 48 48 8d 7b 08 48 89 f8 48 c1 e8 03 42 80 3c 38 00 0f 85 7e 02 00 00 48 8b 44 24 18 <48> 01 43 08 48 89 d8 48 c1 e8 03 42 80 3c 38 00 0f 85 37 02 00 00
RSP: 0018:ffff88801efffb30 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffc9000c252000 RCX: ffffffff8718e019
RDX: 0000000000000000 RSI: ffffffff8718e027 RDI: ffffc9000c252008
RBP: 000000000006d2d2 R08: ffffffff8cd2b298 R09: 000000000006d2d2
R10: 0000000000000004 R11: 0000000000000000 R12: 000000000006d2d2
R13: ffff8880ba02a380 R14: ffff8880001d4290 R15: dffffc0000000000
FS: 0000555555989400(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffc9000c252008 CR3: 0000000021720000 CR4: 00000000003406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 49 fa rex.WB cli
2: 8b 5c 24 10 mov 0x10(%rsp),%ebx
6: 48 c1 e3 04 shl $0x4,%rbx
a: 48 03 5c 24 48 add 0x48(%rsp),%rbx
f: 48 8d 7b 08 lea 0x8(%rbx),%rdi
13: 48 89 f8 mov %rdi,%rax
16: 48 c1 e8 03 shr $0x3,%rax
1a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
1f: 0f 85 7e 02 00 00 jne 0x2a3
25: 48 8b 44 24 18 mov 0x18(%rsp),%rax
* 2a: 48 01 43 08 add %rax,0x8(%rbx) <-- trapping instruction
2e: 48 89 d8 mov %rbx,%rax
31: 48 c1 e8 03 shr $0x3,%rax
35: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1)
3a: 0f 85 37 02 00 00 jne 0x277


---
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,
May 12, 2022, 10:17:16 PM5/12/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