ci starts bisection 2024-08-17 19:14:32.44464402 +0000 UTC m=+34179.178788375 bisecting cause commit starting from 367b5c3d53e57d51a5878816804652963da90950 building syzkaller on 76120936f2d7ff5d4222671f6965fb2c2d258217 ensuring issue is reproducible on original commit 367b5c3d53e57d51a5878816804652963da90950 testing commit 367b5c3d53e57d51a5878816804652963da90950 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2dc2f85d4d21e65443b5df448b11c2fc35a6ee96cd3b9b0f1daf0e31f70edfc5 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: general protection fault in __alloc_workqueue run #10: crashed: possible deadlock in task_rq_lock run #11: crashed: general protection fault in __alloc_workqueue run #12: crashed: general protection fault in __alloc_workqueue run #13: crashed: possible deadlock in console_flush_all run #14: crashed: possible deadlock in console_flush_all run #15: crashed: possible deadlock in console_flush_all run #16: crashed: possible deadlock in console_flush_all run #17: crashed: possible deadlock in console_flush_all run #18: crashed: kernel panic: Fatal exception run #19: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] check whether we can drop unnecessary instrumentation disabling configs for [HANG LEAK UBSAN BUG KASAN ATOMIC_SLEEP], they are not needed testing commit 367b5c3d53e57d51a5878816804652963da90950 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8ace5aed19b53cf5e8ac19f30c6e021b0186135d3c9711f4b7c80fd83ac69748 all runs: OK false negative chance: 0.000 kconfig minimization: base=4001 full=8179 leaves diff=2142 split chunks (needed=false): <2142> split chunk #0 of len 2142 into 5 parts testing without sub-chunk 1/5 testing commit 367b5c3d53e57d51a5878816804652963da90950 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8f05054bbb585769e042366c89090d59239afb5ec43bbda0a6c61f8ff0426e38 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: general protection fault in __alloc_workqueue run #3: crashed: general protection fault in __alloc_workqueue run #4: basic kernel testing failed: failed to copy binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor1460065785" "root@10.128.1.160:./syz-executor1460065785"]: exit status 255 Executing: program /usr/bin/ssh host 10.128.1.160, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.1.160 [10.128.1.160] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2 Connection timed out during banner exchange Connection to 10.128.1.160 port 22 timed out scp: Connection closed run #5: basic kernel testing failed: failed to copy binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor1308291168" "root@10.128.0.113:./syz-executor1308291168"]: exit status 255 Executing: program /usr/bin/ssh host 10.128.0.113, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.0.113 [10.128.0.113] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2 Connection timed out during banner exchange Connection to 10.128.0.113 port 22 timed out scp: Connection closed run #6: crashed: possible deadlock in console_flush_all run #7: OK run #8: OK run #9: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP UNKNOWN] the chunk can be dropped testing without sub-chunk 2/5 testing commit 367b5c3d53e57d51a5878816804652963da90950 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f52612d6479a814f5312d64db4f3e3d4767645d5ce44be99002169da3a3b5f9e run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: general protection fault in __alloc_workqueue run #3: basic kernel testing failed: failed to copy binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor3337745966" "root@10.128.0.104:./syz-executor3337745966"]: exit status 255 Executing: program /usr/bin/ssh host 10.128.0.104, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.0.104 [10.128.0.104] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2 Connection timed out during banner exchange Connection to 10.128.0.104 port 22 timed out scp: Connection closed run #4: crashed: kernel panic: Fatal exception run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: OK run #8: OK run #9: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP UNKNOWN] the chunk can be dropped testing without sub-chunk 3/5 testing commit 367b5c3d53e57d51a5878816804652963da90950 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 8ecf8fa1f20d2bbdeef5480b0d4b13ef9634e770c903e0d3ec1df7d5e9683ebe run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: general protection fault in __alloc_workqueue run #3: crashed: possible deadlock in console_flush_all run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP UNKNOWN] the chunk can be dropped testing without sub-chunk 4/5 testing commit 367b5c3d53e57d51a5878816804652963da90950 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f9f7a0aca0debe2effbadc641912c178dfd5bd55448f655ccc65a29f205ed840 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in console_flush_all run #10: crashed: possible deadlock in console_flush_all run #11: crashed: possible deadlock in console_flush_all run #12: crashed: possible deadlock in console_flush_all run #13: crashed: possible deadlock in console_flush_all run #14: basic kernel testing failed: failed to copy binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor2675898834" "root@10.128.1.182:./syz-executor2675898834"]: exit status 255 Executing: program /usr/bin/ssh host 10.128.1.182, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.1.182 [10.128.1.182] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2 Connection timed out during banner exchange Connection to 10.128.1.182 port 22 timed out scp: Connection closed run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] the chunk can be dropped testing without sub-chunk 5/5 testing commit 367b5c3d53e57d51a5878816804652963da90950 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e66f73131308a57417195a7bc55ebc2f02d16705b8c825b39f3843e144ae7753 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in console_flush_all run #10: crashed: possible deadlock in console_flush_all run #11: crashed: possible deadlock in console_flush_all run #12: crashed: possible deadlock in console_flush_all run #13: crashed: possible deadlock in console_flush_all run #14: crashed: possible deadlock in console_flush_all run #15: crashed: possible deadlock in console_flush_all run #16: crashed: possible deadlock in console_flush_all run #17: basic kernel testing failed: failed to copy binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor1250267424" "root@10.128.0.48:./syz-executor1250267424"]: exit status 255 Executing: program /usr/bin/ssh host 10.128.0.48, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.0.48 [10.128.0.48] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2 Connection timed out during banner exchange Connection to 10.128.0.48 port 22 timed out scp: Connection closed run #18: OK run #19: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] the chunk can be dropped picked [v6.10 v6.9 v6.8 v6.6 v6.4 v6.2 v6.0 v5.18 v5.15 v5.12 v5.9 v5.6 v5.3 v5.0 v4.19] out of 33 release tags testing release v6.10 testing commit 0c3836482481200ead7b416ca80c68a29cfdaabd gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fc0ec3ad474c30bbac8dda9db7371a65c19e9b25093fdc1fc5993a326598ee30 all runs: OK false negative chance: 0.000 # git bisect start 367b5c3d53e57d51a5878816804652963da90950 0c3836482481200ead7b416ca80c68a29cfdaabd Bisecting: 9517 revisions left to test after this (roughly 13 steps) [a4f9285520584977127946a22eab2adfbc87d1bf] Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux testing commit a4f9285520584977127946a22eab2adfbc87d1bf gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dbae8dc0ea594c75709dd3ebd697ab81f36239b881dc2f7c6fc4c2a5a520502d all runs: OK false negative chance: 0.000 # git bisect good a4f9285520584977127946a22eab2adfbc87d1bf Bisecting: 4806 revisions left to test after this (roughly 12 steps) [0ffebd6e3ee303b179a3cc7f9c63823171a239ed] Merge branch 'for-next' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git testing commit 0ffebd6e3ee303b179a3cc7f9c63823171a239ed gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f99445d325713c554978fc4105644157c45d9a97e92bc8c88e5ffcca9da6770c all runs: OK false negative chance: 0.000 # git bisect good 0ffebd6e3ee303b179a3cc7f9c63823171a239ed Bisecting: 2473 revisions left to test after this (roughly 11 steps) [ba09f491d0f6d8e84a988662a5bbb951ebb7622d] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git testing commit ba09f491d0f6d8e84a988662a5bbb951ebb7622d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3fcfb1fb74b39ce1acdb89ad6818a1fc7e6af49b45eb2ec18242e5664fe6ab2b run #0: crashed: no output from test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: no output from test machine, types: [UNKNOWN] unable to determine the verdict: 19 good runs (wanted 15), for bad wanted 10 in total, got 20 # git bisect skip ba09f491d0f6d8e84a988662a5bbb951ebb7622d Bisecting: 2473 revisions left to test after this (roughly 11 steps) [a2bbdd9e1ca31d407fb27e8dd1614dcb14a7d13e] Merge branches 'acpi-soc' and 'acpi-pmic' into linux-next testing commit a2bbdd9e1ca31d407fb27e8dd1614dcb14a7d13e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f3d2554c3d7378db676b7497b57222dd22836a64f99180e6ac4b24c557b38edd all runs: OK false negative chance: 0.000 # git bisect good a2bbdd9e1ca31d407fb27e8dd1614dcb14a7d13e Bisecting: 2473 revisions left to test after this (roughly 11 steps) [b5100b72da688282558b28255c03a2d72241a729] net/mlx5e: Use extack in get module eeprom by page callback testing commit b5100b72da688282558b28255c03a2d72241a729 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: df6f6f97701eae5e72f58fc7b49a8c75dbd010f8db754bc55773031d9f35a6dc all runs: OK false negative chance: 0.000 # git bisect good b5100b72da688282558b28255c03a2d72241a729 Bisecting: 2199 revisions left to test after this (roughly 11 steps) [8e64b1590ea911cdcf59300ff23ca9516a57476b] Merge branch 'drm-next' of https://gitlab.freedesktop.org/drm/kernel.git testing commit 8e64b1590ea911cdcf59300ff23ca9516a57476b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d6191fc3507abe3d30baadfdd03d60acb49dfe1bd3d5023f137dfb523d9ae271 all runs: OK false negative chance: 0.000 # git bisect good 8e64b1590ea911cdcf59300ff23ca9516a57476b Bisecting: 1189 revisions left to test after this (roughly 10 steps) [dcadc459aef29761bdd35516304a7324e1f1789b] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git testing commit dcadc459aef29761bdd35516304a7324e1f1789b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 671b26052b2abec3356554afeaff4e2f85c7f7702377a8f1f530f23317349008 all runs: OK false negative chance: 0.000 # git bisect good dcadc459aef29761bdd35516304a7324e1f1789b Bisecting: 598 revisions left to test after this (roughly 9 steps) [e9452288d55d5eab683bc374b23062c57d7aaade] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/fpga/linux-fpga.git testing commit e9452288d55d5eab683bc374b23062c57d7aaade gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a93d37253eeaa20e66fb99c1bb518923666e390189c41aebffdfdcc11fe90954 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in console_flush_all run #10: crashed: possible deadlock in console_flush_all run #11: crashed: possible deadlock in console_flush_all run #12: crashed: possible deadlock in console_flush_all run #13: crashed: possible deadlock in console_flush_all run #14: crashed: possible deadlock in console_flush_all run #15: crashed: possible deadlock in console_flush_all run #16: crashed: possible deadlock in console_flush_all run #17: crashed: possible deadlock in console_flush_all run #18: OK run #19: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] # git bisect bad e9452288d55d5eab683bc374b23062c57d7aaade Bisecting: 256 revisions left to test after this (roughly 8 steps) [828ac512838e44a1c54d03e2f40977ddadc9ae6e] Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rcu/linux.git testing commit 828ac512838e44a1c54d03e2f40977ddadc9ae6e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eb73f8dc40714f4f3d3b6a12990b8524404f441c1811aafdfbb6df08d6960861 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in console_flush_all run #10: crashed: possible deadlock in console_flush_all run #11: crashed: possible deadlock in console_flush_all run #12: crashed: possible deadlock in console_flush_all run #13: crashed: possible deadlock in console_flush_all run #14: crashed: possible deadlock in console_flush_all run #15: crashed: possible deadlock in console_flush_all run #16: crashed: possible deadlock in console_flush_all run #17: basic kernel testing failed: failed to copy binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor1842579575" "root@10.128.10.9:./syz-executor1842579575"]: exit status 255 Executing: program /usr/bin/ssh host 10.128.10.9, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.10.9 [10.128.10.9] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2 Connection timed out during banner exchange Connection to 10.128.10.9 port 22 timed out scp: Connection closed run #18: basic kernel testing failed: failed to copy binary to VM: timedout after 1m0s ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor87469457" "root@10.128.10.14:./syz-executor87469457"] Executing: program /usr/bin/ssh host 10.128.10.14, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.10.14 [10.128.10.14] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2 debug1: Remote protocol version 2.0, remote software version OpenSSH_9.1 debug1: compat_banner: match: OpenSSH_9.1 pat OpenSSH* compat 0x04000000 debug1: Authenticating to 10.128.10.14:22 as 'root' debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or directory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or directory debug1: SSH2_MSG_KEXINIT sent run #19: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] # git bisect bad 828ac512838e44a1c54d03e2f40977ddadc9ae6e Bisecting: 162 revisions left to test after this (roughly 7 steps) [013a85d2f9a33335712889f019edd38fc286f608] Merge branch into tip/master: 'x86/bugs' testing commit 013a85d2f9a33335712889f019edd38fc286f608 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1d7c27d137b550fd07e2c22f747ccbd0c896e900949cf7012047e562e0c14726 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in console_flush_all run #10: crashed: possible deadlock in console_flush_all run #11: crashed: possible deadlock in console_flush_all run #12: crashed: possible deadlock in console_flush_all run #13: crashed: possible deadlock in console_flush_all run #14: crashed: possible deadlock in console_flush_all run #15: crashed: possible deadlock in console_flush_all run #16: basic kernel testing failed: failed to copy binary to VM: failed to run ["scp" "-P" "22" "-F" "/dev/null" "-o" "UserKnownHostsFile=/dev/null" "-o" "IdentitiesOnly=yes" "-o" "BatchMode=yes" "-o" "StrictHostKeyChecking=no" "-o" "ConnectTimeout=10" "-v" "/tmp/syz-executor4142552623" "root@10.128.0.97:./syz-executor4142552623"]: exit status 255 Executing: program /usr/bin/ssh host 10.128.0.97, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u2, OpenSSL 3.0.11 19 Sep 2023 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.0.97 [10.128.0.97] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u2 Connection timed out during banner exchange Connection to 10.128.0.97 port 22 timed out scp: Connection closed run #17: OK run #18: OK run #19: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] # git bisect bad 013a85d2f9a33335712889f019edd38fc286f608 Bisecting: 83 revisions left to test after this (roughly 7 steps) [399f50e31ed551487d82b57622cb29b62eb21819] Merge branch into tip/master: 'ras/core' testing commit 399f50e31ed551487d82b57622cb29b62eb21819 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 335a1b5211f9962bef1775d4d59dea5bd6b244b19d58529f1172ae18187aff5d all runs: OK false negative chance: 0.000 # git bisect good 399f50e31ed551487d82b57622cb29b62eb21819 Bisecting: 29 revisions left to test after this (roughly 5 steps) [6487053b8ab85447b16215e314bcbc2de8683dbe] Merge branch into tip/master: 'timers/core' testing commit 6487053b8ab85447b16215e314bcbc2de8683dbe gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 79d14761e8cae62f2c4a0a269e216d719a1cc19a31a6dc5ae7cafeac5e90d480 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in console_flush_all run #10: crashed: possible deadlock in console_flush_all run #11: crashed: possible deadlock in console_flush_all run #12: crashed: possible deadlock in console_flush_all run #13: crashed: possible deadlock in console_flush_all run #14: crashed: possible deadlock in console_flush_all run #15: crashed: possible deadlock in console_flush_all run #16: crashed: possible deadlock in console_flush_all run #17: crashed: possible deadlock in console_flush_all run #18: OK run #19: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] # git bisect bad 6487053b8ab85447b16215e314bcbc2de8683dbe Bisecting: 25 revisions left to test after this (roughly 5 steps) [5c0b92faf87c10db4edb44aaac2bd295632bcb96] Merge branch into tip/master: 'timers/clocksource' testing commit 5c0b92faf87c10db4edb44aaac2bd295632bcb96 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ed21baa7b90df76574fa6527ba1acbb184d960f1317ec3779e16f75000ed6717 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in console_flush_all run #10: crashed: possible deadlock in console_flush_all run #11: crashed: possible deadlock in console_flush_all run #12: crashed: possible deadlock in console_flush_all run #13: crashed: possible deadlock in console_flush_all run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] # git bisect bad 5c0b92faf87c10db4edb44aaac2bd295632bcb96 Bisecting: 13 revisions left to test after this (roughly 4 steps) [5f6bd380c7bdbe10f7b4e8ddcceed60ce0714c6d] sched/rt: Remove default bandwidth control testing commit 5f6bd380c7bdbe10f7b4e8ddcceed60ce0714c6d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: fed6049eea55c1d30cf10b64ecc741aae588a77185da00205ac19550ebfdbef4 run #0: crashed: possible deadlock in console_flush_all run #1: crashed: possible deadlock in console_flush_all run #2: crashed: possible deadlock in console_flush_all run #3: crashed: possible deadlock in console_flush_all run #4: crashed: possible deadlock in console_flush_all run #5: crashed: possible deadlock in console_flush_all run #6: crashed: possible deadlock in console_flush_all run #7: crashed: possible deadlock in console_flush_all run #8: crashed: possible deadlock in console_flush_all run #9: crashed: possible deadlock in console_flush_all run #10: crashed: possible deadlock in console_flush_all run #11: crashed: possible deadlock in console_flush_all run #12: crashed: possible deadlock in console_flush_all run #13: crashed: possible deadlock in console_flush_all run #14: crashed: possible deadlock in console_flush_all run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: possible deadlock in console_flush_all, types: [LOCKDEP] # git bisect bad 5f6bd380c7bdbe10f7b4e8ddcceed60ce0714c6d Bisecting: 6 revisions left to test after this (roughly 3 steps) [c245910049d04fbfa85bb2f5acd591c24e9907c7] sched/core: Add clearing of ->dl_server in put_prev_task_balance() testing commit c245910049d04fbfa85bb2f5acd591c24e9907c7 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9c513a890774ddcf6599ceb2373084ef4629b24cfba7c73a493fc398907b1fc3 run #0: crashed: lost connection to test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: lost connection to test machine, types: [UNKNOWN] unable to determine the verdict: 19 good runs (wanted 15), for bad wanted 10 in total, got 20 # git bisect skip c245910049d04fbfa85bb2f5acd591c24e9907c7 Bisecting: 6 revisions left to test after this (roughly 3 steps) [2c2d9624697fc5e7dd84490ae01b80cc43ec2def] sched/fair: Remove cfs_rq::nr_spread_over and cfs_rq::exec_clock testing commit 2c2d9624697fc5e7dd84490ae01b80cc43ec2def gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: cd31cd49750ac6d6507725f0223deec449929c68b96eb28b9dd9ae61c4b8663e all runs: OK false negative chance: 0.000 # git bisect good 2c2d9624697fc5e7dd84490ae01b80cc43ec2def Bisecting: 4 revisions left to test after this (roughly 3 steps) [557a6bfc662c4d560f909b78adb1270c9862efa8] sched/fair: Add trivial fair server testing commit 557a6bfc662c4d560f909b78adb1270c9862efa8 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5a28b02a74a78e05e1c2584dbe3c1d01f2d87393b41948abd844e5aeed5ebd01 run #0: crashed: no output from test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: no output from test machine, types: [UNKNOWN] unable to determine the verdict: 19 good runs (wanted 15), for bad wanted 10 in total, got 20 # git bisect skip 557a6bfc662c4d560f909b78adb1270c9862efa8 Bisecting: 4 revisions left to test after this (roughly 3 steps) [f23c042ce34ba265cf3129d530702b5d218e3f4b] sched/deadline: Comment sched_dl_entity::dl_server variable testing commit f23c042ce34ba265cf3129d530702b5d218e3f4b gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5b678106261bb59724209327c484027c54b83e09bc91469bb7348983c7cf3b4d run #0: crashed: no output from test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK representative crash: no output from test machine, types: [UNKNOWN] unable to determine the verdict: 19 good runs (wanted 15), for bad wanted 10 in total, got 20 # git bisect skip f23c042ce34ba265cf3129d530702b5d218e3f4b Bisecting: 4 revisions left to test after this (roughly 3 steps) [a741b82423f41501e301eb6f9820b45ca202e877] sched/core: Clear prev->dl_server in CFS pick fast path testing commit a741b82423f41501e301eb6f9820b45ca202e877 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b433db4d37748d76080f3450dda41e3918ff95743f75684ccab3db8b9a1b00cc all runs: OK false negative chance: 0.000 # git bisect good a741b82423f41501e301eb6f9820b45ca202e877 Bisecting: 2 revisions left to test after this (roughly 2 steps) [d741f297bceaf52aa1b97b997708fc0cd853c73e] sched/fair: Fair server interface testing commit d741f297bceaf52aa1b97b997708fc0cd853c73e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 75eb4afa30c92b86939f67ca678808df62079ccf441a42655c5ed79caae304ed run #0: basic kernel testing failed: no output from test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK false negative chance: 0.000 # git bisect good d741f297bceaf52aa1b97b997708fc0cd853c73e Bisecting: 1 revision left to test after this (roughly 1 step) [4b26cfdd395638918e370f62bd2c33e6f63ffb5e] sched/core: Fix priority checking for DL server picks testing commit 4b26cfdd395638918e370f62bd2c33e6f63ffb5e gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 024fc1a6ec307ee006943aeed03a5890488691f3d0424fc6358a700c1317b23c run #0: basic kernel testing failed: no output from test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK false negative chance: 0.000 # git bisect good 4b26cfdd395638918e370f62bd2c33e6f63ffb5e Bisecting: 0 revisions left to test after this (roughly 0 steps) [c8a85394cfdb4696b4e2f8a0f3066a1c921af426] sched/core: Fix picking of tasks for core scheduling with DL server testing commit c8a85394cfdb4696b4e2f8a0f3066a1c921af426 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2f80f1ba36ec254ac1cf8debdfe49a409f6be84df8547d7de7c7bbb463ea431a all runs: OK false negative chance: 0.000 # git bisect good c8a85394cfdb4696b4e2f8a0f3066a1c921af426 5f6bd380c7bdbe10f7b4e8ddcceed60ce0714c6d is the first bad commit commit 5f6bd380c7bdbe10f7b4e8ddcceed60ce0714c6d Author: Peter Zijlstra Date: Mon May 27 14:06:55 2024 +0200 sched/rt: Remove default bandwidth control Now that fair_server exists, we no longer need RT bandwidth control unless RT_GROUP_SCHED. Enable fair_server with parameters equivalent to RT throttling. Signed-off-by: Peter Zijlstra (Intel) Signed-off-by: "Peter Zijlstra (Intel)" Signed-off-by: Daniel Bristot de Oliveira Signed-off-by: "Vineeth Pillai (Google)" Signed-off-by: Peter Zijlstra (Intel) Tested-by: Juri Lelli Link: https://lore.kernel.org/r/14d562db55df5c3c780d91940743acb166895ef7.1716811044.git.bristot@kernel.org kernel/sched/core.c | 9 +- kernel/sched/deadline.c | 5 +- kernel/sched/debug.c | 3 + kernel/sched/rt.c | 242 +++++++++++++++++++++--------------------------- kernel/sched/sched.h | 3 +- 5 files changed, 120 insertions(+), 142 deletions(-) accumulated error probability: 0.00 culprit signature: fed6049eea55c1d30cf10b64ecc741aae588a77185da00205ac19550ebfdbef4 parent signature: 2f80f1ba36ec254ac1cf8debdfe49a409f6be84df8547d7de7c7bbb463ea431a reproducer is flaky (0.77 repro chance estimate) revisions tested: 30, total time: 11h49m32.459622656s (build: 4h34m19.706821473s, test: 6h55m48.68264252s) first bad commit: 5f6bd380c7bdbe10f7b4e8ddcceed60ce0714c6d sched/rt: Remove default bandwidth control recipients (to): ["bristot@kernel.org" "juri.lelli@redhat.com" "peterz@infradead.org" "vineeth@bitbyteword.org"] recipients (cc): [] crash: possible deadlock in console_flush_all ------------[ cut here ]------------ ====================================================== WARNING: possible circular locking dependency detected 6.11.0-rc1-syzkaller #0 Not tainted ------------------------------------------------------ kworker/u8:5/4337 is trying to acquire lock: ffffffff8465bd20 (console_owner){-.-.}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:331 [inline] ffffffff8465bd20 (console_owner){-.-.}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline] ffffffff8465bd20 (console_owner){-.-.}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:286 [inline] ffffffff8465bd20 (console_owner){-.-.}-{0:0}, at: console_flush_all+0x14d/0xd10 kernel/printk/printk.c:3041 but task is already holding lock: ffff8881f713b1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:579 [inline] ffff8881f713b1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1419 [inline] ffff8881f713b1d8 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1718 [inline] ffff8881f713b1d8 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x31a/0x2510 kernel/sched/core.c:6474 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (&rq->__lock){-.-.}-{2:2}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 _raw_spin_lock_nested+0x31/0x40 kernel/locking/spinlock.c:378 raw_spin_rq_lock_nested kernel/sched/core.c:579 [inline] raw_spin_rq_lock kernel/sched/sched.h:1419 [inline] __task_rq_lock+0xdc/0x300 kernel/sched/core.c:657 wake_up_new_task+0x52b/0x9f0 kernel/sched/core.c:4716 kernel_clone+0x384/0x6b0 kernel/fork.c:2812 user_mode_thread+0x12d/0x190 kernel/fork.c:2859 rest_init+0x1c/0x250 init/main.c:712 start_kernel+0x305/0x370 init/main.c:1103 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x9f/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x12c/0x137 -> #3 (&p->pi_lock){-.-.}-{2:2}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 class_raw_spinlock_irqsave_constructor include/linux/spinlock.h:551 [inline] try_to_wake_up+0xa8/0x1050 kernel/sched/core.c:4082 __wake_up_common kernel/sched/wait.c:89 [inline] __wake_up_common_lock+0x130/0x1e0 kernel/sched/wait.c:106 tty_port_default_wakeup+0x85/0xc0 drivers/tty/tty_port.c:69 serial8250_tx_chars+0x21e/0x780 drivers/tty/serial/8250/8250_port.c:1821 serial8250_handle_irq+0x3d6/0x570 drivers/tty/serial/8250/8250_port.c:1929 serial8250_default_handle_irq+0x9a/0x170 drivers/tty/serial/8250/8250_port.c:1949 serial8250_interrupt+0xa2/0x180 drivers/tty/serial/8250/8250_core.c:86 __handle_irq_event_percpu+0x23f/0x7b0 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x83/0x1c0 kernel/irq/handle.c:210 handle_edge_irq+0x21c/0x9f0 kernel/irq/chip.c:831 generic_handle_irq_desc include/linux/irqdesc.h:173 [inline] handle_irq arch/x86/kernel/irq.c:247 [inline] call_irq_handler arch/x86/kernel/irq.c:259 [inline] __common_interrupt+0xda/0x1b0 arch/x86/kernel/irq.c:285 common_interrupt+0xa0/0xc0 arch/x86/kernel/irq.c:278 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 seqcount_lockdep_reader_access+0x184/0x1e0 include/linux/seqlock.h:75 nf_conntrack_get_ht include/net/netfilter/nf_conntrack.h:345 [inline] gc_worker+0x2b6/0x10f0 net/netfilter/nf_conntrack_core.c:1488 process_one_work kernel/workqueue.c:3231 [inline] process_scheduled_works+0x953/0x1500 kernel/workqueue.c:3312 worker_thread+0x748/0xb40 kernel/workqueue.c:3390 kthread+0x2e0/0x380 kernel/kthread.c:389 ret_from_fork+0x32/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 -> #2 (&tty->write_wait){-.-.}-{2:2}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 __wake_up_common_lock+0x25/0x1e0 kernel/sched/wait.c:105 tty_port_default_wakeup+0x85/0xc0 drivers/tty/tty_port.c:69 serial8250_tx_chars+0x21e/0x780 drivers/tty/serial/8250/8250_port.c:1821 serial8250_handle_irq+0x3d6/0x570 drivers/tty/serial/8250/8250_port.c:1929 serial8250_default_handle_irq+0x9a/0x170 drivers/tty/serial/8250/8250_port.c:1949 serial8250_interrupt+0xa2/0x180 drivers/tty/serial/8250/8250_core.c:86 __handle_irq_event_percpu+0x23f/0x7b0 kernel/irq/handle.c:158 handle_irq_event_percpu kernel/irq/handle.c:193 [inline] handle_irq_event+0x83/0x1c0 kernel/irq/handle.c:210 handle_edge_irq+0x21c/0x9f0 kernel/irq/chip.c:831 generic_handle_irq_desc include/linux/irqdesc.h:173 [inline] handle_irq arch/x86/kernel/irq.c:247 [inline] call_irq_handler arch/x86/kernel/irq.c:259 [inline] __common_interrupt+0xda/0x1b0 arch/x86/kernel/irq.c:285 common_interrupt+0xa0/0xc0 arch/x86/kernel/irq.c:278 asm_common_interrupt+0x26/0x40 arch/x86/include/asm/idtentry.h:693 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0xd8/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] uart_port_unlock_irqrestore include/linux/serial_core.h:669 [inline] uart_write+0x10f/0x2a0 drivers/tty/serial/serial_core.c:634 process_output_block drivers/tty/n_tty.c:574 [inline] n_tty_write+0xe6c/0x1250 drivers/tty/n_tty.c:2389 iterate_tty_write drivers/tty/tty_io.c:1021 [inline] file_tty_write+0x489/0x810 drivers/tty/tty_io.c:1096 new_sync_write fs/read_write.c:497 [inline] vfs_write+0x63a/0xc30 fs/read_write.c:590 ksys_write+0x163/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f -> #1 (&port_lock_key){-.-.}-{2:2}: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162 uart_port_lock_irqsave include/linux/serial_core.h:618 [inline] serial8250_console_write+0x175/0x15e0 drivers/tty/serial/8250/8250_port.c:3352 console_emit_next_record kernel/printk/printk.c:2983 [inline] console_flush_all+0x686/0xd10 kernel/printk/printk.c:3049 console_unlock+0x136/0x420 kernel/printk/printk.c:3118 vprintk_emit+0x3ef/0x5f0 kernel/printk/printk.c:2348 _printk+0xce/0x120 kernel/printk/printk.c:2373 register_console+0x6b0/0x9c0 kernel/printk/printk.c:3654 univ8250_console_init+0x3a/0x70 drivers/tty/serial/8250/8250_core.c:513 console_init+0x11c/0x450 kernel/printk/printk.c:3800 start_kernel+0x249/0x370 init/main.c:1038 x86_64_start_reservations+0x2a/0x30 arch/x86/kernel/head64.c:507 x86_64_start_kernel+0x9f/0xa0 arch/x86/kernel/head64.c:488 common_startup_64+0x12c/0x137 -> #0 (console_owner){-.-.}-{0:0}: check_prev_add kernel/locking/lockdep.c:3133 [inline] check_prevs_add kernel/locking/lockdep.c:3252 [inline] validate_chain+0x18e0/0x5900 kernel/locking/lockdep.c:3868 __lock_acquire+0x137a/0x2040 kernel/locking/lockdep.c:5142 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 console_lock_spinning_enable kernel/printk/printk.c:1873 [inline] console_emit_next_record kernel/printk/printk.c:2977 [inline] console_flush_all+0x635/0xd10 kernel/printk/printk.c:3049 console_unlock+0x136/0x420 kernel/printk/printk.c:3118 vprintk_emit+0x3ef/0x5f0 kernel/printk/printk.c:2348 _printk+0xce/0x120 kernel/printk/printk.c:2373 __report_bug lib/bug.c:195 [inline] report_bug+0x268/0x420 lib/bug.c:219 handle_bug+0x3e/0x70 arch/x86/kernel/traps.c:239 exc_invalid_op+0x1a/0x50 arch/x86/kernel/traps.c:260 asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:621 lockdep_assert_rq_held kernel/sched/sched.h:1410 [inline] rq_clock kernel/sched/sched.h:1558 [inline] replenish_dl_new_period kernel/sched/deadline.c:777 [inline] update_curr_dl_se+0x644/0x8d0 kernel/sched/deadline.c:1511 update_curr+0x494/0x6b0 kernel/sched/fair.c:1176 put_prev_entity kernel/sched/fair.c:5505 [inline] put_prev_task_fair+0x7f/0x1c0 kernel/sched/fair.c:8684 put_prev_task kernel/sched/sched.h:2352 [inline] put_prev_task_balance kernel/sched/core.c:5822 [inline] __pick_next_task kernel/sched/core.c:5879 [inline] pick_next_task kernel/sched/core.c:6374 [inline] __schedule+0x8bf/0x2510 kernel/sched/core.c:6522 preempt_schedule_common kernel/sched/core.c:6746 [inline] __cond_resched+0x99/0xe0 kernel/sched/core.c:7079 _cond_resched include/linux/sched.h:2022 [inline] count_strings_kernel fs/exec.c:484 [inline] kernel_execve+0x19f/0x830 fs/exec.c:2052 call_usermodehelper_exec_async+0x204/0x320 kernel/umh.c:110 ret_from_fork+0x32/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 other info that might help us debug this: Chain exists of: console_owner --> &p->pi_lock --> &rq->__lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&rq->__lock); lock(&p->pi_lock); lock(&rq->__lock); lock(console_owner); *** DEADLOCK *** 3 locks held by kworker/u8:5/4337: #0: ffff8881f713b1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested kernel/sched/core.c:579 [inline] #0: ffff8881f713b1d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock kernel/sched/sched.h:1419 [inline] #0: ffff8881f713b1d8 (&rq->__lock){-.-.}-{2:2}, at: rq_lock kernel/sched/sched.h:1718 [inline] #0: ffff8881f713b1d8 (&rq->__lock){-.-.}-{2:2}, at: __schedule+0x31a/0x2510 kernel/sched/core.c:6474 #1: ffffffff84543640 (console_lock){+.+.}-{0:0}, at: _printk+0xce/0x120 kernel/printk/printk.c:2373 #2: ffffffff84543270 (console_srcu){....}-{0:0}, at: rcu_try_lock_acquire include/linux/rcupdate.h:331 [inline] #2: ffffffff84543270 (console_srcu){....}-{0:0}, at: srcu_read_lock_nmisafe include/linux/srcu.h:267 [inline] #2: ffffffff84543270 (console_srcu){....}-{0:0}, at: console_srcu_read_lock kernel/printk/printk.c:286 [inline] #2: ffffffff84543270 (console_srcu){....}-{0:0}, at: console_flush_all+0x14d/0xd10 kernel/printk/printk.c:3041 stack backtrace: CPU: 1 UID: 0 PID: 4337 Comm: kworker/u8:5 Not tainted 6.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:93 [inline] dump_stack_lvl+0x198/0x250 lib/dump_stack.c:119 check_noncircular+0x36a/0x4a0 kernel/locking/lockdep.c:2186 check_prev_add kernel/locking/lockdep.c:3133 [inline] check_prevs_add kernel/locking/lockdep.c:3252 [inline] validate_chain+0x18e0/0x5900 kernel/locking/lockdep.c:3868 __lock_acquire+0x137a/0x2040 kernel/locking/lockdep.c:5142 lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5759 console_lock_spinning_enable kernel/printk/printk.c:1873 [inline] console_emit_next_record kernel/printk/printk.c:2977 [inline] console_flush_all+0x635/0xd10 kernel/printk/printk.c:3049 console_unlock+0x136/0x420 kernel/printk/printk.c:3118 vprintk_emit+0x3ef/0x5f0 kernel/printk/printk.c:2348 _printk+0xce/0x120 kernel/printk/printk.c:2373 __report_bug lib/bug.c:195 [inline] report_bug+0x268/0x420 lib/bug.c:219 handle_bug+0x3e/0x70 arch/x86/kernel/traps.c:239 exc_invalid_op+0x1a/0x50 arch/x86/kernel/traps.c:260 asm_exc_invalid_op+0x1a/0x20 arch/x86/include/asm/idtentry.h:621 RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1410 [inline] RIP: 0010:rq_clock kernel/sched/sched.h:1558 [inline] RIP: 0010:replenish_dl_new_period kernel/sched/deadline.c:777 [inline] RIP: 0010:update_curr_dl_se+0x644/0x8d0 kernel/sched/deadline.c:1511 Code: 24 50 fe ff ff 4c 89 ff ba 20 00 00 00 e8 d4 45 00 00 e9 56 fe ff ff 4c 89 e7 be 20 00 00 00 e8 72 12 00 00 e9 44 fe ff ff 90 <0f> 0b 90 e9 ab fb ff ff 89 f1 80 e1 07 38 c1 0f 8c e0 f9 ff ff 48 RSP: 0018:ffffc9000301fb98 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff8881f703b1c0 RCX: 0000000000000003 RDX: dffffc0000000000 RSI: ffffffff83a677c0 RDI: ffffffff83bc8900 RBP: 0000000000000031 R08: ffff8881f702c4c3 R09: 1ffff1103ee05898 R10: dffffc0000000000 R11: ffffed103ee05899 R12: ffff8881f703bb28 R13: ffff8881f703bb68 R14: 1ffff1103ee0776f R15: dffffc0000000000 update_curr+0x494/0x6b0 kernel/sched/fair.c:1176 put_prev_entity kernel/sched/fair.c:5505 [inline] put_prev_task_fair+0x7f/0x1c0 kernel/sched/fair.c:8684 put_prev_task kernel/sched/sched.h:2352 [inline] put_prev_task_balance kernel/sched/core.c:5822 [inline] __pick_next_task kernel/sched/core.c:5879 [inline] pick_next_task kernel/sched/core.c:6374 [inline] __schedule+0x8bf/0x2510 kernel/sched/core.c:6522 preempt_schedule_common kernel/sched/core.c:6746 [inline] __cond_resched+0x99/0xe0 kernel/sched/core.c:7079 _cond_resched include/linux/sched.h:2022 [inline] count_strings_kernel fs/exec.c:484 [inline] kernel_execve+0x19f/0x830 fs/exec.c:2052 call_usermodehelper_exec_async+0x204/0x320 kernel/umh.c:110 ret_from_fork+0x32/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 WARNING: CPU: 1 PID: 4337 at kernel/sched/sched.h:1410 lockdep_assert_rq_held kernel/sched/sched.h:1410 [inline] WARNING: CPU: 1 PID: 4337 at kernel/sched/sched.h:1410 rq_clock kernel/sched/sched.h:1558 [inline] WARNING: CPU: 1 PID: 4337 at kernel/sched/sched.h:1410 replenish_dl_new_period kernel/sched/deadline.c:777 [inline] WARNING: CPU: 1 PID: 4337 at kernel/sched/sched.h:1410 update_curr_dl_se+0x644/0x8d0 kernel/sched/deadline.c:1511 Modules linked in: CPU: 1 UID: 0 PID: 4337 Comm: kworker/u8:5 Not tainted 6.11.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:lockdep_assert_rq_held kernel/sched/sched.h:1410 [inline] RIP: 0010:rq_clock kernel/sched/sched.h:1558 [inline] RIP: 0010:replenish_dl_new_period kernel/sched/deadline.c:777 [inline] RIP: 0010:update_curr_dl_se+0x644/0x8d0 kernel/sched/deadline.c:1511 Code: 24 50 fe ff ff 4c 89 ff ba 20 00 00 00 e8 d4 45 00 00 e9 56 fe ff ff 4c 89 e7 be 20 00 00 00 e8 72 12 00 00 e9 44 fe ff ff 90 <0f> 0b 90 e9 ab fb ff ff 89 f1 80 e1 07 38 c1 0f 8c e0 f9 ff ff 48 RSP: 0018:ffffc9000301fb98 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff8881f703b1c0 RCX: 0000000000000003 RDX: dffffc0000000000 RSI: ffffffff83a677c0 RDI: ffffffff83bc8900 RBP: 0000000000000031 R08: ffff8881f702c4c3 R09: 1ffff1103ee05898 R10: dffffc0000000000 R11: ffffed103ee05899 R12: ffff8881f703bb28 R13: ffff8881f703bb68 R14: 1ffff1103ee0776f R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3725d3380 CR3: 00000001205c4000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: update_curr+0x494/0x6b0 kernel/sched/fair.c:1176 put_prev_entity kernel/sched/fair.c:5505 [inline] put_prev_task_fair+0x7f/0x1c0 kernel/sched/fair.c:8684 put_prev_task kernel/sched/sched.h:2352 [inline] put_prev_task_balance kernel/sched/core.c:5822 [inline] __pick_next_task kernel/sched/core.c:5879 [inline] pick_next_task kernel/sched/core.c:6374 [inline] __schedule+0x8bf/0x2510 kernel/sched/core.c:6522 preempt_schedule_common kernel/sched/core.c:6746 [inline] __cond_resched+0x99/0xe0 kernel/sched/core.c:7079 _cond_resched include/linux/sched.h:2022 [inline] count_strings_kernel fs/exec.c:484 [inline] kernel_execve+0x19f/0x830 fs/exec.c:2052 call_usermodehelper_exec_async+0x204/0x320 kernel/umh.c:110 ret_from_fork+0x32/0x60 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244