INFO: task hung in drain_all_pages

4 ogledi
Preskoči na prvo neprebrano sporočilo

syzbot

neprebran,
24. feb. 2020, 23:59:1224. 2. 20
do syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 98db2bf2 Linux 4.14.171
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=1777e265e00000
kernel config: https://syzkaller.appspot.com/x/.config?x=365f8162d5a0794b
dashboard link: https://syzkaller.appspot.com/bug?extid=849216381f9e26b70800
compiler: gcc (GCC) 9.0.0 20181231 (experimental)
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=1716ea7ee00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11bd9109e00000

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

Cannot find add_set index 0 as target
Cannot find add_set index 0 as target
Cannot find add_set index 0 as target
Cannot find add_set index 0 as target
Cannot find add_set index 0 as target
INFO: task khugepaged:1065 blocked for more than 140 seconds.
Not tainted 4.14.171-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
khugepaged D27176 1065 2 0x80000000
Call Trace:
context_switch kernel/sched/core.c:2808 [inline]
__schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384
schedule+0x92/0x1c0 kernel/sched/core.c:3428
schedule_timeout+0x93b/0xe10 kernel/time/timer.c:1723
do_wait_for_common kernel/sched/completion.c:91 [inline]
__wait_for_common kernel/sched/completion.c:112 [inline]
wait_for_common kernel/sched/completion.c:123 [inline]
wait_for_completion+0x27c/0x420 kernel/sched/completion.c:144
flush_work+0x3eb/0x730 kernel/workqueue.c:2891
drain_all_pages+0x3a6/0x570 mm/page_alloc.c:2536
__alloc_pages_direct_reclaim mm/page_alloc.c:3616 [inline]
__alloc_pages_slowpath+0xa82/0x2930 mm/page_alloc.c:3989
__alloc_pages_nodemask+0x62c/0x7a0 mm/page_alloc.c:4198
__alloc_pages include/linux/gfp.h:484 [inline]
__alloc_pages_node include/linux/gfp.h:497 [inline]
khugepaged_alloc_page+0x7c/0x150 mm/khugepaged.c:754
collapse_huge_page+0x112/0x2d50 mm/khugepaged.c:962
khugepaged_scan_pmd mm/khugepaged.c:1220 [inline]
khugepaged_scan_mm_slot mm/khugepaged.c:1762 [inline]
khugepaged_do_scan mm/khugepaged.c:1843 [inline]
khugepaged+0x21a0/0x2de0 mm/khugepaged.c:1888
kthread+0x319/0x430 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
INFO: task syz-executor447:7259 blocked for more than 140 seconds.
Not tainted 4.14.171-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor447 D28400 7259 7251 0x00000006
Call Trace:
context_switch kernel/sched/core.c:2808 [inline]
__schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384
schedule+0x92/0x1c0 kernel/sched/core.c:3428
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486
__mutex_lock_common kernel/locking/mutex.c:833 [inline]
__mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
htable_put+0x21/0x210 net/netfilter/xt_hashlimit.c:440
hashlimit_mt_destroy+0x56/0x70 net/netfilter/xt_hashlimit.c:978
cleanup_match+0xc2/0x140 net/ipv6/netfilter/ip6_tables.c:491
find_check_entry.isra.0+0x3fe/0x920 net/ipv4/netfilter/ip_tables.c:577
translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737
do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline]
do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115
ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline]
ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240
tcp_setsockopt net/ipv4/tcp.c:2826 [inline]
tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2820
sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1865 [inline]
SyS_setsockopt+0x13c/0x210 net/socket.c:1844
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441e89
RSP: 002b:00007ffd71161278 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441e89
RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003
RBP: 00000000004a3310 R08: 00000000000003c8 R09: 0000000120080522
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000402ca0
R13: 0000000000402d30 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor447:7260 blocked for more than 140 seconds.
Not tainted 4.14.171-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor447 D28336 7260 7254 0x00000006
Call Trace:
context_switch kernel/sched/core.c:2808 [inline]
__schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384
schedule+0x92/0x1c0 kernel/sched/core.c:3428
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486
__mutex_lock_common kernel/locking/mutex.c:833 [inline]
__mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
htable_put+0x21/0x210 net/netfilter/xt_hashlimit.c:440
hashlimit_mt_destroy+0x56/0x70 net/netfilter/xt_hashlimit.c:978
cleanup_match+0xc2/0x140 net/ipv6/netfilter/ip6_tables.c:491
find_check_entry.isra.0+0x3fe/0x920 net/ipv4/netfilter/ip_tables.c:577
translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737
do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline]
do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115
ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline]
ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240
tcp_setsockopt net/ipv4/tcp.c:2826 [inline]
tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2820
sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1865 [inline]
SyS_setsockopt+0x13c/0x210 net/socket.c:1844
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441e89
RSP: 002b:00007ffd71161278 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441e89
RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003
RBP: 00000000004a3310 R08: 00000000000003c8 R09: 0000000120080522
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000402ca0
R13: 0000000000402d30 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor447:7261 blocked for more than 140 seconds.
Not tainted 4.14.171-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor447 D28232 7261 7255 0x00000006
Call Trace:
context_switch kernel/sched/core.c:2808 [inline]
__schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384
schedule+0x92/0x1c0 kernel/sched/core.c:3428
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486
__mutex_lock_common kernel/locking/mutex.c:833 [inline]
__mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
htable_put+0x21/0x210 net/netfilter/xt_hashlimit.c:440
hashlimit_mt_destroy+0x56/0x70 net/netfilter/xt_hashlimit.c:978
cleanup_match+0xc2/0x140 net/ipv6/netfilter/ip6_tables.c:491
find_check_entry.isra.0+0x3fe/0x920 net/ipv4/netfilter/ip_tables.c:577
translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737
do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline]
do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115
ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline]
ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240
tcp_setsockopt net/ipv4/tcp.c:2826 [inline]
tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2820
sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1865 [inline]
SyS_setsockopt+0x13c/0x210 net/socket.c:1844
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441e89
RSP: 002b:00007ffd71161278 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441e89
RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003
RBP: 00000000004a3310 R08: 00000000000003c8 R09: 0000000120080522
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000402ca0
R13: 0000000000402d30 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor447:7262 blocked for more than 140 seconds.
Not tainted 4.14.171-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor447 D28400 7262 7256 0x00000006
Call Trace:
context_switch kernel/sched/core.c:2808 [inline]
__schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384
schedule+0x92/0x1c0 kernel/sched/core.c:3428
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486
__mutex_lock_common kernel/locking/mutex.c:833 [inline]
__mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
htable_put+0x21/0x210 net/netfilter/xt_hashlimit.c:440
hashlimit_mt_destroy+0x56/0x70 net/netfilter/xt_hashlimit.c:978
cleanup_match+0xc2/0x140 net/ipv6/netfilter/ip6_tables.c:491
find_check_entry.isra.0+0x3fe/0x920 net/ipv4/netfilter/ip_tables.c:577
translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737
do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline]
do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115
ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline]
ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240
tcp_setsockopt net/ipv4/tcp.c:2826 [inline]
tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2820
sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1865 [inline]
SyS_setsockopt+0x13c/0x210 net/socket.c:1844
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441e89
RSP: 002b:00007ffd71161278 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441e89
RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003
RBP: 00000000004a3310 R08: 00000000000003c8 R09: 0000000120080522
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000402ca0
R13: 0000000000402d30 R14: 0000000000000000 R15: 0000000000000000
INFO: task syz-executor447:7263 blocked for more than 140 seconds.
Not tainted 4.14.171-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
syz-executor447 D28160 7263 7252 0x00000006
Call Trace:
context_switch kernel/sched/core.c:2808 [inline]
__schedule+0x7b8/0x1cd0 kernel/sched/core.c:3384
schedule+0x92/0x1c0 kernel/sched/core.c:3428
schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:3486
__mutex_lock_common kernel/locking/mutex.c:833 [inline]
__mutex_lock+0x73c/0x1470 kernel/locking/mutex.c:893
mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:908
htable_put+0x21/0x210 net/netfilter/xt_hashlimit.c:440
hashlimit_mt_destroy+0x56/0x70 net/netfilter/xt_hashlimit.c:978
cleanup_match+0xc2/0x140 net/ipv6/netfilter/ip6_tables.c:491
find_check_entry.isra.0+0x3fe/0x920 net/ipv4/netfilter/ip_tables.c:577
translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737
do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline]
do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115
ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline]
ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240
tcp_setsockopt net/ipv4/tcp.c:2826 [inline]
tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2820
sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1865 [inline]
SyS_setsockopt+0x13c/0x210 net/socket.c:1844
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441e89
RSP: 002b:00007ffd71161278 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441e89
RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003
RBP: 00000000000bb729 R08: 00000000000003c8 R09: 0000000100000009
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000402ca0
R13: 0000000000402d30 R14: 0000000000000000 R15: 0000000000000000

