syzbot


divide error in mac80211_hwsim_link_info_changed (3)

Status: upstream: reported on 2026/04/27 19:28
Subsystems: wireless
[Documentation on labels]
Reported-by: syzbot+ca7a2759caaa6cd4e3db@syzkaller.appspotmail.com
First crash: 18d, last: 18d
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
05488272-63a0-49ec-9d94-9bbd5b38ad6b assessment-security 💥 divide error in mac80211_hwsim_link_info_changed (3) 2026/05/15 07:29 2026/05/15 07:29 2026/05/15 07:30 6ccb967e465e832a7bfd7a116ad00d52a0923a5d failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "32" "ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=/app/workdir/cache/build/29b00534402a6e834e23dca7896b765ad6a50686" "-s" "bzImage" "compile_commands.json"]: exit status 2 Root cause: error: unable to open output file 'security/integrity/iint.o': 'No such file or directory' /app/workdir/cache/src/a7966833164a791a1f7c3009b83c0bfc0425cdbf/security/apparmor/apparmorfs.c:177:28: warning: unused function 'get_loaddata_common_ref' [-Wunused-function] 177 | static struct aa_loaddata *get_loaddata_common_ref(struct aa_common_ref *ref) | ^~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. fatal error: error in backend: IO failure on output stream: No space left on device PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang --target=x86_64-linux-gnu -fintegrated-as -Werror=unknown-warning-option -Werror=ignored-optimization-argument -Werror=option-ignored -Werror=unused-command-line-argument -fmacro-prefix-map=/app/workdir/cache/src/a7966833164a791a1f7c3009b83c0bfc0425cdbf/= -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -std=gnu11 -fms-extensions -Wno-gnu -Wno-microsoft-anon-tag -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -mno-sse4a -fcf-protection=branch -fno-jump-tables -m64 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mstack-alignment=8 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mretpoline-external-thunk -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fstack-protector-strong -fomit-frame-pointer -ftrivial-auto-var-init=zero -fno-stack-clash-protection -falign-functions=16 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=2048 -Wno-format-overflow-non-kprintf -Wno-format-truncation-non-kprintf -Wno-default-const-init-unsafe -Wno-type-limits -Wno-pointer-sign -Wcast-function-type -Wno-unterminated-string-initialization -Wimplicit-fallthrough -Werror=date-time -Werror=incompatible-pointer-types -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-format-overflow -Wno-override-init -Wno-pointer-to-enum-cast -Wno-tautological-constant-out-of-range-compare -Wno-unaligned-access -Wno-enum-compare-conditional -Wno-missing-field-initializers -Wno-shift-negative-value -Wno-enum-enum-conversion -Wno-sign-compare -Wno-unused-parameter -g -gdwarf-4 -fsanitize=kernel-address -mllvm -asan-mapping-offset=0xdffffc0000000000 -mllvm -asan-instrumentation-with-call-threshold=10000 -mllvm -asan-stack=1 -mllvm -asan-globals=1 -mllvm -asan-kernel-mem-intrinsic-prefix=1 -fsanitize=array-bounds -fsanitize=shift -fsanitize-coverage=trace-pc -fsanitize-coverage=trace-cmp -fdebug-info-for-profiling -mllvm -enable-fs-discriminator=true -mllvm -improved-fs-discriminator=true -fbasic-block-address-map -nostdinc -I/app/workdir/cache/src/a7966833164a791a1f7c3009b83c0bfc0425cdbf/arch/x86/include -I./arch/x86/include/generated -I/app/workdir/cache/src/a7966833164a791a1f7c3009b83c0bfc0425cdbf/include -I./include -I/app/workdir/cache/src/a7966833164a791a1f7c3009b83c0bfc0425cdbf/arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I/app/workdir/cache/src/a7966833164a791a1f7c3009b83c0bfc0425cdbf/include/uapi -I./include/generated/uapi -include /app/workdir/cache/src/a7966833164a791a1f7c3009b83c0bfc0425cdbf/include/linux/compiler-version.h -include /app/workdir/cache/
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [wireless?] divide error in mac80211_hwsim_link_info_changed (3) 1 (2) 2026/04/27 20:29
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream divide error in mac80211_hwsim_link_info_changed wireless 2 1 667d 667d 0/29 auto-obsoleted due to no activity on 2024/10/25 21:22
upstream divide error in mac80211_hwsim_link_info_changed (2) wireless 2 12 177d 400d 0/29 auto-obsoleted due to no activity on 2026/02/27 14:54

