bisecting cause commit starting from a99d8080aaf358d5d23581244e5da23b35e340b9 building syzkaller on 76630fc9477809305ab0fc257f92826e7671cb7e testing commit a99d8080aaf358d5d23581244e5da23b35e340b9 with gcc (GCC) 8.1.0 all runs: crashed: general protection fault in j1939_jsk_del testing release v5.3 testing commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 with gcc (GCC) 8.1.0 all runs: OK # git bisect start a99d8080aaf358d5d23581244e5da23b35e340b9 4d856f72c10ecb060868ed10ff1b1453943fc6c8 Bisecting: 7459 revisions left to test after this (roughly 13 steps) [7d14df2d280fb7411eba2eb96682da0683ad97f6] Merge tag 'for-5.4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux testing commit 7d14df2d280fb7411eba2eb96682da0683ad97f6 with gcc (GCC) 8.1.0 all runs: crashed: general protection fault in j1939_jsk_del # git bisect bad 7d14df2d280fb7411eba2eb96682da0683ad97f6 Bisecting: 3781 revisions left to test after this (roughly 12 steps) [77dcfe2b9edc98286cf18e03c243c9b999f955d9] Merge tag 'pm-5.4-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 77dcfe2b9edc98286cf18e03c243c9b999f955d9 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 77dcfe2b9edc98286cf18e03c243c9b999f955d9 Bisecting: 1884 revisions left to test after this (roughly 11 steps) [c1b3ddf7c319722d939b09c288968feb12c12c15] Merge tag 'mac80211-next-for-davem-2019-09-11' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next testing commit c1b3ddf7c319722d939b09c288968feb12c12c15 with gcc (GCC) 8.1.0 all runs: crashed: general protection fault in j1939_jsk_del # git bisect bad c1b3ddf7c319722d939b09c288968feb12c12c15 Bisecting: 948 revisions left to test after this (roughly 10 steps) [6c7a00339e2a64b068c986301f37bd31eb83d7e9] cfg80211: Support assoc-at timer in sta-info testing commit 6c7a00339e2a64b068c986301f37bd31eb83d7e9 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 6c7a00339e2a64b068c986301f37bd31eb83d7e9 Bisecting: 473 revisions left to test after this (roughly 9 steps) [1ddee6d843d841414039414923620c8160aec623] Merge branch 'gianfar-some-assorted-cleanup' testing commit 1ddee6d843d841414039414923620c8160aec623 with gcc (GCC) 8.1.0 all runs: crashed: general protection fault in j1939_jsk_del # git bisect bad 1ddee6d843d841414039414923620c8160aec623 Bisecting: 237 revisions left to test after this (roughly 8 steps) [ce37115e3a5741219ceb0bb26de23faba6b93881] r8169: factor out reading MAC address from registers testing commit ce37115e3a5741219ceb0bb26de23faba6b93881 with gcc (GCC) 8.1.0 all runs: OK # git bisect good ce37115e3a5741219ceb0bb26de23faba6b93881 Bisecting: 115 revisions left to test after this (roughly 7 steps) [94810bd365cbcce4abc4af497aef4b68db7b4f2a] Merge tag 'mlx5-updates-2019-09-01-v2' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux testing commit 94810bd365cbcce4abc4af497aef4b68db7b4f2a with gcc (GCC) 8.1.0 all runs: OK # git bisect good 94810bd365cbcce4abc4af497aef4b68db7b4f2a Bisecting: 61 revisions left to test after this (roughly 6 steps) [f4d7c8e3da9173ac7b0498abc3aab0d320efe997] vsock/virtio: a better comment on credit update testing commit f4d7c8e3da9173ac7b0498abc3aab0d320efe997 with gcc (GCC) 8.1.0 all runs: OK # git bisect good f4d7c8e3da9173ac7b0498abc3aab0d320efe997 Bisecting: 40 revisions left to test after this (roughly 5 steps) [9d71dd0c70099914fcd063135da3c580865e924c] can: add support of SAE J1939 protocol testing commit 9d71dd0c70099914fcd063135da3c580865e924c with gcc (GCC) 8.1.0 all runs: crashed: general protection fault in j1939_jsk_del # git bisect bad 9d71dd0c70099914fcd063135da3c580865e924c Bisecting: 10 revisions left to test after this (roughly 3 steps) [6625a18e9ff6462ff81f740a331899b69ad6033e] can: af_can: give variable holding the CAN receiver and the receiver list a sensible name testing commit 6625a18e9ff6462ff81f740a331899b69ad6033e with gcc (GCC) 8.1.0 all runs: OK # git bisect good 6625a18e9ff6462ff81f740a331899b69ad6033e Bisecting: 5 revisions left to test after this (roughly 3 steps) [bdfb5765e45b86b599caf377a99826409f8403cb] can: af_can: remove NULL-ptr checks from users of can_dev_rcv_lists_find() testing commit bdfb5765e45b86b599caf377a99826409f8403cb with gcc (GCC) 8.1.0 all runs: OK # git bisect good bdfb5765e45b86b599caf377a99826409f8403cb Bisecting: 2 revisions left to test after this (roughly 2 steps) [9868b5d44f3df9dd75247acd23dddff0a42f79be] can: introduce CAN_REQUIRED_SIZE macro testing commit 9868b5d44f3df9dd75247acd23dddff0a42f79be with gcc (GCC) 8.1.0 all runs: OK # git bisect good 9868b5d44f3df9dd75247acd23dddff0a42f79be Bisecting: 0 revisions left to test after this (roughly 1 step) [f5223e9eee651e005c0f6d6d078909087601b7e9] can: extend sockaddr_can to include j1939 members testing commit f5223e9eee651e005c0f6d6d078909087601b7e9 with gcc (GCC) 8.1.0 all runs: OK # git bisect good f5223e9eee651e005c0f6d6d078909087601b7e9 9d71dd0c70099914fcd063135da3c580865e924c is the first bad commit commit 9d71dd0c70099914fcd063135da3c580865e924c Author: The j1939 authors Date: Mon Oct 8 11:48:36 2018 +0200 can: add support of SAE J1939 protocol SAE J1939 is the vehicle bus recommended practice used for communication and diagnostics among vehicle components. Originating in the car and heavy-duty truck industry in the United States, it is now widely used in other parts of the world. J1939, ISO 11783 and NMEA 2000 all share the same high level protocol. SAE J1939 can be considered the replacement for the older SAE J1708 and SAE J1587 specifications. Acked-by: Oliver Hartkopp Signed-off-by: Bastian Stender Signed-off-by: Elenita Hinds Signed-off-by: kbuild test robot Signed-off-by: Kurt Van Dijck Signed-off-by: Maxime Jayat Signed-off-by: Robin van der Gracht Signed-off-by: Oleksij Rempel Signed-off-by: Marc Kleine-Budde :040000 040000 6438450435a8d8353573ce224b3dc9bcc05336fa 7305e82a35c355e46b2660329eb868aa551e2b4c M Documentation :100644 100644 a081c477d1d16934701a8f744f6a44e0d280b3f9 844f416437c427107d7410ab5ab972a202ebe86a M MAINTAINERS :040000 040000 dd56832348e76ffa1949ca007d838d21854a0bfa dfca2d178b96f019a0a7ae1ab81a813b2064f5d3 M include :040000 040000 93492ef857a6d33d4eafc56c27db9f1e31803033 356932da79a67691bcedc6e71faa591f7e5f7392 M net revisions tested: 15, total time: 3h32m42.954469737s (build: 1h29m20.818783656s, test: 1h58m27.780804281s) first bad commit: 9d71dd0c70099914fcd063135da3c580865e924c can: add support of SAE J1939 protocol cc: ["bst@pengutronix.de" "dev.kurt@vandijck-laurijssen.be" "ecathinds@gmail.com" "linux-can@vger.kernel.org" "lkp@intel.com" "maxime.jayat@mobile-devices.fr" "mkl@pengutronix.de" "o.rempel@pengutronix.de" "robin@protonic.nl" "socketcan@hartkopp.net"] crash: general protection fault in j1939_jsk_del kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8053 Comm: syz-executor.1 Not tainted 5.3.0-rc7+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__lock_acquire+0xb89/0x4b70 kernel/locking/lockdep.c:3753 Code: 00 0f 85 bf 2b 00 00 48 81 c4 00 01 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 cf 2e 00 00 49 81 7d 00 60 55 34 89 0f 84 2d f5 RSP: 0018:ffff888078e9fae0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000218 RSI: 0000000000000000 RDI: 00000000000010c0 RBP: ffff888078e9fc08 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffff88808aefe140 R12: 0000000000000000 R13: 00000000000010c0 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f8014fac700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000007146b4 CR3: 000000009371d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x194/0x410 kernel/locking/lockdep.c:4412 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x31/0x40 kernel/locking/spinlock.c:175 spin_lock_bh include/linux/spinlock.h:343 [inline] j1939_jsk_del+0x2d/0x210 net/can/j1939/socket.c:90 j1939_sk_bind+0x271/0x870 net/can/j1939/socket.c:421 __sys_bind+0x1e1/0x230 net/socket.c:1647 __do_sys_bind net/socket.c:1658 [inline] __se_sys_bind net/socket.c:1656 [inline] __x64_sys_bind+0x6e/0xb0 net/socket.c:1656 do_syscall_64+0xd0/0x540 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a219 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f8014fabc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000031 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a219 RDX: 0000000000000018 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f8014fac6d4 R13: 00000000004c057e R14: 00000000004d2c50 R15: 00000000ffffffff Modules linked in: ---[ end trace 182f372953399279 ]--- RIP: 0010:__lock_acquire+0xb89/0x4b70 kernel/locking/lockdep.c:3753 Code: 00 0f 85 bf 2b 00 00 48 81 c4 00 01 00 00 5b 41 5c 41 5d 41 5e 41 5f 5d c3 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 <80> 3c 02 00 0f 85 cf 2e 00 00 49 81 7d 00 60 55 34 89 0f 84 2d f5 RSP: 0018:ffff888078e9fae0 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000218 RSI: 0000000000000000 RDI: 00000000000010c0 RBP: ffff888078e9fc08 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: ffff88808aefe140 R12: 0000000000000000 R13: 00000000000010c0 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f8014fac700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000007146b4 CR3: 000000009371d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400