netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WARNING in ieee80211_rx_list
@ 2020-09-24  9:26 syzbot
  2022-02-05  2:33 ` [syzbot] " syzbot
  0 siblings, 1 reply; 2+ messages in thread
From: syzbot @ 2020-09-24  9:26 UTC (permalink / raw)
  To: davem, johannes, kuba, linux-kernel, linux-wireless, netdev,
	syzkaller-bugs

Hello,

syzbot found the following issue on:

HEAD commit:    12450081 libbpf: Fix native endian assumption when parsing..
git tree:       bpf
console output: https://syzkaller.appspot.com/x/log.txt?x=1236e99b900000
kernel config:  https://syzkaller.appspot.com/x/.config?x=5ac0d21536db480b
dashboard link: https://syzkaller.appspot.com/bug?extid=8830db5d3593b5546d2e
compiler:       gcc (GCC) 10.1.0-syz 20200507

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

------------[ cut here ]------------
WARNING: CPU: 1 PID: 18094 at net/mac80211/rx.c:4707 ieee80211_rx_list+0x1ba1/0x23a0 net/mac80211/rx.c:4707
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 18094 Comm: syz-executor.4 Not tainted 5.9.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x198/0x1fd lib/dump_stack.c:118
 panic+0x382/0x7fb kernel/panic.c:231
 __warn.cold+0x20/0x4b kernel/panic.c:600
 report_bug+0x1bd/0x210 lib/bug.c:198
 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:234
 exc_invalid_op+0x14/0x40 arch/x86/kernel/traps.c:254
 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536
RIP: 0010:ieee80211_rx_list+0x1ba1/0x23a0 net/mac80211/rx.c:4707
Code: 00 00 48 89 df e8 8f 1c ef f9 e9 08 02 00 00 e8 25 59 ae f9 48 c7 84 24 c4 00 00 00 10 00 00 00 e9 cd ed ff ff e8 0f 59 ae f9 <0f> 0b e9 77 f0 ff ff e8 03 59 ae f9 44 89 e6 48 89 ef e8 e8 2e 9d
RSP: 0018:ffffc90000da8c98 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffffffff87c7baa0
RDX: ffff888058a603c0 RSI: ffffffff87c7d3f1 RDI: 0000000000000001
RBP: ffff8880a614a580 R08: 0000000000000000 R09: ffffffff8d0b69e7
R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808c653148
R13: ffff88808c650580 R14: ffff88808c650c80 R15: 0000000000000001
 ieee80211_rx_napi+0xf7/0x3d0 net/mac80211/rx.c:4799
 ieee80211_rx include/net/mac80211.h:4435 [inline]
 ieee80211_tasklet_handler+0xd3/0x130 net/mac80211/main.c:235
 tasklet_action_common.constprop.0+0x237/0x470 kernel/softirq.c:559
 __do_softirq+0x1f8/0xb23 kernel/softirq.c:298
 asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:706
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:22 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:48 [inline]
 do_softirq_own_stack+0x9d/0xd0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:393 [inline]
 __irq_exit_rcu kernel/softirq.c:423 [inline]
 irq_exit_rcu+0x235/0x280 kernel/softirq.c:435
 sysvec_apic_timer_interrupt+0x51/0xf0 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:581
RIP: 0010:preempt_count arch/x86/include/asm/preempt.h:26 [inline]
RIP: 0010:check_kcov_mode kernel/kcov.c:163 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x9/0x60 kernel/kcov.c:197
Code: 5d be 03 00 00 00 e9 b6 82 49 02 66 0f 1f 44 00 00 48 8b be b0 01 00 00 e8 b4 ff ff ff 31 c0 c3 90 65 48 8b 14 25 c0 fe 01 00 <65> 8b 05 70 d1 8b 7e a9 00 01 ff 00 48 8b 34 24 74 0f f6 c4 01 74
RSP: 0018:ffffc900016d7748 EFLAGS: 00000202
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffffff81a62d1d
RDX: ffff888058a603c0 RSI: ffff888058a603c0 RDI: 0000000000000005
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8b591e4f
R10: 0000000000000000 R11: 0000000000000000 R12: ffff888069ba8a80
R13: 0000000000000001 R14: 0000000000000363 R15: 0000000001190000
 rcu_read_unlock_sched_notrace include/linux/rcupdate.h:772 [inline]
 trace_rss_stat+0x226/0x2f0 include/trace/events/kmem.h:338
 mm_trace_rss_stat mm/memory.c:160 [inline]
 add_mm_counter include/linux/mm.h:1882 [inline]
 add_mm_rss_vec mm/memory.c:490 [inline]
 zap_pte_range mm/memory.c:1141 [inline]
 zap_pmd_range mm/memory.c:1195 [inline]
 zap_pud_range mm/memory.c:1224 [inline]
 zap_p4d_range mm/memory.c:1245 [inline]
 unmap_page_range+0x16ab/0x2bf0 mm/memory.c:1266
 unmap_single_vma+0x198/0x300 mm/memory.c:1311
 unmap_vmas+0x168/0x2e0 mm/memory.c:1343
 exit_mmap+0x2b1/0x530 mm/mmap.c:3183
 __mmput+0x122/0x470 kernel/fork.c:1076
 mmput+0x53/0x60 kernel/fork.c:1097
 exit_mm kernel/exit.c:483 [inline]
 do_exit+0xa8b/0x29f0 kernel/exit.c:793
 do_group_exit+0x125/0x310 kernel/exit.c:903
 get_signal+0x428/0x1f00 kernel/signal.c:2757
 arch_do_signal+0x82/0x2520 arch/x86/kernel/signal.c:811
 exit_to_user_mode_loop kernel/entry/common.c:136 [inline]
 exit_to_user_mode_prepare+0x1ae/0x200 kernel/entry/common.c:167
 syscall_exit_to_user_mode+0x7e/0x2e0 kernel/entry/common.c:242
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e179
Code: Bad RIP value.
RSP: 002b:00007fa23411dc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffe0 RBX: 000000000002cd80 RCX: 000000000045e179
RDX: 0000000000040000 RSI: 0000000020000080 RDI: 000000000000000a
RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c
R13: 00007ffd868e359f R14: 00007fa23411e9c0 R15: 000000000118cf4c
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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 syzkaller@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [syzbot] WARNING in ieee80211_rx_list
  2020-09-24  9:26 WARNING in ieee80211_rx_list syzbot
@ 2022-02-05  2:33 ` syzbot
  0 siblings, 0 replies; 2+ messages in thread
