ci2 starts bisection 2023-10-27 09:08:30.459093954 +0000 UTC m=+34802.947418011 bisecting cause commit starting from 35361bdac25a867d60abc3c01ee11782a7e2b0ed building syzkaller on bf285f0cf1f7863e0b0d17980de703fab89476bb ensuring issue is reproducible on original commit 35361bdac25a867d60abc3c01ee11782a7e2b0ed testing commit 35361bdac25a867d60abc3c01ee11782a7e2b0ed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 59acb918a522d0a99f45df9bb15a63d78293dbbf5d5a56d41503ab63243227f1 run #0: crashed: BUG: soft lockup in tc_modify_qdisc run #1: crashed: BUG: soft lockup in tc_modify_qdisc run #2: crashed: BUG: soft lockup in corrupted run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: soft lockup in tc_modify_qdisc run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: BUG: soft lockup in tc_modify_qdisc run #9: crashed: BUG: soft lockup in tc_modify_qdisc run #10: crashed: BUG: soft lockup in tc_modify_qdisc run #11: crashed: BUG: soft lockup in tc_modify_qdisc run #12: crashed: BUG: soft lockup in tc_modify_qdisc run #13: crashed: BUG: soft lockup in tc_modify_qdisc run #14: crashed: BUG: soft lockup in tc_modify_qdisc run #15: crashed: BUG: soft lockup in tc_modify_qdisc run #16: crashed: BUG: soft lockup in tc_modify_qdisc run #17: crashed: BUG: soft lockup in tc_modify_qdisc run #18: crashed: BUG: soft lockup in tc_modify_qdisc run #19: crashed: no output from test machine representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] check whether we can drop unnecessary instrumentation disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN], they are not needed testing commit 35361bdac25a867d60abc3c01ee11782a7e2b0ed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: becc973a953209f0d4a730024ff2a0af29d7d2a52bc362c9bb6ce8a2e6a5592e run #0: crashed: BUG: soft lockup in tc_modify_qdisc run #1: crashed: BUG: soft lockup in tc_modify_qdisc run #2: crashed: BUG: workqueue lockup run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: workqueue lockup run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: BUG: soft lockup in tc_modify_qdisc run #9: crashed: BUG: soft lockup in tc_modify_qdisc representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] the bug reproduces without the instrumentation disabling configs for [BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK UBSAN], they are not needed kconfig minimization: base=5179 full=6485 leaves diff=250 split chunks (needed=false): <250> split chunk #0 of len 250 into 5 parts testing without sub-chunk 1/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 35361bdac25a867d60abc3c01ee11782a7e2b0ed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cd06762f09ced4e0a41686817860a2b6869014e4f16ed23bfe3d16db83db720a run #0: crashed: BUG: soft lockup in tc_modify_qdisc run #1: crashed: BUG: soft lockup in tc_modify_qdisc run #2: crashed: BUG: soft lockup in tc_modify_qdisc run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: soft lockup in tc_modify_qdisc run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: BUG: soft lockup in tc_modify_qdisc run #9: crashed: no output from test machine representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK], they are not needed testing commit 35361bdac25a867d60abc3c01ee11782a7e2b0ed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c6430c277c3345c7fd2913a49ec9ba48f086112797e089437a7c3e9d3e81ad95 run #0: crashed: BUG: soft lockup in tc_modify_qdisc run #1: crashed: BUG: soft lockup in tc_modify_qdisc run #2: crashed: BUG: soft lockup in tc_modify_qdisc run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: soft lockup in tc_modify_qdisc run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: no output from test machine run #9: crashed: BUG: soft lockup in tc_modify_qdisc representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [LEAK UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 35361bdac25a867d60abc3c01ee11782a7e2b0ed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 204fc42e721398d4d8588e3468d1c8073a25f7fab9ad3b2e790b96a8a3c2b67a run #0: crashed: BUG: soft lockup in tc_modify_qdisc run #1: crashed: BUG: soft lockup in tc_modify_qdisc run #2: crashed: BUG: soft lockup in tc_modify_qdisc run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: soft lockup in tc_modify_qdisc run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: BUG: soft lockup in tc_modify_qdisc run #9: crashed: no output from test machine representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG KASAN], they are not needed testing commit 35361bdac25a867d60abc3c01ee11782a7e2b0ed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 80e011dae0e21806e38cfa10233a1466e0466b05e158d4daa98253e7acc4cd41 all runs: crashed: BUG: soft lockup in tc_modify_qdisc representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [UBSAN BUG KASAN LOCKDEP ATOMIC_SLEEP LEAK], they are not needed testing commit 35361bdac25a867d60abc3c01ee11782a7e2b0ed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 failed building 35361bdac25a867d60abc3c01ee11782a7e2b0ed: net/socket.c:1225: undefined reference to `wext_handle_ioctl' net/socket.c:3420: undefined reference to `compat_wext_handle_ioctl' net/core/net-procfs.c:329: undefined reference to `wext_proc_init' net/core/net-procfs.c:345: undefined reference to `wext_proc_exit' minimized to 50 configs; suspects: [HID_ZEROPLUS USB_NET_CDC_MBIM USB_NET_CDC_SUBSET USB_NET_CDC_SUBSET_ENABLE USB_NET_DM9601 USB_NET_GL620A USB_NET_MCS7830 USB_NET_NET1080 USB_NET_PLUSB USB_NET_RNDIS_HOST USB_NET_SMSC75XX USB_NET_SMSC95XX USB_NET_SR9700 USB_NET_SR9800 USB_NET_ZAURUS USB_OHCI_HCD USB_OHCI_HCD_PCI USB_OHCI_HCD_PLATFORM USB_OTG USB_OTG_FSM USB_PRINTER USB_SERIAL_GENERIC USB_SERIAL_PL2303 USB_STORAGE_ALAUDA USB_STORAGE_CYPRESS_ATACB USB_STORAGE_DATAFAB USB_STORAGE_FREECOM USB_STORAGE_ISD200 USB_STORAGE_JUMPSHOT USB_STORAGE_KARMA USB_STORAGE_ONETOUCH USB_STORAGE_SDDR09 USB_STORAGE_SDDR55 USB_STORAGE_USBAT USB_TRANCEVIBRATOR USB_U_AUDIO USB_U_ETHER USB_U_SERIAL USB_WDM WLAN WLAN_VENDOR_ATH WLAN_VENDOR_ATMEL WLAN_VENDOR_BROADCOM WLAN_VENDOR_INTERSIL WLAN_VENDOR_MARVELL WLAN_VENDOR_MEDIATEK WLAN_VENDOR_MICROCHIP WLAN_VENDOR_PURELIFI WLAN_VENDOR_RALINK WLAN_VENDOR_REALTEK WLAN_VENDOR_RSI WLAN_VENDOR_SILABS WLAN_VENDOR_ZYDAS X86_X32_ABI ZEROPLUS_FF] disabling configs for [LOCKDEP ATOMIC_SLEEP LEAK UBSAN BUG KASAN], they are not needed picked [v6.1.43 v6.1.42 v6.1.22 v6.1 v6.0 v5.19 v5.17 v5.15 v5.13 v5.11 v5.9 v5.6 v5.3 v5.0 v4.19] out of 67 release tags testing release v6.1.43 testing commit 52a953d0934b17a88f403b4135eb3cdf83d19f91 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 025e802418b0cd9a2118d0aa76274c6d28354b8c5b1b9c62094d88ab6f32b348 all runs: crashed: BUG: soft lockup in tc_modify_qdisc representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] testing release v6.1.42 testing commit d2a6dc4eaf6d50ba32a9b39b4c6ec713a92072ab gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2f530362d37e6eaed422d030286be9a7fbca2094068b6dcadfe60f9ba5573b28 run #0: crashed: BUG: workqueue lockup run #1: crashed: BUG: soft lockup in tc_modify_qdisc run #2: crashed: BUG: soft lockup in tc_modify_qdisc run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: soft lockup in tc_modify_qdisc run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: no output from test machine run #9: crashed: no output from test machine representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG UNKNOWN] testing release v6.1.22 testing commit 3b29299e5f604550faf3eff811d6cd60b4c6cae6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bcc5f9dc44c94acdbeaf69dd1843ea1719529817a518bbb37a95de7c118842e2 all runs: OK false negative chance: 0.000 # git bisect start d2a6dc4eaf6d50ba32a9b39b4c6ec713a92072ab 3b29299e5f604550faf3eff811d6cd60b4c6cae6 Bisecting: 1818 revisions left to test after this (roughly 11 steps) [9c744c6ff238fa6f45241fbe326c38ae14025d5b] power: supply: sbs-charger: Fix INHIBITED bit for Status reg testing commit 9c744c6ff238fa6f45241fbe326c38ae14025d5b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2cfb4d6c295e1a93d6af1924079b8aa8e8809cd27bf0a4502a6447b4a1a0ec46 all runs: OK false negative chance: 0.000 # git bisect good 9c744c6ff238fa6f45241fbe326c38ae14025d5b Bisecting: 909 revisions left to test after this (roughly 10 steps) [09740fa9827cfbaf23ecd041e602a426f99be888] wifi: ath9k: don't allow to overwrite ENDPOINT0 attributes testing commit 09740fa9827cfbaf23ecd041e602a426f99be888 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 439157c76a401822901c11753b196af856dfb16607d4b51a810d46d8213d8f58 all runs: crashed: BUG: soft lockup in tc_modify_qdisc representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] # git bisect bad 09740fa9827cfbaf23ecd041e602a426f99be888 Bisecting: 454 revisions left to test after this (roughly 9 steps) [0cdb593c2fe94c874fb8a40a4e237211ca18ab7e] irqchip/gic-v3: Disable pseudo NMIs on Mediatek devices w/ firmware issues testing commit 0cdb593c2fe94c874fb8a40a4e237211ca18ab7e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c5b7a1ba4e48b8a7557789dae3805a13107a05bee3d997621d6adeaacd2efd4a all runs: OK false negative chance: 0.000 # git bisect good 0cdb593c2fe94c874fb8a40a4e237211ca18ab7e Bisecting: 227 revisions left to test after this (roughly 8 steps) [43489b2cba5affb602883ae137ebe4c6aa32d331] ieee802154: hwsim: Fix possible memory leaks testing commit 43489b2cba5affb602883ae137ebe4c6aa32d331 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2a33af58045238cc490d2b70bdca75ae7a2e7b475aba432cfce6ce53dbf9ff80 all runs: OK false negative chance: 0.000 # git bisect good 43489b2cba5affb602883ae137ebe4c6aa32d331 Bisecting: 113 revisions left to test after this (roughly 7 steps) [c4b31d1b694e101cae7469a20762647185e11721] execve: expand new process stack manually ahead of time testing commit c4b31d1b694e101cae7469a20762647185e11721 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: bf901bc92fe5087b4a99929e8e81ef0f727dad11ee50f07d20fb01ea1a85f4c9 run #0: crashed: BUG: soft lockup in tc_modify_qdisc run #1: crashed: BUG: workqueue lockup run #2: crashed: BUG: soft lockup in tc_modify_qdisc run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: soft lockup in tc_modify_qdisc run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: BUG: soft lockup in tc_modify_qdisc run #9: crashed: no output from test machine representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] # git bisect bad c4b31d1b694e101cae7469a20762647185e11721 Bisecting: 56 revisions left to test after this (roughly 6 steps) [a2c3e9bfc02c01cfe7700741fe1c60af731e2b2e] nfcsim.c: Fix error checking for debugfs_create_dir testing commit a2c3e9bfc02c01cfe7700741fe1c60af731e2b2e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0b24fd4a791cacf42d9110f333c5808a787db6ab4192b122ecf2ccdea366ffc6 all runs: crashed: BUG: soft lockup in tc_modify_qdisc representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] # git bisect bad a2c3e9bfc02c01cfe7700741fe1c60af731e2b2e Bisecting: 28 revisions left to test after this (roughly 5 steps) [f5b6dbec26f1b58d9a27cf5180e1fb2f1219f52a] be2net: Extend xmit workaround to BE3 chip testing commit f5b6dbec26f1b58d9a27cf5180e1fb2f1219f52a gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 821414325ebcf8c0eb405bc578cb851096b95c913f3f6791570134cfcde8dad3 all runs: OK false negative chance: 0.000 # git bisect good f5b6dbec26f1b58d9a27cf5180e1fb2f1219f52a Bisecting: 14 revisions left to test after this (roughly 4 steps) [2d580c73afdcd6f1e95ef6f95b3596a266c92bf3] selftests: forwarding: Fix race condition in mirror installation testing commit 2d580c73afdcd6f1e95ef6f95b3596a266c92bf3 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 57cd0436c2fd79088b67fb473e7a15005caaa4f12dd38fa6181729f729f464f4 all runs: OK false negative chance: 0.000 # git bisect good 2d580c73afdcd6f1e95ef6f95b3596a266c92bf3 Bisecting: 7 revisions left to test after this (roughly 3 steps) [8592ada80ea52f7d4ce283da6624fc372a31b455] gpio: sifive: add missing check for platform_get_irq testing commit 8592ada80ea52f7d4ce283da6624fc372a31b455 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 05df1d8b3cf365ad7d5506ef82712a287f0634a8b3156ca9c9ff8105a25934dc run #0: crashed: BUG: soft lockup in tc_modify_qdisc run #1: crashed: BUG: soft lockup in tc_modify_qdisc run #2: crashed: BUG: soft lockup in tc_modify_qdisc run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: soft lockup in tc_modify_qdisc run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: BUG: soft lockup in tc_modify_qdisc run #9: crashed: no output from test machine representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] # git bisect bad 8592ada80ea52f7d4ce283da6624fc372a31b455 Bisecting: 3 revisions left to test after this (roughly 2 steps) [ec3d0f12e728b1d9abbeb2c176ed2a277b6477d7] revert "net: align SO_RCVMARK required privileges with SO_MARK" testing commit ec3d0f12e728b1d9abbeb2c176ed2a277b6477d7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a81c50ae36b37dc5fa73598dc000425273a7b945be5ce52404e55ac984481501 run #0: crashed: BUG: workqueue lockup run #1: crashed: BUG: workqueue lockup run #2: crashed: BUG: workqueue lockup run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: soft lockup in tc_modify_qdisc run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: BUG: soft lockup in tc_modify_qdisc run #9: crashed: BUG: soft lockup in tc_modify_qdisc representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG UNKNOWN] # git bisect bad ec3d0f12e728b1d9abbeb2c176ed2a277b6477d7 Bisecting: 0 revisions left to test after this (roughly 1 step) [b2e2f9c0939f990dc5daca0838c3a4456f0ba345] sch_netem: acquire qdisc lock in netem_change() testing commit b2e2f9c0939f990dc5daca0838c3a4456f0ba345 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5ffc90e053c0652d209b04be33bcd54583a285a15df7b26a3a96361c8fc9f5cf run #0: crashed: BUG: soft lockup in tc_modify_qdisc run #1: crashed: BUG: soft lockup in tc_modify_qdisc run #2: crashed: BUG: soft lockup in tc_modify_qdisc run #3: crashed: BUG: soft lockup in tc_modify_qdisc run #4: crashed: BUG: soft lockup in tc_modify_qdisc run #5: crashed: BUG: soft lockup in tc_modify_qdisc run #6: crashed: BUG: soft lockup in tc_modify_qdisc run #7: crashed: BUG: soft lockup in tc_modify_qdisc run #8: crashed: no output from test machine run #9: crashed: BUG: soft lockup in tc_modify_qdisc representative crash: BUG: soft lockup in tc_modify_qdisc, types: [HANG] # git bisect bad b2e2f9c0939f990dc5daca0838c3a4456f0ba345 Bisecting: 0 revisions left to test after this (roughly 0 steps) [0434277b72a48d063124af4ff7602bdc96881f3f] platform/x86/amd/pmf: Register notify handler only if SPS is enabled testing commit 0434277b72a48d063124af4ff7602bdc96881f3f gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ff15b7ae480364a5021b4ad797c06c36017829affce7c189bccd26668e5d3035 all runs: OK false negative chance: 0.000 # git bisect good 0434277b72a48d063124af4ff7602bdc96881f3f b2e2f9c0939f990dc5daca0838c3a4456f0ba345 is the first bad commit commit b2e2f9c0939f990dc5daca0838c3a4456f0ba345 Author: Eric Dumazet Date: Tue Jun 20 18:44:25 2023 +0000 sch_netem: acquire qdisc lock in netem_change() [ Upstream commit 2174a08db80d1efeea382e25ac41c4e7511eb6d6 ] syzbot managed to trigger a divide error [1] in netem. It could happen if q->rate changes while netem_enqueue() is running, since q->rate is read twice. It turns out netem_change() always lacked proper synchronization. [1] divide error: 0000 [#1] SMP KASAN CPU: 1 PID: 7867 Comm: syz-executor.1 Not tainted 6.1.30-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:div64_u64 include/linux/math64.h:69 [inline] RIP: 0010:packet_time_ns net/sched/sch_netem.c:357 [inline] RIP: 0010:netem_enqueue+0x2067/0x36d0 net/sched/sch_netem.c:576 Code: 89 e2 48 69 da 00 ca 9a 3b 42 80 3c 28 00 4c 8b a4 24 88 00 00 00 74 0d 4c 89 e7 e8 c3 4f 3b fd 48 8b 4c 24 18 48 89 d8 31 d2 <49> f7 34 24 49 01 c7 4c 8b 64 24 48 4d 01 f7 4c 89 e3 48 c1 eb 03 RSP: 0018:ffffc9000dccea60 EFLAGS: 00010246 RAX: 000001a442624200 RBX: 000001a442624200 RCX: ffff888108a4f000 RDX: 0000000000000000 RSI: 000000000000070d RDI: 000000000000070d RBP: ffffc9000dcceb90 R08: ffffffff849c5e26 R09: fffffbfff10e1297 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888108a4f358 R13: dffffc0000000000 R14: 0000001a8cd9a7ec R15: 0000000000000000 FS: 00007fa73fe18700(0000) GS:ffff8881f6b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa73fdf7718 CR3: 000000011d36e000 CR4: 0000000000350ee0 Call Trace: [] __dev_xmit_skb net/core/dev.c:3931 [inline] [] __dev_queue_xmit+0xcf5/0x3370 net/core/dev.c:4290 [] dev_queue_xmit include/linux/netdevice.h:3030 [inline] [] neigh_hh_output include/net/neighbour.h:531 [inline] [] neigh_output include/net/neighbour.h:545 [inline] [] ip_finish_output2+0xb92/0x10d0 net/ipv4/ip_output.c:235 [] __ip_finish_output+0xc3/0x2b0 [] ip_finish_output+0x31/0x2a0 net/ipv4/ip_output.c:323 [] NF_HOOK_COND include/linux/netfilter.h:298 [inline] [] ip_output+0x224/0x2a0 net/ipv4/ip_output.c:437 [] dst_output include/net/dst.h:444 [inline] [] ip_local_out net/ipv4/ip_output.c:127 [inline] [] __ip_queue_xmit+0x1425/0x2000 net/ipv4/ip_output.c:542 [] ip_queue_xmit+0x4c/0x70 net/ipv4/ip_output.c:556 Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reported-by: syzbot Signed-off-by: Eric Dumazet Cc: Stephen Hemminger Cc: Jamal Hadi Salim Cc: Cong Wang Cc: Jiri Pirko Reviewed-by: Jamal Hadi Salim Reviewed-by: Simon Horman Link: https://lore.kernel.org/r/20230620184425.1179809-1-edumazet@google.com Signed-off-by: Paolo Abeni Signed-off-by: Sasha Levin net/sched/sch_netem.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) accumulated error probability: 0.00 culprit signature: 5ffc90e053c0652d209b04be33bcd54583a285a15df7b26a3a96361c8fc9f5cf parent signature: ff15b7ae480364a5021b4ad797c06c36017829affce7c189bccd26668e5d3035 revisions tested: 21, total time: 4h36m21.505865334s (build: 1h14m45.798357981s, test: 3h14m29.365972276s) first bad commit: b2e2f9c0939f990dc5daca0838c3a4456f0ba345 sch_netem: acquire qdisc lock in netem_change() recipients (to): ["edumazet@google.com" "jhs@mojatatu.com" "pabeni@redhat.com" "sashal@kernel.org" "simon.horman@corigine.com"] recipients (cc): [] crash: BUG: soft lockup in tc_modify_qdisc RBP: 00007fa6546c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa65479bf80 R15: 00007ffc02ba0b28 watchdog: BUG: soft lockup - CPU#0 stuck for 225s! [syz-executor.0:449] Modules linked in: CPU: 0 PID: 449 Comm: syz-executor.0 Not tainted 6.1.35-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline] RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline] RIP: 0010:kvm_wait+0x75/0x80 arch/x86/kernel/kvm.c:1066 Code: 75 14 0f b6 07 40 38 f0 75 ce 66 90 0f 00 2d 50 22 34 01 f4 eb c2 fa 0f b6 07 40 38 f0 75 0d 66 90 0f 00 2d 3b 22 34 01 fb f4 ac fb eb a9 e8 c1 7d e1 00 90 55 48 89 e5 53 48 63 c7 48 8b 04 RSP: 0018:ffffc90000787528 EFLAGS: 00000246 RAX: 0000000000000003 RBX: 0000000000040000 RCX: 0000000000000000 RDX: 0000000000000071 RSI: 0000000000000003 RDI: ffff88810c3872ac RBP: ffffc90000787538 R08: 0000000000000010 R09: ffff88810f3e1e20 R10: 0000000000000001 R11: 00000000ffffffff R12: ffff88823fff1740 R13: ffff88810c3872ac R14: ffff888237c20001 R15: ffff888237c2b600 FS: 00007fa6553fe6c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200002c0 CR3: 0000000114c58000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: pv_wait arch/x86/include/asm/paravirt.h:603 [inline] pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:470 [inline] __pv_queued_spin_lock_slowpath+0x292/0x450 kernel/locking/qspinlock.c:511 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:591 [inline] queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline] queued_spin_lock include/asm-generic/qspinlock.h:114 [inline] do_raw_spin_lock include/linux/spinlock.h:186 [inline] __raw_spin_lock_bh include/linux/spinlock_api_smp.h:127 [inline] _raw_spin_lock_bh+0x36/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:355 [inline] get_dist_table+0xa3/0xd0 net/sched/sch_netem.c:798 netem_change+0x377/0x7e0 net/sched/sch_netem.c:985 netem_init+0x36/0x60 net/sched/sch_netem.c:1072 qdisc_create+0x2f0/0x590 net/sched/sch_api.c:1314 tc_modify_qdisc+0x25e/0x7d0 rtnetlink_rcv_msg+0x2a6/0x460 net/core/rtnetlink.c:6097 netlink_rcv_skb+0xf4/0x120 net/netlink/af_netlink.c:2524 rtnetlink_rcv+0x10/0x20 net/core/rtnetlink.c:6115 netlink_unicast_kernel net/netlink/af_netlink.c:1328 [inline] netlink_unicast+0x288/0x380 net/netlink/af_netlink.c:1354 netlink_sendmsg+0x38b/0x420 net/netlink/af_netlink.c:1902 sock_sendmsg_nosec net/socket.c:716 [inline] sock_sendmsg net/socket.c:736 [inline] ____sys_sendmsg+0x181/0x220 net/socket.c:2482 ___sys_sendmsg+0x28f/0x2d0 net/socket.c:2536 __sys_sendmsg net/socket.c:2565 [inline] __do_sys_sendmsg net/socket.c:2574 [inline] __se_sys_sendmsg+0xf5/0x130 net/socket.c:2572 __x64_sys_sendmsg+0x18/0x20 net/socket.c:2572 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fa65467cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa6553fe0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa65479bf80 RCX: 00007fa65467cae9 RDX: 0000000000000000 RSI: 00000000200002c0 RDI: 0000000000000004 RBP: 00007fa6546c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fa65479bf80 R15: 00007ffc02ba0b28 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 451 Comm: kworker/u4:3 Not tainted 6.1.35-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Workqueue: events_unbound toggle_allocation_gate RIP: 0010:csd_lock_wait kernel/smp.c:442 [inline] RIP: 0010:smp_call_function_many_cond+0x2b9/0x2f0 kernel/smp.c:987 Code: 89 df e8 ca 27 47 00 39 05 1c 5d da 01 76 27 49 8b 0c 24 48 63 d0 48 8b 14 d5 00 28 cc 82 f7 44 0a 08 01 00 00 00 74 cb f3 90 <8b> 74 11 08 40 f6 c6 01 75 f4 eb bd 65 48 8b 04 25 28 00 00 00 48 RSP: 0018:ffffc9000078fc40 EFLAGS: 00000202 RAX: 0000000000000000 RBX: ffff888237d2ba08 RCX: 000000000002fe40 RDX: ffff888237c00000 RSI: 0000000000000011 RDI: ffff888237d2ba08 RBP: ffffc9000078fcc8 R08: 0000000000000000 R09: ffff888237d2ba10 R10: 0000000000000007 R11: 755f73746e657665 R12: ffff888237d2ba00 R13: 0000000000000001 R14: 0000000000000246 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbd586c5000 CR3: 0000000002e0b000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: on_each_cpu_cond_mask+0x3b/0x70 kernel/smp.c:1155 on_each_cpu include/linux/smp.h:71 [inline] text_poke_sync arch/x86/kernel/alternative.c:1316 [inline] text_poke_bp_batch+0xab/0x270 arch/x86/kernel/alternative.c:1516 text_poke_flush arch/x86/kernel/alternative.c:1707 [inline] text_poke_finish+0x1a/0x30 arch/x86/kernel/alternative.c:1714 arch_jump_label_transform_apply+0x15/0x30 arch/x86/kernel/jump_label.c:146 __jump_label_update+0xc7/0xe0 kernel/jump_label.c:455 jump_label_update+0xd3/0xf0 kernel/jump_label.c:801 static_key_enable_cpuslocked kernel/jump_label.c:177 [inline] static_key_enable+0x3a/0x60 kernel/jump_label.c:190 toggle_allocation_gate+0x3d/0x220 mm/kfence/core.c:804 process_one_work+0x1b2/0x380 kernel/workqueue.c:2289 worker_thread+0x21f/0x380 kernel/workqueue.c:2436 kthread+0xda/0xf0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306