[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CALcu4ratoUmf_LvW1ExB_VWXmpMtBu0EY3y4SdawaKS1mSjq5g@mail.gmail.com>
Date: Tue, 15 Aug 2023 23:17:22 +0800
From: Yikebaer Aizezi <yikebaer61@...il.com>
To: davem@...emloft.net, dsahern@...nel.org, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: WARNING in ip6_tnl_exit_batch_net
Hello,
When using Healer to fuzz the Latest Linux-6.5-rc6, the following crash
was triggered.
HEAD commit: 2ccdd1b13c591d306f0401d98dedc4bdcd02b421 (tag: v6.5-rc6)
git tree: upstream
console output:
https://drive.google.com/file/d/1ltIU2bvgBY5RQd832oDuxrWz7JP7FbLi/view?usp=drive_link
kernel config:https://drive.google.com/file/d/1V8arEniPN_yA0gYKWFr-hCZR6AGFPpfB/view?usp=drive_link
C reproducer:https://drive.google.com/file/d/1bk8vG04VswMLyahjItM-Cmq86UKPupmg/view?usp=drive_link
Syzlang reproducer:
https://drive.google.com/file/d/1ZhcjI74kh0UzAjXWbQSZTeCVM43wZ3Hq/view?usp=drive_link
If you fix this issue, please add the following tag to the commit:
Reported-by: Yikebaer Aizezi <yikebaer61@...il.com>
------------[ cut here ]------------
WARNING: CPU: 0 PID: 11 at net/core/dev.c:10876
unregister_netdevice_many_notify+0x13eb/0x18a0 net/core/dev.c:10876
Modules linked in:
CPU: 0 PID: 11 Comm: kworker/u4:0 Not tainted 6.5.0-rc6 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
Workqueue: netns cleanup_net
RIP: 0010:unregister_netdevice_many_notify+0x13eb/0x18a0 net/core/dev.c:10876
Code: b4 1a 00 00 48 c7 c6 00 89 f7 8a 48 c7 c7 40 89 f7 8a c6 05 3f
4c 56 06 01 e8 71 b9 9e f9 0f 0b e9 49 f7 ff ff e8
55 b5 d6 f9 <0f> 0b e9 20 f7 ff ff e8 49 b5 d6 f9 0f 0b e9 5f f7
ff ff e8 6d 81
RSP: 0018:ffffc900000dfa40 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 000000000c15ba01 RCX: 0000000000000000
RDX: ffff88801405bc00 RSI: ffffffff87a9b59b RDI: 0000000000000001
RBP: ffff8880288d2900 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 000000000008e001 R12: 0000000000000000
R13: ffff8880288d2900 R14: ffff888027768000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888063c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d3acdd9680 CR3: 0000000018876000 CR4: 0000000000750ef0
PKRU: 55555554
Call Trace:
<TASK>
ip6_tnl_exit_batch_net+0x579/0x6e0 net/ipv6/ip6_tunnel.c:2278
ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:614
process_one_work+0xa22/0x16e0 kernel/workqueue.c:2600
worker_thread+0x679/0x10c0 kernel/workqueue.c:2751
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x28/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
</TASK>
Modules linked in:
CPU: 0 PID: 11 Comm: kworker/u4:0 Not tainted 6.5.0-rc6 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
Workqueue: netns cleanup_net
RIP: 0010:unregister_netdevice_many_notify+0x13eb/0x18a0 net/core/dev.c:10876
Code: b4 1a 00 00 48 c7 c6 00 89 f7 8a 48 c7 c7 40 89 f7 8a c6 05 3f
4c 56 06 01 e8 71 b9 9e f9 0f 0b e9 49 f7 ff ff e8
55 b5 d6 f9 <0f> 0b e9 20 f7 ff ff e8 49 b5 d6 f9 0f 0b e9 5f f7
ff ff e8 6d 81
RSP: 0018:ffffc900000dfa40 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 000000000c15ba01 RCX: 0000000000000000
RDX: ffff88801405bc00 RSI: ffffffff87a9b59b RDI: 0000000000000001
RBP: ffff8880288d2900 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 000000000008e001 R12: 0000000000000000
R13: ffff8880288d2900 R14: ffff888027768000 R15: dffffc0000000000
FS: 0000000000000000(0000) GS:ffff888063c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d3acdd9680 CR3: 0000000018876000 CR4: 0000000000750ef0
PKRU: 55555554
Call Trace:
<TASK>
ip6_tnl_exit_batch_net+0x579/0x6e0 net/ipv6/ip6_tunnel.c:2278
ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:614
process_one_work+0xa22/0x16e0 kernel/workqueue.c:2600
worker_thread+0x679/0x10c0 kernel/workqueue.c:2751
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x28/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
</TASK>
Kernel panic - not syncing: kernel: panic_on_warn set ...
CPU: 0 PID: 11 Comm: kworker/u4:0 Not tainted 6.5.0-rc6 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS
rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014
Workqueue: netns cleanup_net
Call Trace:
<TASK>
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xd5/0x150 lib/dump_stack.c:106
panic+0x67e/0x730 kernel/panic.c:340
check_panic_on_warn+0xad/0xb0 kernel/panic.c:236
__warn+0xee/0x390 kernel/panic.c:673
__report_bug lib/bug.c:199 [inline]
report_bug+0x2d9/0x500 lib/bug.c:219
handle_bug+0x3c/0x70 arch/x86/kernel/traps.c:326
exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:347
asm_exc_invalid_op+0x16/0x20 arch/x86/include/asm/idtentry.h:568
RIP: 0010:unregister_netdevice_many_notify+0x13eb/0x18a0 net/core/dev.c:10876
Code: b4 1a 00 00 48 c7 c6 00 89 f7 8a 48 c7 c7 40 89 f7 8a c6 05 3f
4c 56 06 01 e8 71 b9 9e f9 0f 0b e9 49 f7 ff ff e8
55 b5 d6 f9 <0f> 0b e9 20 f7 ff ff e8 49 b5 d6 f9 0f 0b e9 5f f7
ff ff e8 6d 81
RSP: 0018:ffffc900000dfa40 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 000000000c15ba01 RCX: 0000000000000000
RDX: ffff88801405bc00 RSI: ffffffff87a9b59b RDI: 0000000000000001
RBP: ffff8880288d2900 R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000001 R11: 000000000008e001 R12: 0000000000000000
R13: ffff8880288d2900 R14: ffff888027768000 R15: dffffc0000000000
ip6_tnl_exit_batch_net+0x579/0x6e0 net/ipv6/ip6_tunnel.c:2278
ops_exit_list+0x125/0x170 net/core/net_namespace.c:175
cleanup_net+0x4ea/0xb10 net/core/net_namespace.c:614
process_one_work+0xa22/0x16e0 kernel/workqueue.c:2600
worker_thread+0x679/0x10c0 kernel/workqueue.c:2751
kthread+0x33a/0x430 kernel/kthread.c:389
ret_from_fork+0x28/0x60 arch/x86/kernel/process.c:145
ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304
</TASK>
Dumping ftrace buffer:
(ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 1 seconds..
Powered by blists - more mailing lists