From: syzbot @ 2022-02-05  2:33 UTC (permalink / raw)
  To: ajithjain, davem, johannes, kuba, linux-kernel, linux-wireless,
	netdev, syzkaller-bugs

syzbot has found a reproducer for the following issue on:

HEAD commit:    227a0713b319 libbpf: Deprecate forgotten btf__get_map_kv_t..
git tree:       bpf-next
console output: https://syzkaller.appspot.com/x/log.txt?x=15d58c62700000
kernel config:  https://syzkaller.appspot.com/x/.config?x=b210f94c3ec14b22
dashboard link: https://syzkaller.appspot.com/bug?extid=8830db5d3593b5546d2e
compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=1692ceec700000
C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=16e97524700000

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

------------[ cut here ]------------
WARNING: CPU: 0 PID: 13 at net/mac80211/rx.c:4902 ieee80211_rx_list+0x18e2/0x2740 net/mac80211/rx.c:4902
Modules linked in:
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted 5.16.0-syzkaller-11609-g227a0713b319 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ieee80211_rx_list+0x18e2/0x2740 net/mac80211/rx.c:4902
Code: 00 00 31 ff 89 de e8 ad ba d8 f8 85 db 0f 85 19 02 00 00 e8 80 b8 d8 f8 4c 89 e7 e8 48 ef 88 fe e9 bc eb ff ff e8 6e b8 d8 f8 <0f> 0b e9 53 ec ff ff e8 62 b8 d8 f8 4c 89 ea 48 b8 00 00 00 00 00
RSP: 0018:ffffc90000d27b80 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff888074dab3c8 RCX: 0000000000000100
RDX: ffff8880118d0000 RSI: ffffffff889f9d32 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff889f86cb R11: 0000000000000000 R12: ffff888078f17280
R13: 0000000000000000 R14: 0000000000000000 R15: ffff888074da8e60
FS:  0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555566663b8 CR3: 000000000b88e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ieee80211_rx_napi+0xdb/0x3d0 net/mac80211/rx.c:5000
 ieee80211_rx include/net/mac80211.h:4594 [inline]
 ieee80211_tasklet_handler+0xd4/0x130 net/mac80211/main.c:235
 tasklet_action_common.constprop.0+0x201/0x2e0 kernel/softirq.c:784
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 run_ksoftirqd kernel/softirq.c:921 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x2e9/0x3a0 kernel/kthread.c:377
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-05  2:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24  9:26 WARNING in ieee80211_rx_list syzbot
2022-02-05  2:33 ` [syzbot] " syzbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).