Sample crash report:
Oops: divide error: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 193 Comm: kworker/u8:6 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
Workqueue: events_unbound cfg80211_wiphy_work
RIP: 0010:mac80211_hwsim_link_info_changed+0x476/0xfc0 drivers/net/wireless/virtual/mac80211_hwsim.c:2734
Code: 3c 06 00 49 89 c6 48 8b 7c 24 20 74 0a e8 42 72 26 fb 48 8b 7c 24 20 48 8b 0f 89 ce 4c 89 e0 48 c1 e8 20 74 60 4c 89 e0 31 d2 <48> f7 f6 eb 5d e8 30 37 bb fa 4c 8b 74 24 20 49 8d 7e 10 e8 a2 e4
RSP: 0000:ffffc90002ea7860 EFLAGS: 00010246
RAX: 000650757bb12572 RBX: 0000000000000200 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88806fbe7b98
RBP: ffffc90002ea7958 R08: ffffffff903096f7 R09: 1ffffffff20612de
R10: dffffc0000000000 R11: fffffbfff20612df R12: 000650757bb12572
R13: ffff88806fbe7b18 R14: dffffc0000000000 R15: 1ffff920005d4f18
FS:  0000000000000000(0000) GS:ffff888125393000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000f540c000 CR3: 0000000064b3a000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 drv_link_info_changed+0x505/0x880 net/mac80211/driver-ops.c:-1
 ieee80211_offchannel_return+0x375/0x500 net/mac80211/offchannel.c:160
 __ieee80211_scan_completed+0x75a/0xb40 net/mac80211/scan.c:519
 cfg80211_wiphy_work+0x2cf/0x460 net/wireless/core.c:513
 process_one_work kernel/workqueue.c:3302 [inline]
 process_scheduled_works+0xb5d/0x1860 kernel/workqueue.c:3385
 worker_thread+0xa53/0xfc0 kernel/workqueue.c:3466
 kthread+0x388/0x470 kernel/kthread.c:436
 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:mac80211_hwsim_link_info_changed+0x476/0xfc0 drivers/net/wireless/virtual/mac80211_hwsim.c:2734
Code: 3c 06 00 49 89 c6 48 8b 7c 24 20 74 0a e8 42 72 26 fb 48 8b 7c 24 20 48 8b 0f 89 ce 4c 89 e0 48 c1 e8 20 74 60 4c 89 e0 31 d2 <48> f7 f6 eb 5d e8 30 37 bb fa 4c 8b 74 24 20 49 8d 7e 10 e8 a2 e4
RSP: 0000:ffffc90002ea7860 EFLAGS: 00010246
RAX: 000650757bb12572 RBX: 0000000000000200 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88806fbe7b98
RBP: ffffc90002ea7958 R08: ffffffff903096f7 R09: 1ffffffff20612de
R10: dffffc0000000000 R11: fffffbfff20612df R12: 000650757bb12572
R13: ffff88806fbe7b18 R14: dffffc0000000000 R15: 1ffff920005d4f18
FS:  0000000000000000(0000) GS:ffff888125393000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000f7487a54 CR3: 00000000608c4000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess), 3 bytes skipped:
   0:	49 89 c6             	mov    %rax,%r14
   3:	48 8b 7c 24 20       	mov    0x20(%rsp),%rdi
   8:	74 0a                	je     0x14
   a:	e8 42 72 26 fb       	call   0xfb267251
   f:	48 8b 7c 24 20       	mov    0x20(%rsp),%rdi
  14:	48 8b 0f             	mov    (%rdi),%rcx
  17:	89 ce                	mov    %ecx,%esi
  19:	4c 89 e0             	mov    %r12,%rax
  1c:	48 c1 e8 20          	shr    $0x20,%rax
  20:	74 60                	je     0x82
  22:	4c 89 e0             	mov    %r12,%rax
  25:	31 d2                	xor    %edx,%edx
* 27:	48 f7 f6             	div    %rsi <-- trapping instruction
  2a:	eb 5d                	jmp    0x89
  2c:	e8 30 37 bb fa       	call   0xfabb3761
  31:	4c 8b 74 24 20       	mov    0x20(%rsp),%r14
  36:	49 8d 7e 10          	lea    0x10(%r14),%rdi
  3a:	e8                   	.byte 0xe8
  3b:	a2                   	.byte 0xa2
  3c:	e4                   	.byte 0xe4

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/27 18:43 upstream 254f49634ee1 0f700595 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-386 divide error in mac80211_hwsim_link_info_changed
* Struck through repros no longer work on HEAD.