BUG: unable to handle kernel paging request in tcf_action_dump_1

5 views
Skip to first unread message

syzbot

unread,
May 21, 2022, 11:41:22 PM5/21/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=142d5355f00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=092ea3068da39a177885
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+092ea3...@syzkaller.appspotmail.com

netlink: 12 bytes leftover after parsing attributes in process `syz-executor.0'.
BUG: unable to handle kernel paging request at fffffffffffffff0
PGD 9e6e067 P4D 9e6e067 PUD 9e70067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 10001 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:tcf_action_dump_1+0x95/0x6e0 net/sched/act_api.c:708
Code: 0f 8e 73 05 00 00 8b b5 c8 00 00 00 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 01 f3 80 3c 02 00 0f 85 c4 05 00 00 <49> 8b 04 24 4c 8d 78 10 4c 89 ff e8 1b 9b 63 01 4c 89 f9 be 01 00
RSP: 0018:ffff888237dbf490 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880116e6a64 RCX: ffffc90007c58000
RDX: 1ffffffffffffffe RSI: 0000000000000024 RDI: ffff8880a005fa40
RBP: ffff8880a005fa40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: fffffffffffffff0
R13: ffff8880a005fb08 R14: ffff8880a005fb10 R15: 0000000000000000
FS: 00007fe36f645700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff0 CR3: 000000001270a000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tcf_dump_walker net/sched/act_api.c:221 [inline]
tcf_generic_walker+0x1ff/0xa20 net/sched/act_api.c:294
tc_dump_action+0x6b0/0xdb0 net/sched/act_api.c:1476
netlink_dump+0x3cf/0xc10 net/netlink/af_netlink.c:2242
__netlink_dump_start+0x4e9/0x6f0 net/netlink/af_netlink.c:2338
netlink_dump_start include/linux/netlink.h:213 [inline]
rtnetlink_rcv_msg+0x71e/0xb80 net/core/rtnetlink.c:4745
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
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:0x7fe370cf10e9
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:00007fe36f645168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fe370e04030 RCX: 00007fe370cf10e9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000004
RBP: 00007fe370d4b08d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fff213b54ff R14: 00007fe36f645300 R15: 0000000000022000
Modules linked in:
CR2: fffffffffffffff0
---[ end trace 102c13e502b0f65e ]---
RIP: 0010:tcf_action_dump_1+0x95/0x6e0 net/sched/act_api.c:708
Code: 0f 8e 73 05 00 00 8b b5 c8 00 00 00 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 01 f3 80 3c 02 00 0f 85 c4 05 00 00 <49> 8b 04 24 4c 8d 78 10 4c 89 ff e8 1b 9b 63 01 4c 89 f9 be 01 00
RSP: 0018:ffff888237dbf490 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880116e6a64 RCX: ffffc90007c58000
RDX: 1ffffffffffffffe RSI: 0000000000000024 RDI: ffff8880a005fa40
RBP: ffff8880a005fa40 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: fffffffffffffff0
R13: ffff8880a005fb08 R14: ffff8880a005fb10 R15: 0000000000000000
FS: 00007fe36f645700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff0 CR3: 000000001270a000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 0f 8e 73 05 00 00 jle 0x579
6: 8b b5 c8 00 00 00 mov 0xc8(%rbp),%esi
c: 4c 89 e2 mov %r12,%rdx
f: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
16: fc ff df
19: 48 c1 ea 03 shr $0x3,%rdx
1d: 48 01 f3 add %rsi,%rbx
20: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
24: 0f 85 c4 05 00 00 jne 0x5ee
* 2a: 49 8b 04 24 mov (%r12),%rax <-- trapping instruction
2e: 4c 8d 78 10 lea 0x10(%rax),%r15
32: 4c 89 ff mov %r15,%rdi
35: e8 1b 9b 63 01 callq 0x1639b55
3a: 4c 89 f9 mov %r15,%rcx
3d: be .byte 0xbe
3e: 01 00 add %eax,(%rax)


---
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 21, 2022, 11:56:21 PM5/21/22
to syzkaller...@googlegroups.com
syzbot has found a reproducer for 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=148846e3f00000
kernel config: https://syzkaller.appspot.com/x/.config?x=9b9277b418617afe
dashboard link: https://syzkaller.appspot.com/bug?extid=092ea3068da39a177885
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1631b35ef00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16686475f00000

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

BUG: unable to handle kernel paging request at fffffffffffffff0
PGD 9e6e067 P4D 9e6e067 PUD 9e70067 PMD 0
Oops: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 8107 Comm: syz-executor299 Not tainted 4.19.211-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tcf_action_dump_1+0x95/0x6e0 net/sched/act_api.c:708
Code: 0f 8e 73 05 00 00 8b b5 c8 00 00 00 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 01 f3 80 3c 02 00 0f 85 c4 05 00 00 <49> 8b 04 24 4c 8d 78 10 4c 89 ff e8 1b 9b 63 01 4c 89 f9 be 01 00
RSP: 0018:ffff88809511f490 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880b0f92d64 RCX: 0000000000000000
RDX: 1ffffffffffffffe RSI: 0000000000000024 RDI: ffff8880a32d6700
RBP: ffff8880a32d6700 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: fffffffffffffff0
R13: ffff8880a32d67c8 R14: ffff8880a32d67d0 R15: 0000000000000000
FS: 00007fd2030d5700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff0 CR3: 00000000aaf77000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tcf_dump_walker net/sched/act_api.c:221 [inline]
tcf_generic_walker+0x1ff/0xa20 net/sched/act_api.c:294
tc_dump_action+0x6b0/0xdb0 net/sched/act_api.c:1476
netlink_dump+0x3cf/0xc10 net/netlink/af_netlink.c:2242
__netlink_dump_start+0x4e9/0x6f0 net/netlink/af_netlink.c:2338
netlink_dump_start include/linux/netlink.h:213 [inline]
rtnetlink_rcv_msg+0x71e/0xb80 net/core/rtnetlink.c:4745
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463
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:0x7fd203123da9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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:00007fd2030d5318 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fd2031ab408 RCX: 00007fd203123da9
RDX: 0000000000000000 RSI: 0000000020000100 RDI: 0000000000000003
RBP: 00007fd2031ab400 R08: 000000000000002c R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000246 R12: 00007fd2031ab40c
R13: 00007ffea7a4680f R14: 00007fd2030d5400 R15: 0000000000022000
Modules linked in:
CR2: fffffffffffffff0
---[ end trace 21cd12ff0dbf5402 ]---
RIP: 0010:tcf_action_dump_1+0x95/0x6e0 net/sched/act_api.c:708
Code: 0f 8e 73 05 00 00 8b b5 c8 00 00 00 4c 89 e2 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 48 01 f3 80 3c 02 00 0f 85 c4 05 00 00 <49> 8b 04 24 4c 8d 78 10 4c 89 ff e8 1b 9b 63 01 4c 89 f9 be 01 00
RSP: 0018:ffff88809511f490 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff8880b0f92d64 RCX: 0000000000000000
RDX: 1ffffffffffffffe RSI: 0000000000000024 RDI: ffff8880a32d6700
RBP: ffff8880a32d6700 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: fffffffffffffff0
R13: ffff8880a32d67c8 R14: ffff8880a32d67d0 R15: 0000000000000000
FS: 00007fd2030d5700(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: fffffffffffffff0 CR3: 00000000aaf77000 CR4: 00000000003406f0
Reply all
Reply to author
Forward
0 new messages