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: 0 PID: 9 at net/wireless/wext-core.c:623 wireless_send_event+0xab5/0xca0 net/wireless/wext-core.c:623 Modules linked in: CPU: 0 PID: 9 Comm: kworker/u4:0 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:ffffc900000e7ae8 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888011a70000 RSI: ffffffff81620008 RDI: fffff5200001cf4f RBP: ffff88806d7dc3c0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 7720676e696e6e6d R12: 0000000000000010 R13: ffff88806d7dc500 R14: ffff88802712802c R15: ffff888027128034 FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000538978 CR3: 000000007e8bd000 CR4: 00000000003506f0 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.0.219' (ECDSA) to the list of known hosts. 2022/09/27 00:30:41 fuzzer started 2022/09/27 00:30:41 connecting to host at 10.128.0.169:42305 2022/09/27 00:30:41 checking machine... 2022/09/27 00:30:41 checking revisions... 2022/09/27 00:30:41 testing simple program... syzkaller login: [ 49.336026][ T3613] Bluetooth: hci0: unexpected cc 0x0c03 length: 249 > 1 [ 49.343626][ T3613] Bluetooth: hci0: unexpected cc 0x1003 length: 249 > 9 [ 49.351476][ T3613] Bluetooth: hci0: unexpected cc 0x1001 length: 249 > 9 [ 49.359239][ T3613] Bluetooth: hci0: unexpected cc 0x0c23 length: 249 > 4 [ 49.366965][ T3613] Bluetooth: hci0: unexpected cc 0x0c25 length: 249 > 3 [ 49.374387][ T3613] Bluetooth: hci0: unexpected cc 0x0c38 length: 249 > 2 [ 49.382132][ T3611] Bluetooth: hci0: HCI_REQ-0x0c1a [ 49.437723][ T3611] chnl_net:caif_netlink_parms(): no params data found [ 49.471278][ T3611] bridge0: port 1(bridge_slave_0) entered blocking state [ 49.478473][ T3611] bridge0: port 1(bridge_slave_0) entered disabled state [ 49.486468][ T3611] device bridge_slave_0 entered promiscuous mode [ 49.494321][ T3611] bridge0: port 2(bridge_slave_1) entered blocking state [ 49.501701][ T3611] bridge0: port 2(bridge_slave_1) entered disabled state [ 49.509543][ T3611] device bridge_slave_1 entered promiscuous mode [ 49.526860][ T3611] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 49.537995][ T3611] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 49.556765][ T3611] team0: Port device team_slave_0 added [ 49.563713][ T3611] team0: Port device team_slave_1 added [ 49.578344][ T3611] batman_adv: batadv0: Adding interface: batadv_slave_0 [ 49.585550][ 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. [ 49.613036][ T3611] batman_adv: batadv0: Not using interface batadv_slave_0 (retrying later): interface not active [ 49.624696][ T3611] batman_adv: batadv0: Adding interface: batadv_slave_1 [ 49.631966][ 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. [ 49.658252][ T3611] batman_adv: batadv0: Not using interface batadv_slave_1 (retrying later): interface not active [ 49.680069][ T3611] device hsr_slave_0 entered promiscuous mode [ 49.686727][ T3611] device hsr_slave_1 entered promiscuous mode [ 49.740266][ T3611] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 49.749339][ T3611] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 49.758063][ T3611] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 49.767453][ T3611] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 49.782531][ T3611] bridge0: port 2(bridge_slave_1) entered blocking state [ 49.790243][ T3611] bridge0: port 2(bridge_slave_1) entered forwarding state [ 49.797529][ T3611] bridge0: port 1(bridge_slave_0) entered blocking state [ 49.804750][ T3611] bridge0: port 1(bridge_slave_0) entered forwarding state [ 49.835695][ T3611] 8021q: adding VLAN 0 to HW filter on device bond0 [ 49.846791][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): veth0: link becomes ready [ 49.856214][ T15] bridge0: port 1(bridge_slave_0) entered disabled state [ 49.864480][ T15] bridge0: port 2(bridge_slave_1) entered disabled state [ 49.872741][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready [ 49.883476][ T3611] 8021q: adding VLAN 0 to HW filter on device team0 [ 49.893596][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_0: link becomes ready [ 49.902286][ T15] bridge0: port 1(bridge_slave_0) entered blocking state [ 49.909590][ T15] bridge0: port 1(bridge_slave_0) entered forwarding state [ 49.920435][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): bridge_slave_1: link becomes ready [ 49.928756][ T23] bridge0: port 2(bridge_slave_1) entered blocking state [ 49.935859][ T23] bridge0: port 2(bridge_slave_1) entered forwarding state [ 49.951538][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_0: link becomes ready [ 49.966903][ T3611] hsr0: Slave A (hsr_slave_0) is not up; please bring it up to get a fully working HSR network [ 49.978014][ T3611] hsr0: Slave B (hsr_slave_1) is not up; please bring it up to get a fully working HSR network [ 49.990285][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): team0: link becomes ready [ 49.998037][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): team_slave_1: link becomes ready [ 50.007406][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_0: link becomes ready [ 50.015683][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): hsr_slave_1: link becomes ready [ 50.031172][ T3611] 8021q: adding VLAN 0 to HW filter on device batadv0 [ 50.039893][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan0: link becomes ready [ 50.047400][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): vxcan1: link becomes ready [ 50.055365][ T15] IPv6: ADDRCONF(NETDEV_CHANGE): hsr0: link becomes ready [ 50.158045][ T3611] device veth0_vlan entered promiscuous mode [ 50.165125][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_virt_wifi: link becomes ready [ 50.174108][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_vlan: link becomes ready [ 50.183294][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): vlan0: link becomes ready [ 50.191683][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready [ 50.203217][ T3611] device veth1_vlan entered promiscuous mode [ 50.217046][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan0: link becomes ready [ 50.225796][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): macvlan1: link becomes ready [ 50.234059][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_macvtap: link becomes ready [ 50.244981][ T3611] device veth0_macvtap entered promiscuous mode [ 50.253437][ T3611] device veth1_macvtap entered promiscuous mode [ 50.267314][ T3611] batman_adv: batadv0: Interface activated: batadv_slave_0 [ 50.274974][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): veth0_to_batadv: link becomes ready [ 50.284758][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): macvtap0: link becomes ready [ 50.295379][ T3611] batman_adv: batadv0: Interface activated: batadv_slave_1 [ 50.303422][ T3622] IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready [ 50.313818][ T3611] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 50.323224][ T3611] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 50.332277][ T3611] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 50.341747][ T3611] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 50.364251][ T3611] ieee80211 phy3: Selected rate control algorithm 'minstrel_ht' [ 50.381546][ T9] wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 50.382745][ T3611] ieee80211 phy4: Selected rate control algorithm 'minstrel_ht' [ 50.392940][ T9] wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 50.406815][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [ 50.407022][ T9] ------------[ cut here ]------------ [ 50.423082][ T12] wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 [ 50.423927][ T9] memcpy: detected field-spanning write (size 16) of single field "&compat_event->pointer" at net/wireless/wext-core.c:623 (size 4) [ 50.432542][ T12] wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 [ 50.447722][ T9] WARNING: CPU: 0 PID: 9 at net/wireless/wext-core.c:623 wireless_send_event+0xab5/0xca0 [ 50.463639][ T9] Modules linked in: [ 50.467935][ T23] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready [ 50.467970][ T9] CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 [ 50.500460][ T9] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 50.513622][ T9] Workqueue: cfg80211 cfg80211_event_work [ 50.519495][ T9] RIP: 0010:wireless_send_event+0xab5/0xca0 [ 50.525967][ T9] 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 [ 50.554930][ T9] RSP: 0018:ffffc900000e7ae8 EFLAGS: 00010282 2022/09/27 00:30:44 building call list... [ 50.579538][ T9] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 50.595961][ T9] RDX: ffff888011a70000 RSI: ffffffff81620008 RDI: fffff5200001cf4f [ 50.619525][ T9] RBP: ffff88806d7dc3c0 R08: 0000000000000005 R09: 0000000000000000 [ 50.627923][ T9] R10: 0000000080000000 R11: 7720676e696e6e6d R12: 0000000000000010 [ 50.655567][ T9] R13: ffff88806d7dc500 R14: ffff88802712802c R15: ffff888027128034 [ 50.679241][ T9] FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 [ 50.688223][ T9] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 50.702829][ T9] CR2: 0000000000538978 CR3: 000000007e8bd000 CR4: 00000000003506f0 [ 50.711059][ T9] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 50.719178][ T9] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 50.727403][ T9] Call Trace: [ 50.731028][ T9] [ 50.734290][ T9] ? rtnetlink_ifinfo_prep+0x410/0x410 [ 50.740301][ T9] ? cfg80211_upload_connect_keys+0x4a/0xa30 [ 50.746378][ T9] __cfg80211_ibss_joined+0x419/0x530 [ 50.752364][ T9] ? rwlock_bug.part.0+0x90/0x90 [ 50.757355][ T9] ? __cfg80211_clear_ibss+0xf30/0xf30 [ 50.762872][ T9] ? do_raw_spin_unlock+0x171/0x230 [ 50.768193][ T9] ? _raw_spin_unlock_irqrestore+0x50/0x70 [ 50.775206][ T9] cfg80211_process_wdev_events+0x3db/0x5b0 [ 50.781354][ T9] cfg80211_process_rdev_events+0x9b/0x120 [ 50.787221][ T9] cfg80211_event_work+0x27/0x40 [ 50.792607][ T9] process_one_work+0x9bf/0x1710 [ 50.797728][ T9] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 50.803978][ T9] ? rwlock_bug.part.0+0x90/0x90 [ 50.808983][ T9] worker_thread+0x665/0x1080 [ 50.809401][ T36] netdevsim netdevsim0 netdevsim3 (unregistering): unset [1, 0] type 2 family 0 port 6081 - 0 [ 50.824673][ T9] ? process_one_work+0x1710/0x1710 [ 50.830285][ T9] kthread+0x2e4/0x3a0 [ 50.834410][ T9] ? kthread_complete_and_exit+0x40/0x40 [ 50.840404][ T9] ret_from_fork+0x1f/0x30 [ 50.845007][ T9] [ 50.848337][ T9] Kernel panic - not syncing: panic_on_warn set ... [ 50.855142][ T9] CPU: 0 PID: 9 Comm: kworker/u4:0 Not tainted 6.0.0-rc6-next-20220923-syzkaller #0 [ 50.864801][ T9] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022 [ 50.874886][ T9] Workqueue: cfg80211 cfg80211_event_work [ 50.880772][ T9] Call Trace: [ 50.884074][ T9] [ 50.887023][ T9] dump_stack_lvl+0xcd/0x134 [ 50.891733][ T9] panic+0x2c8/0x622 [ 50.895652][ T9] ? panic_print_sys_info.part.0+0x110/0x110 [ 50.901756][ T9] ? __warn.cold+0x24b/0x350 [ 50.906388][ T9] ? wireless_send_event+0xab5/0xca0 [ 50.911725][ T9] __warn.cold+0x25c/0x350 [ 50.916186][ T9] ? wireless_send_event+0xab5/0xca0 [ 50.921523][ T9] report_bug+0x1bc/0x210 [ 50.925993][ T9] handle_bug+0x3c/0x60 [ 50.930183][ T9] exc_invalid_op+0x14/0x40 [ 50.934731][ T9] asm_exc_invalid_op+0x16/0x20 [ 50.939644][ T9] RIP: 0010:wireless_send_event+0xab5/0xca0 [ 50.945571][ T9] 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 [ 50.965394][ T9] RSP: 0018:ffffc900000e7ae8 EFLAGS: 00010282 [ 50.971508][ T9] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 50.979597][ T9] RDX: ffff888011a70000 RSI: ffffffff81620008 RDI: fffff5200001cf4f [ 50.987658][ T9] RBP: ffff88806d7dc3c0 R08: 0000000000000005 R09: 0000000000000000 [ 50.995650][ T9] R10: 0000000080000000 R11: 7720676e696e6e6d R12: 0000000000000010 [ 51.004064][ T9] R13: ffff88806d7dc500 R14: ffff88802712802c R15: ffff888027128034 [ 51.012048][ T9] ? vprintk+0x88/0x90 [ 51.016310][ T9] ? wireless_send_event+0xab5/0xca0 [ 51.021792][ T9] ? rtnetlink_ifinfo_prep+0x410/0x410 [ 51.027357][ T9] ? cfg80211_upload_connect_keys+0x4a/0xa30 [ 51.033383][ T9] __cfg80211_ibss_joined+0x419/0x530 [ 51.038847][ T9] ? rwlock_bug.part.0+0x90/0x90 [ 51.043816][ T9] ? __cfg80211_clear_ibss+0xf30/0xf30 [ 51.049292][ T9] ? do_raw_spin_unlock+0x171/0x230 [ 51.054599][ T9] ? _raw_spin_unlock_irqrestore+0x50/0x70 [ 51.060524][ T9] cfg80211_process_wdev_events+0x3db/0x5b0 [ 51.066445][ T9] cfg80211_process_rdev_events+0x9b/0x120 [ 51.072281][ T9] cfg80211_event_work+0x27/0x40 [ 51.077225][ T9] process_one_work+0x9bf/0x1710 [ 51.082273][ T9] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 51.087658][ T9] ? rwlock_bug.part.0+0x90/0x90 [ 51.092618][ T9] worker_thread+0x665/0x1080 [ 51.097313][ T9] ? process_one_work+0x1710/0x1710 [ 51.102624][ T9] kthread+0x2e4/0x3a0 [ 51.106701][ T9] ? kthread_complete_and_exit+0x40/0x40 [ 51.112343][ T9] ret_from_fork+0x1f/0x30 [ 51.116789][ T9] [ 51.120099][ T9] Kernel Offset: disabled [ 51.124503][ T9] 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-build2320955666=/tmp/go-build -gno-record-gcc-switches" git status (err=) HEAD detached at 8bc4594f8 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=8bc4594f832068a30c0eff44d468311780057d1f -X 'github.com/google/syzkaller/prog.gitRevisionDate=20201031-102326'" "-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=8bc4594f832068a30c0eff44d468311780057d1f -X 'github.com/google/syzkaller/prog.gitRevisionDate=20201031-102326'" "-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=8bc4594f832068a30c0eff44d468311780057d1f -X 'github.com/google/syzkaller/prog.gitRevisionDate=20201031-102326'" "-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=\"8bc4594f832068a30c0eff44d468311780057d1f\"