bisecting fixing commit since adc2e56ebe6377f5c032d96aee0feac30a640453 building syzkaller on aba2b2fb3544d9e42991237c13d8cada421deda5 testing commit adc2e56ebe6377f5c032d96aee0feac30a640453 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c4f0c981c94656d5d453e8ccba627ce258749ff4382be99c081592d31600ee7e all runs: crashed: general protection fault in virtio_transport_seqpacket_allow testing current HEAD f796fcd613a97f39cea2629ac39cc040158812d0 testing commit f796fcd613a97f39cea2629ac39cc040158812d0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 778233420cef0b45436d3346afeda25a9a508f11f761ea56164990434b1b7b5b all runs: OK # git bisect start f796fcd613a97f39cea2629ac39cc040158812d0 adc2e56ebe6377f5c032d96aee0feac30a640453 Bisecting: 6333 revisions left to test after this (roughly 13 steps) [71bd9341011f626d692aabe024f099820f02c497] Merge branch 'akpm' (patches from Andrew) testing commit 71bd9341011f626d692aabe024f099820f02c497 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 6e1e0a1ddc15ba840dc3802594099a4e72f15e8525f2430346614aacd467b7f0 all runs: OK # git bisect bad 71bd9341011f626d692aabe024f099820f02c497 Bisecting: 3211 revisions left to test after this (roughly 12 steps) [a6eaf3850cb171c328a8b0db6d3c79286a1eba9d] Merge tag 'sched-urgent-2021-06-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit a6eaf3850cb171c328a8b0db6d3c79286a1eba9d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 0c48853f2e1f7dc80ee5d2147c430b84a32cd1227212891b92ab1f5d544adbfe all runs: OK # git bisect bad a6eaf3850cb171c328a8b0db6d3c79286a1eba9d Bisecting: 1489 revisions left to test after this (roughly 11 steps) [31e798fd6f0ff0acdc49c1a358b581730936a09a] Merge tag 'media/v5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media testing commit 31e798fd6f0ff0acdc49c1a358b581730936a09a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 592e236a9ffa3db08aaddcf7d5771f7734b25bda622c50121b4816410d5d1f99 all runs: OK # git bisect bad 31e798fd6f0ff0acdc49c1a358b581730936a09a Bisecting: 897 revisions left to test after this (roughly 10 steps) [17cfb9d332243f6d2551818df27d666d3dd70a23] Merge tag 'm68k-for-v5.14-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k testing commit 17cfb9d332243f6d2551818df27d666d3dd70a23 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: c711425720d81b15580ad0fe9f2e613f7f50b62331cd6c74082e6c38a4fce4e2 all runs: OK # git bisect bad 17cfb9d332243f6d2551818df27d666d3dd70a23 Bisecting: 397 revisions left to test after this (roughly 9 steps) [c10383b3fb10286dfeac7754ca964ec992f6fe78] Merge tag 'regulator-v5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator testing commit c10383b3fb10286dfeac7754ca964ec992f6fe78 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 911d1070d0e2470b0e5edb71eadf2c04c62dd642791705de5c8ed80442756bb4 all runs: OK # git bisect bad c10383b3fb10286dfeac7754ca964ec992f6fe78 Bisecting: 167 revisions left to test after this (roughly 8 steps) [43bd8a67cd10e9526656e2bc160e52920bd9e43c] Merge tag 'for-5.14/libata-2021-06-27' of git://git.kernel.dk/linux-block testing commit 43bd8a67cd10e9526656e2bc160e52920bd9e43c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 0ff01774234b48bc53f0fc49b4ec38fc0a9eb6f44d4780179bcb9bfa2104e2d8 all runs: OK # git bisect bad 43bd8a67cd10e9526656e2bc160e52920bd9e43c Bisecting: 90 revisions left to test after this (roughly 7 steps) [9e736cf7d6f0dac63855ba74c94b85898485ba7a] Merge tag 'netfs-fixes-20210621' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs testing commit 9e736cf7d6f0dac63855ba74c94b85898485ba7a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 20749f7546e0487970ac459d9ee97583c2091b769bf56f28f197ea85a23e7c06 all runs: OK # git bisect bad 9e736cf7d6f0dac63855ba74c94b85898485ba7a Bisecting: 45 revisions left to test after this (roughly 6 steps) [7266f2030eb0e17c442aa6cf527263828eed79bd] Merge tag 'pm-5.13-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 7266f2030eb0e17c442aa6cf527263828eed79bd compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 34e253bb896b69f6eee45509b7a4f00ee8dd60d339422700000ab20dc69db1a6 all runs: OK # git bisect bad 7266f2030eb0e17c442aa6cf527263828eed79bd Bisecting: 21 revisions left to test after this (roughly 5 steps) [b84a7c286cecf0604a5f8bd5dfcd5e1ca7233e15] Merge tag 'powerpc-5.13-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux testing commit b84a7c286cecf0604a5f8bd5dfcd5e1ca7233e15 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 15cad25593eaeb75cb14be517c95368ffd4e939f87019a41d3680d7ff2b5b592 run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested 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 reproducer seems to be flaky # git bisect good b84a7c286cecf0604a5f8bd5dfcd5e1ca7233e15 Bisecting: 9 revisions left to test after this (roughly 4 steps) [9df7f15ee922429dcd6bcde68559ccb23f2dbd20] Merge tag 'irq_urgent_for_v5.13_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 9df7f15ee922429dcd6bcde68559ccb23f2dbd20 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 1397b88dd029a4de2518c32576c5e957bbd2c09d1d38e1fbaa6106574d0527b3 all runs: OK # git bisect bad 9df7f15ee922429dcd6bcde68559ccb23f2dbd20 Bisecting: 5 revisions left to test after this (roughly 3 steps) [efa165504943f2128d50f63de0c02faf6dcceb0d] x86/fpu: Reset state for all signal restore failures testing commit efa165504943f2128d50f63de0c02faf6dcceb0d compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: ec83934a8d0a8a76ab28ac20bf6ad826ab8d415deeec4df5635a97b9cbb6bdad run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested 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 # git bisect good efa165504943f2128d50f63de0c02faf6dcceb0d Bisecting: 2 revisions left to test after this (roughly 2 steps) [8363e795eb79a74c857ba89e3b04668a33fe3344] Merge tag 'x86_urgent_for_v5.13_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 8363e795eb79a74c857ba89e3b04668a33fe3344 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 1397b88dd029a4de2518c32576c5e957bbd2c09d1d38e1fbaa6106574d0527b3 all runs: OK # git bisect bad 8363e795eb79a74c857ba89e3b04668a33fe3344 Bisecting: 0 revisions left to test after this (roughly 1 step) [28e5e44aa3f4e0e0370864ed008fb5e2d85f4dc8] x86/mm: Avoid truncating memblocks for SGX memory testing commit 28e5e44aa3f4e0e0370864ed008fb5e2d85f4dc8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 57cb804462a7565184393863fac78034b7b2732afbff56de7d4b4aaf799ca2ca run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: crashed: BUG: sleeping function called from invalid context in lock_sock_nested 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 # git bisect good 28e5e44aa3f4e0e0370864ed008fb5e2d85f4dc8 8363e795eb79a74c857ba89e3b04668a33fe3344 is the first bad commit commit 8363e795eb79a74c857ba89e3b04668a33fe3344 Merge: b84a7c286cec 28e5e44aa3f4 Author: Linus Torvalds Date: Sun Jun 20 09:09:58 2021 -0700 Merge tag 'x86_urgent_for_v5.13_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull x86 fixes from Borislav Petkov: "A first set of urgent fixes to the FPU/XSTATE handling mess^W code. (There's a lot more in the pipe): - Prevent corruption of the XSTATE buffer in signal handling by validating what is being copied from userspace first. - Invalidate other task's preserved FPU registers on XRSTOR failure (#PF) because latter can still modify some of them. - Restore the proper PKRU value in case userspace modified it - Reset FPU state when signal restoring fails Other: - Map EFI boot services data memory as encrypted in a SEV guest so that the guest can access it and actually boot properly - Two SGX correctness fixes: proper resources freeing and a NUMA fix" * tag 'x86_urgent_for_v5.13_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/mm: Avoid truncating memblocks for SGX memory x86/sgx: Add missing xa_destroy() when virtual EPC is destroyed x86/fpu: Reset state for all signal restore failures x86/pkru: Write hardware init value to PKRU when xstate is init x86/process: Check PF_KTHREAD and not current->mm for kernel threads x86/fpu: Invalidate FPU state after a failed XRSTOR from a user buffer x86/fpu: Prevent state corruption in __fpu__restore_sig() x86/ioremap: Map EFI-reserved memory as encrypted for SEV arch/x86/include/asm/fpu/internal.h | 13 ++++++--- arch/x86/kernel/cpu/sgx/virt.c | 1 + arch/x86/kernel/fpu/signal.c | 54 ++++++++++++++++++++++++------------- arch/x86/mm/ioremap.c | 4 ++- arch/x86/mm/numa.c | 8 +++++- 5 files changed, 56 insertions(+), 24 deletions(-) Reproducer flagged being flaky revisions tested: 15, total time: 3h54m12.019746778s (build: 1h40m24.791834727s, test: 2h12m4.756188304s) first good commit: 8363e795eb79a74c857ba89e3b04668a33fe3344 Merge tag 'x86_urgent_for_v5.13_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip recipients (to): ["torvalds@linux-foundation.org"] recipients (cc): []