BUG: corrupted list in vzalloc

5 views
Skip to first unread message

syzbot

unread,
Jun 20, 2021, 9:51:21 PM6/20/21
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: eb575cd5 Linux 4.19.195
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1527ae0c300000
kernel config: https://syzkaller.appspot.com/x/.config?x=5506475cccaff975
dashboard link: https://syzkaller.appspot.com/bug?extid=ad335a372e7ca7537fd3

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+ad335a...@syzkaller.appspotmail.com

list_del corruption, ffff888038fcf738->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
syz-executor.1 cpuset=/ mems_allowed=0-1
CPU: 0 PID: 9885 Comm: syz-executor.1 Not tainted 4.19.195-syzkaller #0
kernel BUG at lib/list_debug.c:45!
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Call Trace:
CPU: 1 PID: 9841 Comm: syz-executor.0 Not tainted 4.19.195-syzkaller #0
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
warn_alloc.cold+0x7b/0x18f mm/page_alloc.c:3457
RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45
Code: e8 74 41 f7 ff 0f 0b 48 89 ee 48 c7 c7 60 df b3 88 e8 63 41 f7 ff 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 a0 de b3 88 e8 4f 41 f7 ff <0f> 0b 4c 89 e2 48 89 ee 48 c7 c7 00 df b3 88 e8 3b 41 f7 ff 0f 0b
RSP: 0018:ffff888038fcf610 EFLAGS: 00010086
RAX: 000000000000004e RBX: ffff888038fcf720 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814dfc91 RDI: ffffed10071f9eb4
RBP: ffff888038fcf738 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
__vmalloc_node_range mm/vmalloc.c:1775 [inline]
__vmalloc_node mm/vmalloc.c:1804 [inline]
__vmalloc_node_flags mm/vmalloc.c:1818 [inline]
vzalloc+0x15c/0x1a0 mm/vmalloc.c:1857
R13: dead000000000100 R14: ffff888038fcf740 R15: 0000000000000007
ip_set_alloc+0x8a/0xd0 net/netfilter/ipset/ip_set_core.c:265
FS: 00007f64c5f9a700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
hash_ip_create+0x49d/0xec0 net/netfilter/ipset/ip_set_hash_gen.h:1286
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c002cea000 CR3: 00000000ab15f000 CR4: 00000000001406e0
ip_set_create+0x6b4/0x1370 net/netfilter/ipset/ip_set_core.c:941
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__list_del_entry include/linux/list.h:117 [inline]
list_del include/linux/list.h:125 [inline]
__remove_wait_queue include/linux/wait.h:184 [inline]
remove_wait_queue+0x2c/0x180 kernel/sched/wait.c:44
nfnetlink_rcv_msg+0xc4f/0xf60 net/netfilter/nfnetlink.c:233
tipc_send_group_bcast+0x317/0xa10 net/tipc/socket.c:1022
__tipc_sendmsg+0xa2b/0x1320 net/tipc/socket.c:1314
netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2457
tipc_sendmsg+0x4c/0x70 net/tipc/socket.c:1279
nfnetlink_rcv+0x1b2/0x420 net/netfilter/nfnetlink.c:565
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
___sys_sendmsg+0x3b3/0x8e0 net/socket.c:2115
netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1346
netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911
sock_sendmsg_nosec net/socket.c:622 [inline]
sock_sendmsg+0xc3/0x120 net/socket.c:632
___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
__sys_sendmmsg+0x195/0x470 net/socket.c:2210
__do_sys_sendmmsg net/socket.c:2239 [inline]
__se_sys_sendmmsg net/socket.c:2236 [inline]
__x64_sys_sendmmsg+0x99/0x100 net/socket.c:2236
__sys_sendmsg net/socket.c:2153 [inline]
__do_sys_sendmsg net/socket.c:2162 [inline]
__se_sys_sendmsg net/socket.c:2160 [inline]
__x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4665d9
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 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f64c5f9a188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 00000000004665d9
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RDX: 080000000000010b RSI: 0000000020000a40 RDI: 0000000000000004
RIP: 0033:0x4665d9
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
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 bc ff ff ff f7 d8 64 89 01 48
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056c038
RSP: 002b:00007f13cff39188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
R13: 00007ffe6c1c050f R14: 00007f64c5f9a300 R15: 0000000000022000
RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665d9
Modules linked in:
RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000000000004
---[ end trace 9420113287e277fa ]---
RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000
RIP: 0010:__list_del_entry_valid.cold+0x23/0x4a lib/list_debug.c:45
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80
Code: e8 74 41 f7 ff 0f 0b 48 89 ee 48 c7 c7 60 df b3 88 e8 63 41 f7 ff 0f 0b 4c 89 ea 48 89 ee 48 c7 c7 a0 de b3 88 e8 4f 41 f7 ff <0f> 0b 4c 89 e2 48 89 ee 48 c7 c7 00 df b3 88 e8 3b 41 f7 ff 0f 0b
R13: 00007ffc216cb2ff R14: 00007f13cff39300 R15: 0000000000022000
RSP: 0018:ffff888038fcf610 EFLAGS: 00010086
RAX: 000000000000004e RBX: ffff888038fcf720 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814dfc91 RDI: ffffed10071f9eb4
RBP: ffff888038fcf738 R08: 000000000000004e R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: dead000000000200
R13: dead000000000100 R14: ffff888038fcf740 R15: 0000000000000007
FS: 00007f64c5f9a700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c002cea000 CR3: 00000000ab15f000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
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,
Dec 22, 2021, 4:57:20 PM12/22/21
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