bisecting cause commit starting from 8ada228ac7ed08a2c5ce035089e858b103af09c4 building syzkaller on 426631ddb41a12ad156d0254fea375a9dfa607fc testing commit 8ada228ac7ed08a2c5ce035089e858b103af09c4 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_gem_free_object testing release v5.3 testing commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 with gcc (GCC) 8.1.0 all runs: OK # git bisect start 8ada228ac7ed08a2c5ce035089e858b103af09c4 v5.3 Bisecting: 9942 revisions left to test after this (roughly 13 steps) [3c2edc36a77420d8be05d656019dbc8c31535992] Merge tag 'pinctrl-v5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl testing commit 3c2edc36a77420d8be05d656019dbc8c31535992 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 3c2edc36a77420d8be05d656019dbc8c31535992 Bisecting: 4965 revisions left to test after this (roughly 12 steps) [aefcf2f4b58155d27340ba5f9ddbe9513da8286d] Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security testing commit aefcf2f4b58155d27340ba5f9ddbe9513da8286d with gcc (GCC) 8.1.0 all runs: OK # git bisect good aefcf2f4b58155d27340ba5f9ddbe9513da8286d Bisecting: 2478 revisions left to test after this (roughly 11 steps) [77be0869aac0217086dffb6391d77b26dc2d19f6] Merge remote-tracking branch 'net-next/master' testing commit 77be0869aac0217086dffb6391d77b26dc2d19f6 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 77be0869aac0217086dffb6391d77b26dc2d19f6 Bisecting: 1251 revisions left to test after this (roughly 10 steps) [afb4ac4fce39abe26885885c43da20128f40c939] Merge remote-tracking branch 'drm-misc/for-linux-next' testing commit afb4ac4fce39abe26885885c43da20128f40c939 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_gem_free_object # git bisect bad afb4ac4fce39abe26885885c43da20128f40c939 Bisecting: 612 revisions left to test after this (roughly 9 steps) [ddf4dacc4802fb16a1aa21dbf0138a742fa1ebfa] Merge remote-tracking branch 'drm/drm-next' testing commit ddf4dacc4802fb16a1aa21dbf0138a742fa1ebfa with gcc (GCC) 8.1.0 all runs: OK # git bisect good ddf4dacc4802fb16a1aa21dbf0138a742fa1ebfa Bisecting: 306 revisions left to test after this (roughly 8 steps) [cf21e76a6005016474623a375ae2e90364a02168] drm/amdgpu: return tcc_disabled_mask to userspace testing commit cf21e76a6005016474623a375ae2e90364a02168 with gcc (GCC) 8.1.0 all runs: OK # git bisect good cf21e76a6005016474623a375ae2e90364a02168 Bisecting: 153 revisions left to test after this (roughly 7 steps) [d6cb013579e743bc7bc5590ca35a1943f2b8f3c8] drm/komeda: SW workaround for D71 doesn't flush shadow registers testing commit d6cb013579e743bc7bc5590ca35a1943f2b8f3c8 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip d6cb013579e743bc7bc5590ca35a1943f2b8f3c8 Bisecting: 152 revisions left to test after this (roughly 7 steps) [d56276a13c2b9ea287b9fc7cc78bed4c43b286f9] drm/meson: vclk: use the correct G12A frac max value testing commit d56276a13c2b9ea287b9fc7cc78bed4c43b286f9 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip d56276a13c2b9ea287b9fc7cc78bed4c43b286f9 Bisecting: 152 revisions left to test after this (roughly 7 steps) [191ab21995b0412ff84946005663365cafd00dcc] drm/virtio: remove virtio_gpu_object_wait testing commit 191ab21995b0412ff84946005663365cafd00dcc with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip 191ab21995b0412ff84946005663365cafd00dcc Bisecting: 152 revisions left to test after this (roughly 7 steps) [f0a8f533adc202f7dc83961c85187794eaed9cec] drm/print: add drm_debug_enabled() testing commit f0a8f533adc202f7dc83961c85187794eaed9cec with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip f0a8f533adc202f7dc83961c85187794eaed9cec Bisecting: 152 revisions left to test after this (roughly 7 steps) [93c38d15ee59127f79cf1a740ae77ae6ecbe9d4a] drm/virtio: rework virtio_gpu_cmd_context_{attach, detach}_resource testing commit 93c38d15ee59127f79cf1a740ae77ae6ecbe9d4a with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip 93c38d15ee59127f79cf1a740ae77ae6ecbe9d4a Bisecting: 152 revisions left to test after this (roughly 7 steps) [e22b86e97317cff590e3b0775fc2c842c1bff098] drm/rect: Add drm_rect_init() testing commit e22b86e97317cff590e3b0775fc2c842c1bff098 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip e22b86e97317cff590e3b0775fc2c842c1bff098 Bisecting: 152 revisions left to test after this (roughly 7 steps) [c7581a414d28413c1dd6d116d44859b5a52e0950] drm: Use EOPNOTSUPP, not ENOTSUPP testing commit c7581a414d28413c1dd6d116d44859b5a52e0950 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip c7581a414d28413c1dd6d116d44859b5a52e0950 Bisecting: 152 revisions left to test after this (roughly 7 steps) [361cfabdb0f9370455a02aad576224acc45c88c5] MAINTAINERS: Update Allwinner DRM drivers entry testing commit 361cfabdb0f9370455a02aad576224acc45c88c5 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip 361cfabdb0f9370455a02aad576224acc45c88c5 Bisecting: 152 revisions left to test after this (roughly 7 steps) [a793f0eeb7f5ba0c2a19a40c5a238063f8d12f72] drm/panel: panel-simple: Set OSD070T1718 panel type testing commit a793f0eeb7f5ba0c2a19a40c5a238063f8d12f72 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip a793f0eeb7f5ba0c2a19a40c5a238063f8d12f72 Bisecting: 152 revisions left to test after this (roughly 7 steps) [141f6357f45c795f0cd2651b4749302279a45d9f] drm: tweak drm_print_bits() testing commit 141f6357f45c795f0cd2651b4749302279a45d9f with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip 141f6357f45c795f0cd2651b4749302279a45d9f Bisecting: 152 revisions left to test after this (roughly 7 steps) [710abfe8ead2477a3769c0c297c1df2833725bb6] drm/bridge: sil_sii8620: make remote control optional. testing commit 710abfe8ead2477a3769c0c297c1df2833725bb6 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_gem_free_object # git bisect bad 710abfe8ead2477a3769c0c297c1df2833725bb6 Bisecting: 113 revisions left to test after this (roughly 7 steps) [3b92198d6c279971069b86badaea73f626722cc3] drm: fix warnings in DSC testing commit 3b92198d6c279971069b86badaea73f626722cc3 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip 3b92198d6c279971069b86badaea73f626722cc3 Bisecting: 113 revisions left to test after this (roughly 7 steps) [9a2654c0f62a1704f36acb6329f9ccbd539f75ad] drm/panel: Add and fill drm_panel type field testing commit 9a2654c0f62a1704f36acb6329f9ccbd539f75ad with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip 9a2654c0f62a1704f36acb6329f9ccbd539f75ad Bisecting: 113 revisions left to test after this (roughly 7 steps) [64292b3336e415dbeccfeb16bf764d5be50d8512] Documentation: Fix warning in drm-kms-helpers.rst testing commit 64292b3336e415dbeccfeb16bf764d5be50d8512 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_gem_free_object # git bisect bad 64292b3336e415dbeccfeb16bf764d5be50d8512 Bisecting: 112 revisions left to test after this (roughly 7 steps) [5dec1affe0fa4c59fe02e5b5ec99c9cf8d2ca351] drm: sti: fix W=1 warnings testing commit 5dec1affe0fa4c59fe02e5b5ec99c9cf8d2ca351 with gcc (GCC) 8.1.0 all runs: boot failed: WARNING: workqueue cpumask: online intersect > possible intersect # git bisect skip 5dec1affe0fa4c59fe02e5b5ec99c9cf8d2ca351 Bisecting: 112 revisions left to test after this (roughly 7 steps) [50094b5dcd3238c0cf91a5768d0316adaeb32e45] drm/dp_mst: Destroy topology_mgr mutexes testing commit 50094b5dcd3238c0cf91a5768d0316adaeb32e45 with gcc (GCC) 8.1.0 drivers/gpu/drm/drm_dp_mst_topology.c:4301:20: error: ‘struct drm_dp_mst_topology_mgr’ has no member named ‘delayed_destroy_lock’ # git bisect skip 50094b5dcd3238c0cf91a5768d0316adaeb32e45 Bisecting: 112 revisions left to test after this (roughly 7 steps) [aed6105b28b10613f16c0bfe97525fe5a23338df] drm/drm_vblank: Change EINVAL by the correct errno testing commit aed6105b28b10613f16c0bfe97525fe5a23338df with gcc (GCC) 8.1.0 all runs: OK # git bisect good aed6105b28b10613f16c0bfe97525fe5a23338df Bisecting: 4 revisions left to test after this (roughly 2 steps) [8f6ea27b2fefdff58b3a038b5f1b4ed34aed3fd3] drm: two planes with the same zpos have undefined ordering testing commit 8f6ea27b2fefdff58b3a038b5f1b4ed34aed3fd3 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_gem_free_object # git bisect bad 8f6ea27b2fefdff58b3a038b5f1b4ed34aed3fd3 Bisecting: 1 revision left to test after this (roughly 1 step) [bfef04adb31261a98d8c3010079a46cbe829f531] drm/edid: Select DMT timing if EDID's display feature not support GTF testing commit bfef04adb31261a98d8c3010079a46cbe829f531 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_gem_free_object # git bisect bad bfef04adb31261a98d8c3010079a46cbe829f531 Bisecting: 1 revision left to test after this (roughly 1 step) [94e2ec3f7fef86506293a448273b2b4ee21e6195] drm/vkms: prime import support testing commit 94e2ec3f7fef86506293a448273b2b4ee21e6195 with gcc (GCC) 8.1.0 all runs: crashed: WARNING in vkms_gem_free_object # git bisect bad 94e2ec3f7fef86506293a448273b2b4ee21e6195 94e2ec3f7fef86506293a448273b2b4ee21e6195 is the first bad commit commit 94e2ec3f7fef86506293a448273b2b4ee21e6195 Author: Oleg Vasilev Date: Mon Sep 30 18:59:24 2019 +0300 drm/vkms: prime import support Bring dmabuf sharing through implementing prime_import_sg_table callback. This will help to validate userspace conformance in prime configurations without using any actual hardware (e.g. in the cloud). This enables kms_prime IGT testcase on vkms. V3: - Rodrigo: remove redundant vkms_gem_create_private V2: - Rodrigo: styleguide + return code check Cc: Rodrigo Siqueira Cc: Haneen Mohammed Cc: Daniel Vetter Cc: Simon Ser Tested-by: Rodrigo Siqueira Reviewed-by: Rodrigo Siqueira Signed-off-by: Oleg Vasilev Signed-off-by: Oleg Vasilev Signed-off-by: Rodrigo Siqueira Link: https://patchwork.freedesktop.org/patch/msgid/20190930155924.21845-1-oleg.vasilev@intel.com :040000 040000 8a1117e2e0032e093fe08c452378017e2c3dcde0 227d6206fdc1db492ec80b534128a0a95ba58bfc M drivers revisions tested: 28, total time: 7h9m19.456883195s (build: 2h46m28.62244154s, test: 4h13m19.057720363s) first bad commit: 94e2ec3f7fef86506293a448273b2b4ee21e6195 drm/vkms: prime import support cc: ["daniel@ffwll.ch" "hamohammed.sa@gmail.com" "oleg.vasilev@intel.com" "omrigann@gmail.com" "rodrigosiqueiramelo@gmail.com" "simon.ser@intel.com"] crash: WARNING in vkms_gem_free_object ------------[ cut here ]------------ WARNING: CPU: 1 PID: 7572 at drivers/gpu/drm/vkms/vkms_gem.c:37 vkms_gem_free_object+0x77/0x90 drivers/gpu/drm/vkms/vkms_gem.c:43 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 7572 Comm: syz-executor.1 Not tainted 5.4.0-rc1+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x113/0x167 lib/dump_stack.c:113 panic+0x223/0x4dc kernel/panic.c:220 __warn.cold.11+0x25/0x27 kernel/panic.c:581 report_bug+0x1b0/0x270 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:179 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:291 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028 RIP: 0010:vkms_gem_free_object+0x77/0x90 drivers/gpu/drm/vkms/vkms_gem.c:37 Code: 31 48 83 bb 88 02 00 00 00 75 23 48 8d bb f8 01 00 00 e8 fc 2a a5 fd 48 89 df e8 f4 a1 b5 ff 48 89 df e8 8c c5 ef fd 5b 5d c3 <0f> 0b eb b5 0f 0b eb d9 e8 9c 11 f0 fd eb c8 e8 95 11 f0 fd eb 99 RSP: 0018:ffff88808cee7b68 EFLAGS: 00010286 RAX: dffffc0000000000 RBX: ffff8880852f2900 RCX: ffffffff8307b801 RDX: 1ffff11010a5e56f RSI: 0000000000000004 RDI: ffff8880852f2b78 RBP: ffff88808cee7b70 R08: 0000000000000004 R09: ffffed10119dcf65 R10: ffffed10119dcf65 R11: 0000000000000003 R12: ffffffff888a0220 R13: ffff888219364180 R14: ffff8882193641a0 R15: ffff88808cee7ce0 drm_gem_object_free+0xe2/0x1e0 drivers/gpu/drm/drm_gem.c:983 kref_put include/linux/kref.h:65 [inline] drm_gem_object_put_unlocked+0xf1/0x130 drivers/gpu/drm/drm_gem.c:1017 drm_gem_object_handle_put_unlocked+0x161/0x260 drivers/gpu/drm/drm_gem.c:239 drm_gem_object_release_handle+0xd5/0x190 drivers/gpu/drm/drm_gem.c:261 idr_for_each+0x10c/0x1f0 lib/idr.c:208 drm_gem_release+0x1b/0x30 drivers/gpu/drm/drm_gem.c:939 drm_file_free.part.9+0x846/0xbb0 drivers/gpu/drm/drm_file.c:244 drm_file_free drivers/gpu/drm/drm_file.c:213 [inline] drm_close_helper drivers/gpu/drm/drm_file.c:271 [inline] drm_release+0x25a/0x3d0 drivers/gpu/drm/drm_file.c:443 __fput+0x25a/0x770 fs/file_table.c:280 ____fput+0x9/0x10 fs/file_table.c:313 task_work_run+0x108/0x180 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x24e/0x2e0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x4e8/0x5d0 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x413741 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffcb874a930 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000413741 RDX: 0000001b33120000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000001 R08: ffffffffffffffff R09: ffffffffffffffff R10: 00007ffcb874aa10 R11: 0000000000000293 R12: 000000000075bf20 R13: 000000000000d4e0 R14: 00000000007603f0 R15: 000000000075bf2c Kernel Offset: disabled Rebooting in 86400 seconds..