ci starts bisection 2024-07-14 09:21:43.434048037 +0000 UTC m=+204659.370448295 bisecting cause commit starting from 3fe121b622825ff8cc995a1e6b026181c48188db building syzkaller on eaeb5c15ad704753a93bc8f8c7fc422d2a189581 ensuring issue is reproducible on original commit 3fe121b622825ff8cc995a1e6b026181c48188db testing commit 3fe121b622825ff8cc995a1e6b026181c48188db gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d736f0ed4478f721af2d5ad3e75dc5c794ebc994b1fe8283d011d0978aa684de all runs: crashed: KASAN: slab-use-after-free Read in handle_mm_fault representative crash: KASAN: slab-use-after-free Read in handle_mm_fault, types: [KASAN] check whether we can drop unnecessary instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 3fe121b622825ff8cc995a1e6b026181c48188db gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 16890da7219d2ced02364bf2bf07236caa6e218ad764ec5f1b10ce69b07e4f1e run #0: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #1: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #2: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #3: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #4: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #5: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #6: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #7: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #8: OK run #9: OK representative crash: KASAN: slab-use-after-free Read in handle_mm_fault, types: [KASAN] the bug reproduces without the instrumentation disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed kconfig minimization: base=4001 full=8092 leaves diff=2010 split chunks (needed=false): <2010> split chunk #0 of len 2010 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN BUG LOCKDEP], they are not needed testing commit 3fe121b622825ff8cc995a1e6b026181c48188db gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e16ecc18e4f70e95dfaa4065d4349a123853f683432b216f05ff269f33b0e015 all runs: crashed: KASAN: slab-use-after-free Read in handle_mm_fault representative crash: KASAN: slab-use-after-free Read in handle_mm_fault, types: [KASAN] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [HANG LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 3fe121b622825ff8cc995a1e6b026181c48188db gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ba9d7bc11e4d1d518a91d4b7867e10d2f093f07873b45e3984561be1bddac54b all runs: crashed: KASAN: slab-use-after-free Read in handle_mm_fault representative crash: KASAN: slab-use-after-free Read in handle_mm_fault, types: [KASAN] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [BUG LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 3fe121b622825ff8cc995a1e6b026181c48188db gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f17ab379d94f3f97ae09e3ceb7ce65a69211c9967e302fd5c2129845f4e3bd76 run #0: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #1: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #2: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #3: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #4: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #5: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #6: OK run #7: OK run #8: OK run #9: OK representative crash: KASAN: slab-use-after-free Read in handle_mm_fault, types: [KASAN] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG LEAK], they are not needed testing commit 3fe121b622825ff8cc995a1e6b026181c48188db gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4cf7ce02ec37571581d9033a417dc7ea801ea8514f32ae8d8b7c7f3a04a3b502 run #0: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #1: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #2: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #3: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #4: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #5: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #6: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #7: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #8: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #9: OK representative crash: KASAN: slab-use-after-free Read in handle_mm_fault, types: [KASAN] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN BUG], they are not needed testing commit 3fe121b622825ff8cc995a1e6b026181c48188db gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ce8693487415d1ea3a61a013fcf34e20c9ad0e35b922c1fdfaa9bce4c678e2d3 run #0: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #1: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #2: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #3: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #4: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #5: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #6: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #7: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #8: OK run #9: OK representative crash: KASAN: slab-use-after-free Read in handle_mm_fault, types: [KASAN] the chunk can be dropped disabling configs for [LEAK UBSAN BUG LOCKDEP ATOMIC_SLEEP HANG], they are not needed picked [v6.9 v6.8 v6.7 v6.5 v6.3 v6.1 v5.19 v5.17 v5.14 v5.11 v5.8 v5.5 v5.2 v4.20 v4.19] out of 32 release tags testing release v6.9 testing commit a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c5cd3fa09e07d9b59b776237bcce8502205d0e962b31df5ab6fce0d12f641ff5 all runs: OK false negative chance: 0.000 # git bisect start 3fe121b622825ff8cc995a1e6b026181c48188db a38297e3fb012ddfa7ce0321a7e5a8daeb1872b6 Bisecting: 13585 revisions left to test after this (roughly 14 steps) [d6c941570680d4d11e5c7480c3bcbeff8d3860f9] Merge tag 'drm-fixes-2024-06-22' of https://gitlab.freedesktop.org/drm/kernel testing commit d6c941570680d4d11e5c7480c3bcbeff8d3860f9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a7add67521a7c9faab5578c688fe7cabbd8bea76d5d63f1d26ee4c03a1588d31 all runs: OK false negative chance: 0.000 # git bisect good d6c941570680d4d11e5c7480c3bcbeff8d3860f9 Bisecting: 6643 revisions left to test after this (roughly 13 steps) [7a2a233b7cda0a8d617f0fc634e552559c202b98] Merge branch 'main' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git testing commit 7a2a233b7cda0a8d617f0fc634e552559c202b98 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 7f22c1a263f6c9a5406dcccca62cfa1132aa90703a11ab1659690c226cb05c24 all runs: OK false negative chance: 0.000 # git bisect good 7a2a233b7cda0a8d617f0fc634e552559c202b98 Bisecting: 3360 revisions left to test after this (roughly 12 steps) [ef1d82ebacf0674418f56fd831bf87e669a3ab74] Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git testing commit ef1d82ebacf0674418f56fd831bf87e669a3ab74 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0c43862d554d499a34ca988b2916a87c9bd099ea6b2446d4c9160624eb8ea5b6 all runs: OK false negative chance: 0.000 # git bisect good ef1d82ebacf0674418f56fd831bf87e669a3ab74 Bisecting: 1662 revisions left to test after this (roughly 11 steps) [f0e967b431b7f92c0d411ed4a958db1e07531f0d] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git testing commit f0e967b431b7f92c0d411ed4a958db1e07531f0d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 21108260ae4699bc99cd1257b614621393ee2ef0f82b02139a975880e37c4b9e all runs: OK false negative chance: 0.000 # git bisect good f0e967b431b7f92c0d411ed4a958db1e07531f0d Bisecting: 885 revisions left to test after this (roughly 10 steps) [f2519b6bdca3a2ec7ef893983e2856c3191e5db9] Merge branch 'next' of git://github.com/awilliam/linux-vfio.git testing commit f2519b6bdca3a2ec7ef893983e2856c3191e5db9 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a636a6b2d7057c0cd6b84bb2153951a754eaab9920b5e4a51fc50a9d35d04f45 all runs: OK false negative chance: 0.000 # git bisect good f2519b6bdca3a2ec7ef893983e2856c3191e5db9 Bisecting: 482 revisions left to test after this (roughly 9 steps) [b2aadf9aab55b0e1638569993f3484ec4399d798] Merge branch 'gpio/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git testing commit b2aadf9aab55b0e1638569993f3484ec4399d798 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0d30e0fdbf3d7a15d8f5082692301d4699d8f37bfc51508bc19fac909dea891c all runs: OK false negative chance: 0.000 # git bisect good b2aadf9aab55b0e1638569993f3484ec4399d798 Bisecting: 222 revisions left to test after this (roughly 8 steps) [3dc8483c480c48b77805a7aecde16bb2b40ec9b2] Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching testing commit 3dc8483c480c48b77805a7aecde16bb2b40ec9b2 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5dbab4e8d70281cab853175a77ffe9bd749077ad37f614933d44690620ebafd7 all runs: OK false negative chance: 0.000 # git bisect good 3dc8483c480c48b77805a7aecde16bb2b40ec9b2 Bisecting: 110 revisions left to test after this (roughly 7 steps) [67e2dacbc28c386f7601f75f7f354903a812c300] Merge branch 'slab/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vbabka/slab.git testing commit 67e2dacbc28c386f7601f75f7f354903a812c300 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 943f1d943c11fad564eeb405844be6f7622caf85b0300df4a180e28820cb058c all runs: OK false negative chance: 0.000 # git bisect good 67e2dacbc28c386f7601f75f7f354903a812c300 Bisecting: 56 revisions left to test after this (roughly 6 steps) [e3686e1e1408a60ce56d4701fc71115285f13ec6] Merge branch 'for-next/execve' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git testing commit e3686e1e1408a60ce56d4701fc71115285f13ec6 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a042efdaa877b47c6506c011d1f747995e59dd392b0fd4fd22c2ebbffc6a34f9 run #0: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #1: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #2: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #3: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #4: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #5: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #6: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #7: crashed: KASAN: slab-use-after-free Read in handle_mm_fault run #8: OK run #9: OK representative crash: KASAN: slab-use-after-free Read in handle_mm_fault, types: [KASAN] # git bisect bad e3686e1e1408a60ce56d4701fc71115285f13ec6 Bisecting: 27 revisions left to test after this (roughly 5 steps) [b1263411112305acf2af728728591465becb45b0] docs: rust: quick-start: add section on Linux distributions testing commit b1263411112305acf2af728728591465becb45b0 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: e4a23f4a95b28c683a02c94b402039068516ccc6af14440c2b8f6920b18041b4 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 representative crash: lost connection to test machine, types: [UNKNOWN] # git bisect bad b1263411112305acf2af728728591465becb45b0 Bisecting: 12 revisions left to test after this (roughly 4 steps) [1f9a8286bc0c3df7d789ea625d9d9db3d7779f2d] uaccess: always export _copy_[from|to]_user with CONFIG_RUST testing commit 1f9a8286bc0c3df7d789ea625d9d9db3d7779f2d gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 787e806ed80d68b959b632e7b6914fb0ff77dc615d29404fcb3201c78c04635e all runs: OK false negative chance: 0.000 # git bisect good 1f9a8286bc0c3df7d789ea625d9d9db3d7779f2d Bisecting: 6 revisions left to test after this (roughly 3 steps) [f8f88aa25a03ce1e0fc8a9842840988b870f0c37] rust: relax most deny-level lints to warnings testing commit f8f88aa25a03ce1e0fc8a9842840988b870f0c37 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9b507d81c45f1457e143a05c21644b250a8159961b24e867097699f974480500 all runs: OK false negative chance: 0.000 # git bisect good f8f88aa25a03ce1e0fc8a9842840988b870f0c37 Bisecting: 3 revisions left to test after this (roughly 2 steps) [d49082faf6a001019693a837dea7b958048c731c] rust: avoid assuming a particular `bindgen` build testing commit d49082faf6a001019693a837dea7b958048c731c gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 2711111b618f78455600ca470a5abc3602f085108a92bb93bcbe4481afd822f6 all runs: OK false negative chance: 0.000 # git bisect good d49082faf6a001019693a837dea7b958048c731c Bisecting: 1 revision left to test after this (roughly 1 step) [c844fa64a2d46982fe75e834f4a46c46d2b3b2e5] rust: start supporting several `bindgen` versions testing commit c844fa64a2d46982fe75e834f4a46c46d2b3b2e5 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: f21b0d2d13af605a254467e64788110e28f6f4e1d24c5b96a9478a28506f784f all runs: OK false negative chance: 0.000 # git bisect good c844fa64a2d46982fe75e834f4a46c46d2b3b2e5 Bisecting: 0 revisions left to test after this (roughly 0 steps) [981ad93c89a3c600dee9795d3ead105acc805483] rust: warn about `bindgen` versions 0.66.0 and 0.66.1 testing commit 981ad93c89a3c600dee9795d3ead105acc805483 gcc compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3e53ce23cf2c1af11c68a38eaf29771da22ad7f25a4ad82c411ba58f26427d14 all runs: OK false negative chance: 0.000 # git bisect good 981ad93c89a3c600dee9795d3ead105acc805483 b1263411112305acf2af728728591465becb45b0 is the first bad commit commit b1263411112305acf2af728728591465becb45b0 Author: Miguel Ojeda Date: Tue Jul 9 18:06:08 2024 +0200 docs: rust: quick-start: add section on Linux distributions Now that we are starting to support several Rust compiler and `bindgen` versions, there is a good chance some Linux distributions work out of the box. Thus, provide some instructions on how to set the toolchain up for a few major Linux distributions. This simplifies the setup users need to build the kernel. In addition, add an introduction to the document so that it is easier to understand its structure and move the LLVM+Rust kernel.org toolchains paragraph there (removing "depending on the Linux version"). We may want to reorganize the document or split it in the future, but I wanted to focus this commit on the new information added about each particular distribution. Finally, remove the `rustup`'s components mention in `changes.rst` since users do not need it if they install the toolchain via the distributions (and anyway it was too detailed for that main document). Cc: Jan Alexander Steffens Cc: Johannes Löthberg Cc: Fabian Grünbichler Cc: Josh Stone Cc: Randy Barlow Cc: Anna (navi) Figueiredo Gomes Cc: Matoro Mahri Cc: Ryan Scheel Cc: figsoda Cc: Jörg Thalheim Cc: Theodore Ni <43ngvg@masqt.com> Cc: Winter Cc: William Brown Cc: Xiaoguang Wang Cc: Andrea Righi Cc: Zixing Liu Cc: Nathan Chancellor Tested-by: Benno Lossin Tested-by: Andreas Hindborg Link: https://lore.kernel.org/r/20240709160615.998336-14-ojeda@kernel.org Signed-off-by: Miguel Ojeda Documentation/process/changes.rst | 5 -- Documentation/rust/quick-start.rst | 93 +++++++++++++++++++++++++++++++++----- 2 files changed, 81 insertions(+), 17 deletions(-) accumulated error probability: 0.00 culprit signature: e4a23f4a95b28c683a02c94b402039068516ccc6af14440c2b8f6920b18041b4 parent signature: 3e53ce23cf2c1af11c68a38eaf29771da22ad7f25a4ad82c411ba58f26427d14 reproducer is flaky (0.45 repro chance estimate) revisions tested: 23, total time: 8h43m23.072653967s (build: 3h43m54.685583556s, test: 4h39m32.489534198s) first bad commit: b1263411112305acf2af728728591465becb45b0 docs: rust: quick-start: add section on Linux distributions recipients (to): ["a.hindborg@samsung.com" "benno.lossin@proton.me" "ojeda@kernel.org"] recipients (cc): [] crash: lost connection to test machine