ci starts bisection 2023-06-08 16:17:50.735168008 +0000 UTC m=+111183.023594922 bisecting cause commit starting from 5f63595ebd82f56a2dd36ca013dd7f5ff2e2416a building syzkaller on 7086cdb95114c57c35cee9db87b80d4225d8795d ensuring issue is reproducible on original commit 5f63595ebd82f56a2dd36ca013dd7f5ff2e2416a testing commit 5f63595ebd82f56a2dd36ca013dd7f5ff2e2416a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: eb5da466bfb716b22a3b1fd4a3dd844abbcf505a26754c2aadff4a9fb356e77a all runs: crashed: possible deadlock in static_key_slow_inc testing release v6.3 testing commit 457391b0380335d5e9a5babdec90ac53928b23b4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 59fa0cfa2472500d96c36cf6279f348291ac21720bddcd8583ecc73c8ba7363f all runs: crashed: possible deadlock in static_key_slow_inc testing release v6.2 testing commit c9c3395d5e3dcc6daee66c6908354d47bf98cb0c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: fd504af3fb440ccc22e7333b933b48f656aed61ae5db7c5cd204f6ce8715aa2d all runs: crashed: possible deadlock in static_key_slow_inc testing release v6.1 testing commit 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bb54a3dca44a0f73c7c67bfe9c35723066919d4b2f9484ef5788ba02a341e240 all runs: crashed: possible deadlock in static_key_slow_inc testing release v6.0 testing commit 4fe89d07dcc2804c8b562f6c7896a45643d34b2f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c4b82d2870de394a1261506bb754bb92f5729d50290128fe6652e906969fb491 all runs: OK # git bisect start 830b3c68c1fb1e9176028d02ef86f3cf76aa2476 4fe89d07dcc2804c8b562f6c7896a45643d34b2f Bisecting: 7514 revisions left to test after this (roughly 13 steps) [33e591dee915832c618cf68bb1058c8e7d296128] Merge tag 'phy-for-6.1' of git://git.kernel.org/pub/scm/linux/kernel/git/phy/linux-phy testing commit 33e591dee915832c618cf68bb1058c8e7d296128 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d1838f6d59a62455d8409f21b9456ea71bf08e396329cec14fb296828a7a3f61 all runs: OK # git bisect good 33e591dee915832c618cf68bb1058c8e7d296128 Bisecting: 3770 revisions left to test after this (roughly 12 steps) [de492c83cae0af72de370b9404aacda93dafcad5] prandom: remove unused functions testing commit de492c83cae0af72de370b9404aacda93dafcad5 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e8973b5218215fe748def9181fd6abaa350b0246a5675d0d09890845adc6813f all runs: boot failed: WARNING in cpumask_next_wrap # git bisect skip de492c83cae0af72de370b9404aacda93dafcad5 Bisecting: 3770 revisions left to test after this (roughly 12 steps) [8e77860c62b6eac8bb5b567efe6b8cd232d5f72f] cifs: drop the lease for cached directories on rmdir or rename testing commit 8e77860c62b6eac8bb5b567efe6b8cd232d5f72f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 61b2861882566c3f0bea7d8b066ed241272107c1a796bca23e85b91149c03776 all runs: boot failed: WARNING in __netif_set_xps_queue # git bisect skip 8e77860c62b6eac8bb5b567efe6b8cd232d5f72f Bisecting: 3770 revisions left to test after this (roughly 12 steps) [fcab9b441d2d0e08f55654a4adf2d51cd4680469] mm: remove EXPERIMENTAL flag for zswap testing commit fcab9b441d2d0e08f55654a4adf2d51cd4680469 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 122316af2b843e56f9334b448cf6081d99695e617a2a0545181da3402a4eb4a4 all runs: OK # git bisect good fcab9b441d2d0e08f55654a4adf2d51cd4680469 Bisecting: 3711 revisions left to test after this (roughly 12 steps) [f311d498be8f1aa49d5cfca0b18d6db4f77845b7] Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm testing commit f311d498be8f1aa49d5cfca0b18d6db4f77845b7 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 83e2fd0799f078ba966fb01d980a02d56536c581efcef6f296733cc719ca6c16 run #0: boot failed: can't ssh into the instance run #1: boot failed: WARNING in cpumask_next_wrap run #2: boot failed: WARNING in cpumask_next_wrap run #3: boot failed: WARNING in cpumask_next_wrap run #4: boot failed: WARNING in cpumask_next_wrap run #5: boot failed: WARNING in cpumask_next_wrap run #6: boot failed: WARNING in cpumask_next_wrap run #7: boot failed: WARNING in cpumask_next_wrap run #8: boot failed: WARNING in cpumask_next_wrap run #9: boot failed: WARNING in cpumask_next_wrap # git bisect skip f311d498be8f1aa49d5cfca0b18d6db4f77845b7 Bisecting: 3711 revisions left to test after this (roughly 12 steps) [4d1632151bde847230a0bd2318806380d309655f] leds: pca963: fix misleading indentation testing commit 4d1632151bde847230a0bd2318806380d309655f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 620a8ee2246d6ae929bad4344fdd988a354b6894a30bc4809ec51e079902747a run #0: boot failed: BUG: unable to handle kernel paging request in path_init run #1: boot failed: general protection fault in mm_alloc run #2: boot failed: general protection fault in netdev_queue_update_kobjects run #3: boot failed: WARNING: ODEBUG bug in __do_softirq run #4: boot failed: general protection fault in disk_uevent run #5: boot failed: general protection fault in netdev_queue_update_kobjects run #6: boot failed: general protection fault in really_probe run #7: boot failed: kernel BUG in __phys_addr run #8: boot failed: BUG: unable to handle kernel paging request in scsi_is_host_device run #9: boot failed: general protection fault in netdev_queue_update_kobjects # git bisect skip 4d1632151bde847230a0bd2318806380d309655f Bisecting: 3711 revisions left to test after this (roughly 12 steps) [61db3d7b99a367416e489ccf764cc5f9b00d62a1] net/mlx5: Fix FW tracer timestamp calculation testing commit 61db3d7b99a367416e489ccf764cc5f9b00d62a1 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d7ad4d1ce0eec437adbb07bcc71ec6ed91143339380a16b063cb25fdb1430b79 all runs: crashed: possible deadlock in static_key_slow_inc # git bisect bad 61db3d7b99a367416e489ccf764cc5f9b00d62a1 Bisecting: 3184 revisions left to test after this (roughly 12 steps) [694b37a5dd3c87235e02fabbe7b394f6ab1f444b] Merge tag 'input-for-v6.1-rc0' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input testing commit 694b37a5dd3c87235e02fabbe7b394f6ab1f444b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 821882f234f6523e9c144f3c5416985efe7cb8e6d57e52a3b763159b4f3d96da all runs: boot failed: WARNING in cpumask_next_wrap # git bisect skip 694b37a5dd3c87235e02fabbe7b394f6ab1f444b Bisecting: 3184 revisions left to test after this (roughly 12 steps) [036b8f5b8970e387eb3224eda45348de39135177] tools headers uapi: Update linux/in.h copy testing commit 036b8f5b8970e387eb3224eda45348de39135177 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0ad22c3aae4b1153812c1dfc5159c3c66b5b10e5286c59c267d4b2fbcd2b72bb all runs: OK # git bisect good 036b8f5b8970e387eb3224eda45348de39135177 Bisecting: 641 revisions left to test after this (roughly 9 steps) [acce40037041f97baad18142bb253064491ebde3] ethernet: tundra: free irq when alloc ring failed in tsi108_open() testing commit acce40037041f97baad18142bb253064491ebde3 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: f401db5d4ad8ef0633367cfe46be6e87c53c4f966ffdc0bfc52678d224688611 all runs: crashed: possible deadlock in static_key_slow_inc # git bisect bad acce40037041f97baad18142bb253064491ebde3 Bisecting: 312 revisions left to test after this (roughly 8 steps) [83633ed70c50d3a8470c7e40732efa165dcc2dc7] Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi testing commit 83633ed70c50d3a8470c7e40732efa165dcc2dc7 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2edff5d09fd88eb217e05c682ef56a805cb8d0d41566c2ffcace53b64ee4fb3c all runs: boot failed: WARNING in genl_register_family # git bisect skip 83633ed70c50d3a8470c7e40732efa165dcc2dc7 Bisecting: 312 revisions left to test after this (roughly 8 steps) [888be6b279b7257b5f6e4c9527675bff0a335596] net/mlx5e: Do not increment ESN when updating IPsec ESN state testing commit 888be6b279b7257b5f6e4c9527675bff0a335596 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e4000ae163834c2a591359419411e69bf0df47ae78066b0c9d71287772fd4bf2 all runs: boot failed: possible deadlock in vivid_update_format_cap # git bisect skip 888be6b279b7257b5f6e4c9527675bff0a335596 Bisecting: 312 revisions left to test after this (roughly 8 steps) [a262d3ad6a433e4080cecd0a8841104a5906355e] s390/futex: add missing EX_TABLE entry to __futex_atomic_op() testing commit a262d3ad6a433e4080cecd0a8841104a5906355e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 075ab2b8a01a8fd93314645c63c0572a1734d6510e2f7316a7e89b989224bf46 all runs: OK # git bisect good a262d3ad6a433e4080cecd0a8841104a5906355e Bisecting: 312 revisions left to test after this (roughly 8 steps) [1a0c016a4831ea29be09bbc8162d4a2a0690b4b8] net: ethernet: ti: am65-cpsw: Fix segmentation fault at module unload testing commit 1a0c016a4831ea29be09bbc8162d4a2a0690b4b8 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ce64a3ccf0dc2a58ee662b07c8c02d35f15983d1dae87a3f56050d6b6f261bce all runs: crashed: possible deadlock in static_key_slow_inc # git bisect bad 1a0c016a4831ea29be09bbc8162d4a2a0690b4b8 Bisecting: 285 revisions left to test after this (roughly 8 steps) [3c339dbd139e14c612c521083023eabfcadfd8a5] Merge tag 'mm-hotfixes-stable-2022-10-28' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm testing commit 3c339dbd139e14c612c521083023eabfcadfd8a5 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e41e5c1ed39992c385e78bd0cc945c596c1978df85350fe95f6d63a091f913e0 all runs: boot failed: WARNING in genl_register_family # git bisect skip 3c339dbd139e14c612c521083023eabfcadfd8a5 Bisecting: 285 revisions left to test after this (roughly 8 steps) [66063033f77e10b985258126a97573f84bb8d3b4] wifi: rt2x00: use explicitly signed or unsigned types testing commit 66063033f77e10b985258126a97573f84bb8d3b4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 25521d75712ff63caf0006a46b4dbec568c873db0d0f60c6b75b3411b155a651 all runs: OK # git bisect good 66063033f77e10b985258126a97573f84bb8d3b4 Bisecting: 284 revisions left to test after this (roughly 8 steps) [75d8b1662ca5c20cf8365575222abaef18ff1f50] ASoC: rt1308-sdw: add the default value of some registers testing commit 75d8b1662ca5c20cf8365575222abaef18ff1f50 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 903fe7e5e2c5ecabb428bec2c324daa8cb6e8e1857d3942a0e046435713a743f all runs: OK # git bisect good 75d8b1662ca5c20cf8365575222abaef18ff1f50 Bisecting: 272 revisions left to test after this (roughly 8 steps) [c6e0e874a8fa055b6b2f536c282a523b9439b209] Merge tag 'block-6.1-2022-10-28' of git://git.kernel.dk/linux testing commit c6e0e874a8fa055b6b2f536c282a523b9439b209 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 21688aeb820f95c2c5baa009265845806b4144c4303a3013ec8f1a26deea20f8 all runs: boot failed: WARNING in genl_register_family # git bisect skip c6e0e874a8fa055b6b2f536c282a523b9439b209 Bisecting: 272 revisions left to test after this (roughly 8 steps) [715aee0fde73d5ebac58e2339cef14f2da42e9e3] Merge branch 'vsock-remove-an-unused-variable-and-fix-infinite-sleep' testing commit 715aee0fde73d5ebac58e2339cef14f2da42e9e3 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: df5dc9598105846aa3e0543cd13bdc98233e3e1f736172acdf071013ad5959a6 all runs: crashed: possible deadlock in static_key_slow_inc # git bisect bad 715aee0fde73d5ebac58e2339cef14f2da42e9e3 Bisecting: 102 revisions left to test after this (roughly 6 steps) [84ce1ca3fe9e1249bf21176ff162200f1c4e5ed1] net: enetc: survive memory pressure without crashing testing commit 84ce1ca3fe9e1249bf21176ff162200f1c4e5ed1 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 57edd9c33f07cabab2d6d4af899139e05e956122bf06e143c2c58e17b7cab73c all runs: boot failed: possible deadlock in vivid_update_format_cap # git bisect skip 84ce1ca3fe9e1249bf21176ff162200f1c4e5ed1 Bisecting: 102 revisions left to test after this (roughly 6 steps) [21ce2c121fa07b00b0906bd781590ea362e82ea2] net: ethernet: adi: adin1110: Fix notifiers testing commit 21ce2c121fa07b00b0906bd781590ea362e82ea2 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: da72d4296850c29da25df8f18cdcb9789562fe22ba25b61580070e1120ec0a01 all runs: crashed: possible deadlock in static_key_slow_inc # git bisect bad 21ce2c121fa07b00b0906bd781590ea362e82ea2 Bisecting: 58 revisions left to test after this (roughly 6 steps) [74573e38e933a6dbb11691bea535c54d683cd06e] net/mlx5e: Fix macsec rx security association (SA) update/delete testing commit 74573e38e933a6dbb11691bea535c54d683cd06e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 38d4fe28f7e11a00e448fea37e4bf45b85b87bfb7d332cc3ba585111e2ec7553 all runs: boot failed: possible deadlock in vivid_update_format_cap # git bisect skip 74573e38e933a6dbb11691bea535c54d683cd06e Bisecting: 58 revisions left to test after this (roughly 6 steps) [d89d7ff01235f218dad37de84457717f699dee79] ipv6: ensure sane device mtu in tunnels testing commit d89d7ff01235f218dad37de84457717f699dee79 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: d9eca8ee8a77dc84712cf6399f8fd2527dbd3541af5790b4cdf89d204ab4ca07 all runs: OK # git bisect good d89d7ff01235f218dad37de84457717f699dee79 Bisecting: 53 revisions left to test after this (roughly 6 steps) [b1a09b63684cea56774786ca14c13b7041ffee63] can: mcp251x: mcp251x_can_probe(): add missing unregister_candev() in error path testing commit b1a09b63684cea56774786ca14c13b7041ffee63 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 468774b68255380c0f4da5267af4b2c87eb95e50fa0bb586061d612dac511231 all runs: OK # git bisect good b1a09b63684cea56774786ca14c13b7041ffee63 Bisecting: 53 revisions left to test after this (roughly 6 steps) [1f65ea411cc7b6ff128d82a3493d7b5648054e6f] media: vivid: dev->bitmap_cap wasn't freed in all cases testing commit 1f65ea411cc7b6ff128d82a3493d7b5648054e6f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 14860bcbb80eac5fd6f1f7af9c3da03d90da29172308f2536a0f7910c0188fa4 all runs: OK # git bisect good 1f65ea411cc7b6ff128d82a3493d7b5648054e6f Bisecting: 51 revisions left to test after this (roughly 6 steps) [eb1d969203eb8212741751f88dcf5cb56bb11830] media: vivid: fix control handler mutex deadlock testing commit eb1d969203eb8212741751f88dcf5cb56bb11830 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 9d33f5609ef8b8d7d357fea03fec8c47c3f53f6a6b75e44a799175b6006e62ff all runs: crashed: possible deadlock in static_key_slow_inc # git bisect bad eb1d969203eb8212741751f88dcf5cb56bb11830 Bisecting: 1 revision left to test after this (roughly 1 step) [4b6d66a45ed34a15721cb9e11492fa1a24bc83df] media: v4l2-dv-timings: add sanity checks for blanking values testing commit 4b6d66a45ed34a15721cb9e11492fa1a24bc83df gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4382d6ca14cc0b987081283d1404293aedbf916d6cac200c4fc2954648885b6e all runs: OK # git bisect good 4b6d66a45ed34a15721cb9e11492fa1a24bc83df Bisecting: 0 revisions left to test after this (roughly 0 steps) [8da7f0976b9071b528c545008de9d10cc81883b1] media: videodev2.h: V4L2_DV_BT_BLANKING_HEIGHT should check 'interlaced' testing commit 8da7f0976b9071b528c545008de9d10cc81883b1 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a73cefe707c2e2801cb89183b0811e0ffc62b1bd98d5fd1ef514a66ac1c76850 all runs: OK # git bisect good 8da7f0976b9071b528c545008de9d10cc81883b1 eb1d969203eb8212741751f88dcf5cb56bb11830 is the first bad commit commit eb1d969203eb8212741751f88dcf5cb56bb11830 Author: Hans Verkuil Date: Fri Oct 21 13:21:25 2022 +0100 media: vivid: fix control handler mutex deadlock vivid_update_format_cap() can be called from an s_ctrl callback. In that case (keep_controls == true) no control framework functions can be called that take the control handler mutex. The new call to v4l2_ctrl_modify_dimensions() did exactly that. Signed-off-by: Hans Verkuil Fixes: 6bc7643d1b9c (media: vivid: add pixel_array test control) Signed-off-by: Mauro Carvalho Chehab drivers/media/test-drivers/vivid/vivid-vid-cap.c | 8 ++++++++ 1 file changed, 8 insertions(+) culprit signature: 9d33f5609ef8b8d7d357fea03fec8c47c3f53f6a6b75e44a799175b6006e62ff parent signature: a73cefe707c2e2801cb89183b0811e0ffc62b1bd98d5fd1ef514a66ac1c76850 revisions tested: 33, total time: 10h58m26.652045136s (build: 6h5m24.057867571s, test: 4h46m44.960565713s) first bad commit: eb1d969203eb8212741751f88dcf5cb56bb11830 media: vivid: fix control handler mutex deadlock recipients (to): ["hverkuil-cisco@xs4all.nl" "hverkuil@xs4all.nl" "mchehab@kernel.org"] recipients (cc): [] crash: possible deadlock in static_key_slow_inc ====================================================== WARNING: possible circular locking dependency detected 6.1.0-rc2-syzkaller #0 Not tainted ------------------------------------------------------ syz-executor.0/3974 is trying to acquire lock: ffffffff8b633c30 (cpu_hotplug_lock){++++}-{0:0}, at: static_key_slow_inc+0xd/0x20 kernel/jump_label.c:158 but task is already holding lock: ffffffff8b7d73e8 (freezer_mutex){+.+.}-{3:3}, at: freezer_change_state kernel/cgroup/legacy_freezer.c:387 [inline] ffffffff8b7d73e8 (freezer_mutex){+.+.}-{3:3}, at: freezer_write+0x74/0x6d0 kernel/cgroup/legacy_freezer.c:426 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (freezer_mutex){+.+.}-{3:3}: __mutex_lock_common kernel/locking/mutex.c:603 [inline] __mutex_lock+0x12f/0x1360 kernel/locking/mutex.c:747 freezer_attach+0x70/0x1a0 kernel/cgroup/legacy_freezer.c:163 cgroup_migrate_execute+0x9e0/0xfe0 kernel/cgroup/cgroup.c:2615 cgroup_attach_task+0x30e/0x620 kernel/cgroup/cgroup.c:2906 __cgroup1_procs_write.constprop.0+0x2f2/0x400 kernel/cgroup/cgroup-v1.c:523 cgroup_file_write+0x195/0x640 kernel/cgroup/cgroup.c:4057 kernfs_fop_write_iter+0x355/0x530 fs/kernfs/file.c:330 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x823/0xd50 fs/read_write.c:584 ksys_write+0xf2/0x1c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd -> #1 (cgroup_threadgroup_rwsem){++++}-{0:0}: percpu_down_write+0x53/0x390 kernel/locking/percpu-rwsem.c:227 cgroup_attach_lock kernel/cgroup/cgroup.c:2431 [inline] cgroup_procs_write_start+0x112/0x490 kernel/cgroup/cgroup.c:2935 __cgroup_procs_write+0xcc/0x540 kernel/cgroup/cgroup.c:5135 cgroup_procs_write+0x12/0x20 kernel/cgroup/cgroup.c:5171 cgroup_file_write+0x195/0x640 kernel/cgroup/cgroup.c:4057 kernfs_fop_write_iter+0x355/0x530 fs/kernfs/file.c:330 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x823/0xd50 fs/read_write.c:584 ksys_write+0xf2/0x1c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd -> #0 (cpu_hotplug_lock){++++}-{0:0}: check_prev_add kernel/locking/lockdep.c:3097 [inline] check_prevs_add kernel/locking/lockdep.c:3216 [inline] validate_chain kernel/locking/lockdep.c:3831 [inline] __lock_acquire+0x2a43/0x56d0 kernel/locking/lockdep.c:5055 lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 percpu_down_read include/linux/percpu-rwsem.h:51 [inline] cpus_read_lock+0x3b/0xd0 kernel/cpu.c:310 static_key_slow_inc+0xd/0x20 kernel/jump_label.c:158 freezer_apply_state+0x121/0x190 kernel/cgroup/legacy_freezer.c:353 freezer_change_state kernel/cgroup/legacy_freezer.c:398 [inline] freezer_write+0x39d/0x6d0 kernel/cgroup/legacy_freezer.c:426 cgroup_file_write+0x195/0x640 kernel/cgroup/cgroup.c:4057 kernfs_fop_write_iter+0x355/0x530 fs/kernfs/file.c:330 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x823/0xd50 fs/read_write.c:584 ksys_write+0xf2/0x1c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd other info that might help us debug this: Chain exists of: cpu_hotplug_lock --> cgroup_threadgroup_rwsem --> freezer_mutex Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(freezer_mutex); lock(cgroup_threadgroup_rwsem); lock(freezer_mutex); lock(cpu_hotplug_lock); *** DEADLOCK *** 5 locks held by syz-executor.0/3974: #0: ffff88807e5fd268 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0x9a/0xb0 fs/file.c:1037 #1: ffff88807c01a460 (sb_writers#11){.+.+}-{0:0}, at: ksys_write+0xf2/0x1c0 fs/read_write.c:637 #2: ffff888073627088 (&of->mutex){+.+.}-{3:3}, at: kernfs_fop_write_iter+0x218/0x530 fs/kernfs/file.c:321 #3: ffff888016f720f0 (kn->active#62){.+.+}-{0:0}, at: kernfs_fop_write_iter+0x23c/0x530 fs/kernfs/file.c:322 #4: ffffffff8b7d73e8 (freezer_mutex){+.+.}-{3:3}, at: freezer_change_state kernel/cgroup/legacy_freezer.c:387 [inline] #4: ffffffff8b7d73e8 (freezer_mutex){+.+.}-{3:3}, at: freezer_write+0x74/0x6d0 kernel/cgroup/legacy_freezer.c:426 stack backtrace: CPU: 1 PID: 3974 Comm: syz-executor.0 Not tainted 6.1.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x5b/0x81 lib/dump_stack.c:106 check_noncircular+0x25f/0x2e0 kernel/locking/lockdep.c:2177 check_prev_add kernel/locking/lockdep.c:3097 [inline] check_prevs_add kernel/locking/lockdep.c:3216 [inline] validate_chain kernel/locking/lockdep.c:3831 [inline] __lock_acquire+0x2a43/0x56d0 kernel/locking/lockdep.c:5055 lock_acquire kernel/locking/lockdep.c:5668 [inline] lock_acquire+0x1e3/0x630 kernel/locking/lockdep.c:5633 percpu_down_read include/linux/percpu-rwsem.h:51 [inline] cpus_read_lock+0x3b/0xd0 kernel/cpu.c:310 static_key_slow_inc+0xd/0x20 kernel/jump_label.c:158 freezer_apply_state+0x121/0x190 kernel/cgroup/legacy_freezer.c:353 freezer_change_state kernel/cgroup/legacy_freezer.c:398 [inline] freezer_write+0x39d/0x6d0 kernel/cgroup/legacy_freezer.c:426 cgroup_file_write+0x195/0x640 kernel/cgroup/cgroup.c:4057 kernfs_fop_write_iter+0x355/0x530 fs/kernfs/file.c:330 call_write_iter include/linux/fs.h:2191 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x823/0xd50 fs/read_write.c:584 ksys_write+0xf2/0x1c0 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f54bf28c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f54bedff168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f54bf3abf80 RCX: 00007f54bf28c169 RDX: 0000000000000007 RSI: 0000000020000040 RDI: 0000000000000004 RBP: 00007f54bf2e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff15b0e33f R14: 00007f54bedff300 R15: 0000000000022000