Hello,
syzbot found the following issue on:
HEAD commit: 43bb85222e53 Linux 5.15.193
git tree: linux-5.15.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=10691d34580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=e1bb6d24ef2164eb
dashboard link:
https://syzkaller.appspot.com/bug?extid=8c9388f04531bde5c146
compiler: Debian clang version 20.1.8 (++20250708063551+0c9f909b7976-1~exp1~20250708183702.136), Debian LLD 20.1.8
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/aa8fda38f146/disk-43bb8522.raw.xz
vmlinux:
https://storage.googleapis.com/syzbot-assets/5cfcd43783fc/vmlinux-43bb8522.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/582ede77e278/bzImage-43bb8522.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+8c9388...@syzkaller.appspotmail.com
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 15737 Comm: syz.4.2919 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
RIP: 0010:mac80211_hwsim_beacon_tx+0x4d4/0x920 drivers/net/wireless/mac80211_hwsim.c:1843
Code: e8 31 ae d1 fb 85 ed 0f 84 c5 01 00 00 e8 c4 aa d1 fb eb 05 e8 bd aa d1 fb 48 bd 00 00 00 00 00 fc ff df 4c 89 e8 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 ef e8 ae 12 16 fc 49 8b 55 00 4c 89 f7 48
RSP: 0018:ffffc90000007b50 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff1100bed44ab RCX: ffff888028da5940
RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff1ff781f
R10: fffffbfff1ff781f R11: 1ffffffff1ff781e R12: ffff88805f6a2558
R13: 0000000000000000 R14: ffff8880259d0da0 R15: ffff88806055d868
FS: 00007f66bc7736c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c34c01f CR3: 0000000064088000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
__iterate_interfaces+0x243/0x500 net/mac80211/util.c:793
ieee80211_iterate_active_interfaces_atomic+0xb3/0x140 net/mac80211/util.c:829
mac80211_hwsim_beacon+0x9b/0x180 drivers/net/wireless/mac80211_hwsim.c:1865
__run_hrtimer kernel/time/hrtimer.c:1690 [inline]
__hrtimer_run_queues+0x53d/0xc40 kernel/time/hrtimer.c:1754
hrtimer_run_softirq+0x176/0x240 kernel/time/hrtimer.c:1771
handle_softirqs+0x328/0x820 kernel/softirq.c:576
__do_softirq kernel/softirq.c:610 [inline]
invoke_softirq kernel/softirq.c:450 [inline]
__irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:lock_acquire+0x1f2/0x3f0 kernel/locking/lockdep.c:5627
Code: 00 9c 8f 84 24 80 00 00 00 f6 84 24 81 00 00 00 02 0f 85 f6 00 00 00 41 f7 c6 00 02 00 00 74 01 fb 48 c7 44 24 60 0e 36 e0 45 <4b> c7 44 3d 00 00 00 00 00 66 43 c7 44 3d 09 00 00 43 c6 44 3d 0b
RSP: 0018:ffffc90002e9f320 EFLAGS: 00000206
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 16bb5fc1b88dee00
RDX: 0000000000000000 RSI: ffffffff8a0b2ac0 RDI: ffffffff8a59a480
RBP: ffffc90002e9f430 R08: dffffc0000000000 R09: fffffbfff1ff7819
R10: fffffbfff1ff7819 R11: 1ffffffff1ff7818 R12: ffffffff8c11c660
R13: 1ffff920005d3e70 R14: 0000000000000246 R15: dffffc0000000000
rcu_lock_acquire+0x20/0x30 include/linux/rcupdate.h:312
rcu_read_lock include/linux/rcupdate.h:739 [inline]
get_mem_cgroup_from_mm+0x31/0x260 mm/memcontrol.c:986
__mem_cgroup_charge+0x11/0x80 mm/memcontrol.c:6800
mem_cgroup_charge include/linux/memcontrol.h:700 [inline]
shmem_add_to_page_cache+0xa83/0x14b0 mm/shmem.c:718
shmem_getpage_gfp+0x1793/0x2d40 mm/shmem.c:1940
shmem_fault+0x1a9/0x520 mm/shmem.c:2118
__do_fault+0x141/0x330 mm/memory.c:3928
do_read_fault mm/memory.c:4264 [inline]
do_fault mm/memory.c:4392 [inline]
handle_pte_fault mm/memory.c:4650 [inline]
__handle_mm_fault mm/memory.c:4785 [inline]
handle_mm_fault+0x2949/0x43c0 mm/memory.c:4883
faultin_page mm/gup.c:976 [inline]
__get_user_pages+0x93e/0x11c0 mm/gup.c:1197
populate_vma_page_range+0x213/0x290 mm/gup.c:1529
__mm_populate+0x26f/0x3a0 mm/gup.c:1638
mm_populate include/linux/mm.h:2646 [inline]
vm_mmap_pgoff+0x203/0x2b0 mm/util.c:556
ksys_mmap_pgoff+0x140/0x780 mm/mmap.c:1635
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f66be50bec9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f66bc773038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: ffffffffffffffda RBX: 00007f66be762fa0 RCX: 00007f66be50bec9
RDX: b635773f06ebbeee RSI: 0000000000b36000 RDI: 0000200000000000
RBP: 00007f66be58ef91 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000008031 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f66be763038 R14: 00007f66be762fa0 R15: 00007ffcd6ca50c8
</TASK>
Modules linked in:
---[ end trace b3bdb0b81807ffd9 ]---
RIP: 0010:mac80211_hwsim_beacon_tx+0x4d4/0x920 drivers/net/wireless/mac80211_hwsim.c:1843
Code: e8 31 ae d1 fb 85 ed 0f 84 c5 01 00 00 e8 c4 aa d1 fb eb 05 e8 bd aa d1 fb 48 bd 00 00 00 00 00 fc ff df 4c 89 e8 48 c1 e8 03 <80> 3c 28 00 74 08 4c 89 ef e8 ae 12 16 fc 49 8b 55 00 4c 89 f7 48
RSP: 0018:ffffc90000007b50 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 1ffff1100bed44ab RCX: ffff888028da5940
RDX: 0000000000000100 RSI: 0000000000000001 RDI: 0000000000000000
RBP: dffffc0000000000 R08: dffffc0000000000 R09: fffffbfff1ff781f
R10: fffffbfff1ff781f R11: 1ffffffff1ff781e R12: ffff88805f6a2558
R13: 0000000000000000 R14: ffff8880259d0da0 R15: ffff88806055d868
FS: 00007f66bc7736c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c34c01f CR3: 0000000064088000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: e8 31 ae d1 fb call 0xfbd1ae36
5: 85 ed test %ebp,%ebp
7: 0f 84 c5 01 00 00 je 0x1d2
d: e8 c4 aa d1 fb call 0xfbd1aad6
12: eb 05 jmp 0x19
14: e8 bd aa d1 fb call 0xfbd1aad6
19: 48 bd 00 00 00 00 00 movabs $0xdffffc0000000000,%rbp
20: fc ff df
23: 4c 89 e8 mov %r13,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 80 3c 28 00 cmpb $0x0,(%rax,%rbp,1) <-- trapping instruction
2e: 74 08 je 0x38
30: 4c 89 ef mov %r13,%rdi
33: e8 ae 12 16 fc call 0xfc1612e6
38: 49 8b 55 00 mov 0x0(%r13),%rdx
3c: 4c 89 f7 mov %r14,%rdi
3f: 48 rex.W
---
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.
If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title
If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)
If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report
If you want to undo deduplication, reply with:
#syz undup