Showing all locks held in the system:
1 lock held by khungtaskd/1058:
#0: (tasklist_lock){.+.+}, at: [<ffffffff81484048>] debug_show_all_locks+0x7f/0x21f kernel/locking/lockdep.c:4544
1 lock held by khugepaged/1065:
#0: (pcpu_drain_mutex){+.+.}, at: [<ffffffff817259fd>] drain_all_pages+0x4d/0x570 mm/page_alloc.c:2493
2 locks held by getty/7218:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff8668c3a3>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff834bd4a6>] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156
2 locks held by getty/7219:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff8668c3a3>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff834bd4a6>] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156
2 locks held by getty/7220:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff8668c3a3>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff834bd4a6>] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156
2 locks held by getty/7221:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff8668c3a3>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff834bd4a6>] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156
2 locks held by getty/7222:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff8668c3a3>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff834bd4a6>] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156
2 locks held by getty/7223:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff8668c3a3>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff834bd4a6>] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156
2 locks held by getty/7224:
#0: (&tty->ldisc_sem){++++}, at: [<ffffffff8668c3a3>] ldsem_down_read+0x33/0x40 drivers/tty/tty_ldsem.c:376
#1: (&ldata->atomic_read_lock){+.+.}, at: [<ffffffff834bd4a6>] n_tty_read+0x1e6/0x17d0 drivers/tty/n_tty.c:2156
1 lock held by syz-executor447/7260:
#0: (hashlimit_mutex){+.+.}, at: [<ffffffff854f85e1>] htable_put+0x21/0x210 net/netfilter/xt_hashlimit.c:440
1 lock held by syz-executor447/7261:
#0: (hashlimit_mutex){+.+.}, at: [<ffffffff854f85e1>] htable_put+0x21/0x210 net/netfilter/xt_hashlimit.c:440
1 lock held by syz-executor447/7262:
#0: (hashlimit_mutex){+.+.}, at: [<ffffffff854f85e1>] htable_put+0x21/0x210 net/netfilter/xt_hashlimit.c:440
1 lock held by syz-executor447/7263:
#0: (hashlimit_mutex){+.+.}, at: [<ffffffff854f85e1>] htable_put+0x21/0x210 net/netfilter/xt_hashlimit.c:440

