WARNING in wireless_send_event wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 ------------[ cut here ]------------ memcpy: detected field-spanning write (size 16) of single field "&compat_event->pointer" at net/wireless/wext-core.c:623 (size 4) WARNING: CPU: 1 PID: 47 at net/wireless/wext-core.c:623 wireless_send_event+0xab5/0xca0 net/wireless/wext-core.c:623 Modules linked in: CPU: 1 PID: 47 Comm: kworker/u4:3 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 Workqueue: cfg80211 cfg80211_event_work RIP: 0010:wireless_send_event+0xab5/0xca0 net/wireless/wext-core.c:623 Code: fa ff ff e8 4d 7b db f8 b9 04 00 00 00 4c 89 e6 48 c7 c2 a0 61 11 8b 48 c7 c7 e0 60 11 8b c6 05 1a 3c 2a 05 01 e8 4b b4 a6 00 <0f> 0b e9 9b fa ff ff e8 1f c3 27 f9 e9 a6 fd ff ff e8 75 c3 27 f9 RSP: 0018:ffffc90000b87ae8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8880175b3a80 RSI: ffffffff81620008 RDI: fffff52000170f4f RBP: ffff88806cbf2280 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 7720676e696e6e6d R12: 0000000000000010 R13: ffff88806cbf23c0 R14: ffff88802575e02c R15: ffff88802575e034 FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9a7e0b3300 CR3: 000000006cc29000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __cfg80211_ibss_joined+0x419/0x530 net/wireless/ibss.c:56 cfg80211_process_wdev_events+0x3db/0x5b0 net/wireless/util.c:984 cfg80211_process_rdev_events+0x9b/0x120 net/wireless/util.c:1010 cfg80211_event_work+0x27/0x40 net/wireless/core.c:328 process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Warning: Permanently added '10.128.10.38' (ECDSA) to the list of known hosts. 2022/09/27 03:20:14 fuzzer started 2022/09/27 03:20:14 connecting to host at 10.128.0.169:39221 2022/09/27 03:20:14 checking machine... 2022/09/27 03:20:14 checking revisions... 2022/09/27 03:20:14 testing simple program... syzkaller login: [ 48.196484][ T3612] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 48.203836][ T3612] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 48.211169][ T3612] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 48.218854][ T3612] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 48.226557][ T3612] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 48.234030][ T3612] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 48.241718][ T3611] Bluetooth: hci0: HCI_REQ-0x0c1a [ 48.295691][ T3611] chnl_net:caif_netlink_parms(): no params data found [ 48.326528][ T3611] bridge0: port 1(bridge_slave_0) entered blocking state [ 48.333737][ T3611] bridge0: port 1(bridge_slave_0) entered disabled state [ 48.341471][ T3611] device bridge_slave_0 entered promiscuous mode [ 48.349078][ T3611] bridge0: port 2(bridge_slave_1) entered blocking state [ 48.356260][ T3611] bridge0: port 2(bridge_slave_1) entered disabled state [ 48.364022][ T3611] device bridge_slave_1 entered promiscuous mode [ 48.379451][ T3611] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 48.390716][ T3611] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 48.407926][ T3611] team0: Port device team_slave_0 added [ 48.414659][ T3611] team0: Port device team_slave_1 added [ 48.428652][ T3611] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 48.435636][ T3611] batman_adv: batadv0: The MTU of interface batadv_slave_0 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 48.461883][ T3611] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 48.473328][ T3611] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 48.480545][ T3611] batman_adv: batadv0: The MTU of interface batadv_slave_1 is too small (1500) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1560 would solve the problem. [ 48.506790][ T3611] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 48.528509][ T3611] device hsr_slave_0 entered promiscuous mode [ 48.536039][ T3611] device hsr_slave_1 entered promiscuous mode [ 48.590758][ T3611] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 48.599102][ T3611] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 48.607725][ T3611] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 48.616640][ T3611] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 48.631780][ T3611] bridge0: port 2(bridge_slave_1) entered blocking state [ 48.639017][ T3611] bridge0: port 2(bridge_slave_1) entered forwarding state [ 48.646436][ T3611] bridge0: port 1(bridge_slave_0) entered blocking state [ 48.653537][ T3611] bridge0: port 1(bridge_slave_0) entered forwarding state [ 48.684041][ T3611] 8021q: adding VLAN 0 to HW filter on device bond0 [ 48.694833][ T3621] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 48.703514][ T3621] bridge0: port 1(bridge_slave_0) entered disabled state [ 48.711493][ T3621] bridge0: port 2(bridge_slave_1) entered disabled state [ 48.719173][ T3621] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 48.729854][ T3611] 8021q: adding VLAN 0 to HW filter on device team0 [ 48.740826][ T2523] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 48.749894][ T2523] bridge0: port 1(bridge_slave_0) entered blocking state [ 48.757055][ T2523] bridge0: port 1(bridge_slave_0) entered forwarding state [ 48.764804][ T2523] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 48.773624][ T2523] bridge0: port 2(bridge_slave_1) entered blocking state [ 48.780691][ T2523] bridge0: port 2(bridge_slave_1) entered forwarding state [ 48.802731][ T3624] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 48.811152][ T3624] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 48.819582][ T3624] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 48.827708][ T3624] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 48.836044][ T3624] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 48.845716][ T3611] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 48.858618][ T3621] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 48.866406][ T3621] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 48.877117][ T3611] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 48.976089][ T3611] device veth0_vlan entered promiscuous mode [ 48.983019][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 48.991813][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 49.001115][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 49.008688][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 49.020018][ T3611] device veth1_vlan entered promiscuous mode [ 49.034315][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 49.042255][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 49.050386][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 49.060563][ T3611] device veth0_macvtap entered promiscuous mode [ 49.068542][ T3611] device veth1_macvtap entered promiscuous mode [ 49.082480][ T3611] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 49.090313][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 49.099271][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 49.110225][ T3611] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 49.117680][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 49.128623][ T3611] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 49.137640][ T3611] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 49.146473][ T3611] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 49.155568][ T3611] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 49.180112][ T3611] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht' [ 49.197429][ T47] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 49.198471][ T3611] ieee80211 phy4: Selected rate control algorithm 'minstrel_ht' [ 49.209465][ T47] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 49.225619][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 49.225896][ T47] ------------[ cut here ]------------ [ 49.239510][ T47] memcpy: detected field-spanning write (size 16) of single field "&compat_event->pointer" at net/wireless/wext-core.c:623 (size 4) [ 49.241137][ T39] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 49.254358][ T47] WARNING: CPU: 1 PID: 47 at net/wireless/wext-core.c:623 wireless_send_event+0xab5/0xca0 [ 49.263303][ T39] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 49.271297][ T47] Modules linked in: [ 49.280768][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 49.282296][ T47] CPU: 1 PID: 47 Comm: kworker/u4:3 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 [ 49.299183][ T47] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 49.310688][ T47] Workqueue: cfg80211 cfg80211_event_work [ 49.316464][ T47] RIP: 0010:wireless_send_event+0xab5/0xca0 [ 49.322449][ T47] Code: fa ff ff e8 4d 7b db f8 b9 04 00 00 00 4c 89 e6 48 c7 c2 a0 61 11 8b 48 c7 c7 e0 60 11 8b c6 05 1a 3c 2a 05 01 e8 4b b4 a6 00 <0f> 0b e9 9b fa ff ff e8 1f c3 27 f9 e9 a6 fd ff ff e8 75 c3 27 f9 [ 49.342610][ T47] RSP: 0018:ffffc90000b87ae8 EFLAGS: 00010282 [ 49.348721][ T47] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 49.356823][ T47] RDX: ffff8880175b3a80 RSI: ffffffff81620008 RDI: fffff52000170f4f [ 49.365258][ T47] RBP: ffff88806cbf2280 R08: 0000000000000005 R09: 0000000000000000 [ 49.373310][ T47] R10: 0000000080000000 R11: 7720676e696e6e6d R12: 0000000000000010 [ 49.381388][ T47] R13: ffff88806cbf23c0 R14: ffff88802575e02c R15: ffff88802575e034 [ 49.389487][ T47] FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 [ 49.398541][ T47] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 49.408563][ T47] CR2: 00007f9a7e0b3300 CR3: 000000006cc29000 CR4: 00000000003506e0 [ 49.416959][ T47] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 49.425015][ T47] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 49.433091][ T47] Call Trace: 2022/09/27 03:20:17 building call list... [ 49.436398][ T47] [ 49.439870][ T47] ? rtnetlink_ifinfo_prep+0x410/0x410 [ 49.445680][ T47] ? cfg80211_upload_connect_keys+0x4a/0xa30 [ 49.452062][ T47] __cfg80211_ibss_joined+0x419/0x530 [ 49.459692][ T47] ? rwlock_bug.part.0+0x90/0x90 [ 49.471553][ T47] ? __cfg80211_clear_ibss+0xf30/0xf30 [ 49.482674][ T47] ? do_raw_spin_unlock+0x171/0x230 [ 49.488049][ T47] ? _raw_spin_unlock_irqrestore+0x50/0x70 [ 49.504429][ T47] cfg80211_process_wdev_events+0x3db/0x5b0 [ 49.514189][ T47] cfg80211_process_rdev_events+0x9b/0x120 [ 49.531377][ T47] cfg80211_event_work+0x27/0x40 [ 49.542301][ T47] process_one_work+0x9bf/0x1710 [ 49.547594][ T47] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 49.553658][ T47] ? rwlock_bug.part.0+0x90/0x90 [ 49.558861][ T47] worker_thread+0x665/0x1080 [ 49.563909][ T47] ? process_one_work+0x1710/0x1710 [ 49.576317][ T47] kthread+0x2e4/0x3a0 [ 49.580205][ T39] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 49.583942][ T47] ? kthread_complete_and_exit+0x40/0x40 [ 49.600015][ T47] ret_from_fork+0x1f/0x30 [ 49.604533][ T47] [ 49.607613][ T47] Kernel panic - not syncing: panic_on_warn set ... [ 49.614205][ T47] CPU: 1 PID: 47 Comm: kworker/u4:3 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 [ 49.623666][ T47] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 49.633902][ T47] Workqueue: cfg80211 cfg80211_event_work [ 49.639634][ T47] Call Trace: [ 49.642911][ T47] [ 49.645843][ T47] dump_stack_lvl+0xcd/0x134 [ 49.650456][ T47] panic+0x2c8/0x622 [ 49.654386][ T47] ? panic_print_sys_info.part.0+0x110/0x110 [ 49.660393][ T47] ? __warn.cold+0x24b/0x350 [ 49.665028][ T47] ? wireless_send_event+0xab5/0xca0 [ 49.670355][ T47] __warn.cold+0x25c/0x350 [ 49.674798][ T47] ? wireless_send_event+0xab5/0xca0 [ 49.680120][ T47] report_bug+0x1bc/0x210 [ 49.684505][ T47] handle_bug+0x3c/0x60 [ 49.688695][ T47] exc_invalid_op+0x14/0x40 [ 49.693319][ T47] asm_exc_invalid_op+0x16/0x20 [ 49.698200][ T47] RIP: 0010:wireless_send_event+0xab5/0xca0 [ 49.704124][ T47] Code: fa ff ff e8 4d 7b db f8 b9 04 00 00 00 4c 89 e6 48 c7 c2 a0 61 11 8b 48 c7 c7 e0 60 11 8b c6 05 1a 3c 2a 05 01 e8 4b b4 a6 00 <0f> 0b e9 9b fa ff ff e8 1f c3 27 f9 e9 a6 fd ff ff e8 75 c3 27 f9 [ 49.723830][ T47] RSP: 0018:ffffc90000b87ae8 EFLAGS: 00010282 [ 49.729911][ T47] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 49.737885][ T47] RDX: ffff8880175b3a80 RSI: ffffffff81620008 RDI: fffff52000170f4f [ 49.745879][ T47] RBP: ffff88806cbf2280 R08: 0000000000000005 R09: 0000000000000000 [ 49.753867][ T47] R10: 0000000080000000 R11: 7720676e696e6e6d R12: 0000000000000010 [ 49.761840][ T47] R13: ffff88806cbf23c0 R14: ffff88802575e02c R15: ffff88802575e034 [ 49.769821][ T47] ? vprintk+0x88/0x90 [ 49.774253][ T47] ? wireless_send_event+0xab5/0xca0 [ 49.779561][ T47] ? rtnetlink_ifinfo_prep+0x410/0x410 [ 49.785121][ T47] ? cfg80211_upload_connect_keys+0x4a/0xa30 [ 49.791116][ T47] __cfg80211_ibss_joined+0x419/0x530 [ 49.796495][ T47] ? rwlock_bug.part.0+0x90/0x90 [ 49.801442][ T47] ? __cfg80211_clear_ibss+0xf30/0xf30 [ 49.806911][ T47] ? do_raw_spin_unlock+0x171/0x230 [ 49.812122][ T47] ? _raw_spin_unlock_irqrestore+0x50/0x70 [ 49.817952][ T47] cfg80211_process_wdev_events+0x3db/0x5b0 [ 49.823866][ T47] cfg80211_process_rdev_events+0x9b/0x120 [ 49.829685][ T47] cfg80211_event_work+0x27/0x40 [ 49.834627][ T47] process_one_work+0x9bf/0x1710 [ 49.839580][ T47] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 49.844967][ T47] ? rwlock_bug.part.0+0x90/0x90 [ 49.849933][ T47] worker_thread+0x665/0x1080 [ 49.854627][ T47] ? process_one_work+0x1710/0x1710 [ 49.859951][ T47] kthread+0x2e4/0x3a0 [ 49.864031][ T47] ? kthread_complete_and_exit+0x40/0x40 [ 49.869675][ T47] ret_from_fork+0x1f/0x30 [ 49.874130][ T47] [ 49.877317][ T47] Kernel Offset: disabled [ 49.881637][ T47] Rebooting in 86400 seconds.. syzkaller build log: go env (err=) GO111MODULE="auto" GOARCH="amd64" GOBIN="" GOCACHE="/syzkaller/.cache/go-build" GOENV="/syzkaller/.config/go/env" GOEXE="" GOEXPERIMENT="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/syzkaller/jobs/linux/gopath/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/syzkaller/jobs/linux/gopath" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/usr/local/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GOVCS="" GOVERSION="go1.17" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build3642785635=/tmp/go-build -gno-record-gcc-switches" git status (err=) HEAD detached at 1bf9a662c nothing to commit, working tree clean go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./sys/syz-sysgen make .descriptions bin/syz-sysgen touch .descriptions GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=1bf9a662c66aa432ff2fe3bf2562578cef626c09 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20201113-153758'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzzer github.com/google/syzkaller/syz-fuzzer GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=1bf9a662c66aa432ff2fe3bf2562578cef626c09 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20201113-153758'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=1bf9a662c66aa432ff2fe3bf2562578cef626c09 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20201113-153758'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-stress github.com/google/syzkaller/tools/syz-stress mkdir -p ./bin/linux_amd64 gcc -o ./bin/linux_amd64/syz-executor executor/executor.cc \ -m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wframe-larger-than=16384 -static -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \ -DHOSTGOOS_linux=1 -DGIT_REVISION=\"1bf9a662c66aa432ff2fe3bf2562578cef626c09\"