=============================================

NMI backtrace for cpu 0
CPU: 0 PID: 1058 Comm: khungtaskd Not tainted 4.14.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x142/0x197 lib/dump_stack.c:58
nmi_cpu_backtrace.cold+0x57/0x94 lib/nmi_backtrace.c:101
nmi_trigger_cpumask_backtrace+0x141/0x189 lib/nmi_backtrace.c:62
arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
trigger_all_cpu_backtrace include/linux/nmi.h:140 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:195 [inline]
watchdog+0x5e7/0xb90 kernel/hung_task.c:274
kthread+0x319/0x430 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 7259 Comm: syz-executor447 Not tainted 4.14.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880a0426300 task.stack: ffff888052080000
RIP: 0010:trace_lock_release include/trace/events/lock.h:58 [inline]
RIP: 0010:lock_release+0x166/0x940 kernel/locking/lockdep.c:4012
RSP: 0018:ffff8880520877c8 EFLAGS: 00000093
RAX: 0000000000000001 RBX: 1ffff1100a410eff RCX: 000000008b7c7e60
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff8880a0426b7c
RBP: ffff888052087860 R08: 0000000000004b02 R09: ffffffff89574090
R10: 0000000000000000 R11: ffff8880a0426300 R12: ffffc90035fd4060
R13: ffffffff854f5284 R14: ffff8880a0426300 R15: ffff888052087838
FS: 0000000001982880(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd71161280 CR3: 0000000052036000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__raw_spin_unlock_bh include/linux/spinlock_api_smp.h:174 [inline]
_raw_spin_unlock_bh+0x1b/0x40 kernel/locking/spinlock.c:208
spin_unlock_bh include/linux/spinlock.h:362 [inline]
htable_selective_cleanup+0x204/0x300 net/netfilter/xt_hashlimit.c:381
htable_destroy net/netfilter/xt_hashlimit.c:416 [inline]
htable_put+0x164/0x210 net/netfilter/xt_hashlimit.c:443
hashlimit_mt_destroy+0x56/0x70 net/netfilter/xt_hashlimit.c:978
cleanup_match+0xc2/0x140 net/ipv6/netfilter/ip6_tables.c:491
find_check_entry.isra.0+0x3fe/0x920 net/ipv4/netfilter/ip_tables.c:577
translate_table+0xb3f/0x15a0 net/ipv4/netfilter/ip_tables.c:737
do_replace net/ipv4/netfilter/ip_tables.c:1138 [inline]
do_ipt_set_ctl+0x268/0x3ee net/ipv4/netfilter/ip_tables.c:1674
nf_sockopt net/netfilter/nf_sockopt.c:106 [inline]
nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:115
ip_setsockopt net/ipv4/ip_sockglue.c:1255 [inline]
ip_setsockopt+0x9b/0xb0 net/ipv4/ip_sockglue.c:1240
tcp_setsockopt net/ipv4/tcp.c:2826 [inline]
tcp_setsockopt+0x84/0xd0 net/ipv4/tcp.c:2820
sock_common_setsockopt+0x94/0xd0 net/core/sock.c:2968
SYSC_setsockopt net/socket.c:1865 [inline]
SyS_setsockopt+0x13c/0x210 net/socket.c:1844
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x441e89
RSP: 002b:00007ffd71161278 EFLAGS: 00000246 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000441e89
RDX: 0000000000000040 RSI: 0004000000000000 RDI: 0000000000000003
RBP: 00000000004a3310 R08: 00000000000003c8 R09: 0000000120080522
R10: 0000000020000000 R11: 0000000000000246 R12: 0000000000402ca0
R13: 0000000000402d30 R14: 0000000000000000 R15: 0000000000000000
Code: 00 41 c7 86 7c 08 00 00 01 00 00 00 0f 1f 44 00 00 65 8b 05 1d 6f b9 7e 83 f8 3f 0f 87 bf 04 00 00 89 c0 48 0f a3 05 72 03 6a 07 <0f> 82 5b 04 00 00 48 c7 c0 60 c3 33 88 48 ba 00 00 00 00 00 fc


---
This bug 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 bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.
syzbot can test patches for this bug, for details see:
https://goo.gl/tpsmEJ#testing-patches

syzbot

neprebran,
26. mar. 2020, 04:04:0426. 3. 20
do syzkaller...@googlegroups.com
syzbot suspects this bug was fixed by commit:

commit a86265edeb3314f9c3270a5bf18b4e72ebc65beb
Author: Cong Wang <xiyou.w...@gmail.com>
Date: Mon Feb 3 04:30:53 2020 +0000

netfilter: xt_hashlimit: limit the max size of hashtable

bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=130bbf75e00000
start commit: 98db2bf2 Linux 4.14.171
git tree: linux-4.14.y
If the result looks correct, please mark the bug fixed by replying with:

#syz fix: netfilter: xt_hashlimit: limit the max size of hashtable

For information about bisection process see: https://goo.gl/tpsmEJ#bisection
Odgovori vsem
Odgovori avtorju
Posreduj
0 novih sporočil