bisecting cause commit starting from 5438dd45831ee33869779bd1919b05816ae4dbc9 building syzkaller on d5a3ae1f760e7cb2cd5a721d9645ae22eae114fe testing commit 5438dd45831ee33869779bd1919b05816ae4dbc9 with gcc (GCC) 8.1.0 kernel signature: d0bedd44c9bfc14d736457b0dda516c489a636f8a32208127391c5ef6756bd65 all runs: crashed: INFO: task hung in tls_sk_proto_close testing release v5.8 testing commit bcf876870b95592b52519ed4aafcf9d95999bc9c with gcc (GCC) 8.1.0 kernel signature: dcc3a89f3d2a0f0b164b5503d8c8a1810345a34ab6fedd34fafd0219e470fe09 all runs: crashed: INFO: task hung in tls_sk_proto_close testing release v5.7 testing commit 3d77e6a8804abcc0504c904bd6e5cdf3a5cf8162 with gcc (GCC) 8.1.0 kernel signature: c4dda4341dc44d7577b46eb1fac5fa938c9f59ce7bc16d5c9ce390dc3dd4fe19 all runs: crashed: INFO: task hung in tls_sk_proto_close testing release v5.6 testing commit 7111951b8d4973bda27ff663f2cf18b663d15b48 with gcc (GCC) 8.1.0 kernel signature: e3319e9de91d3d99be5a4a6907f834af78e053c590672fa4c428d5c6fff8057e all runs: crashed: INFO: task hung in tls_sk_proto_close testing release v5.5 testing commit d5226fa6dbae0569ee43ecfc08bdcd6770fc4755 with gcc (GCC) 8.1.0 kernel signature: 105d5365ecbb4a190e1bcf964de64d5a1af6b9dca21d74f990ca06575eb33cd9 all runs: crashed: INFO: task hung in tls_sk_proto_close testing release v5.4 testing commit 219d54332a09e8d8741c1e1982f5eae56099de85 with gcc (GCC) 8.1.0 kernel signature: 982e05fe2f3207fdb9c77d021503dab92f59c385a3ccd88ee9de0ea42ce5f43c all runs: crashed: INFO: task hung in tls_sk_proto_close testing release v5.3 testing commit 4d856f72c10ecb060868ed10ff1b1453943fc6c8 with gcc (GCC) 8.1.0 kernel signature: 417d1a7736ed4feecafada5df68cff3789f2db80c4ed2a6abd94c622a8be10a5 all runs: crashed: INFO: task hung in tls_sw_cancel_work_tx testing release v5.2 testing commit 0ecfebd2b52404ae0c54a878c872bb93363ada36 with gcc (GCC) 8.1.0 kernel signature: 8c4ea0657398f1c0b17418b9609b7142d11d9dbd65086d6c2d9e27fcc22642d2 all runs: crashed: INFO: task hung in tls_sw_free_resources_tx testing release v5.1 testing commit e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd with gcc (GCC) 8.1.0 kernel signature: 332f9017635f17d4f57a88efc115f371338bda677edbde6adda86295121461f5 all runs: crashed: INFO: task hung in tls_sw_free_resources_tx testing release v5.0 testing commit 1c163f4c7b3f621efff9b28a47abb36f7378d783 with gcc (GCC) 8.1.0 kernel signature: a0d34ca6e1eda243e903a7cab37e4aac4de94bc3375c40284fe143ad2838088e all runs: OK # git bisect start e93c9c99a629c61837d5a7fc2120cd2b6c70dbdd 1c163f4c7b3f621efff9b28a47abb36f7378d783 Bisecting: 7074 revisions left to test after this (roughly 13 steps) [b5dd0c658c31b469ccff1b637e5124851e7a4a1c] Merge branch 'akpm' (patches from Andrew) testing commit b5dd0c658c31b469ccff1b637e5124851e7a4a1c with gcc (GCC) 8.1.0 kernel signature: 94185c64cb2d2c691136d6f4b6a0515e430595d1264e0652457cdcff83ee4d1e all runs: crashed: INFO: task hung in tls_sw_free_resources_tx # git bisect bad b5dd0c658c31b469ccff1b637e5124851e7a4a1c Bisecting: 3569 revisions left to test after this (roughly 12 steps) [3478588b5136966c80c571cf0006f08e9e5b8f04] Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 3478588b5136966c80c571cf0006f08e9e5b8f04 with gcc (GCC) 8.1.0 kernel signature: ded76f74b69bba87dbac857b88806b1ab55751ee8029457af282b16c799ad47b all runs: crashed: INFO: task hung in tls_sw_free_resources_tx # git bisect bad 3478588b5136966c80c571cf0006f08e9e5b8f04 Bisecting: 1673 revisions left to test after this (roughly 11 steps) [1a2566085650be593d464c4d73ac2d20ff67c058] Merge tag 'wireless-drivers-next-for-davem-2019-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers-next testing commit 1a2566085650be593d464c4d73ac2d20ff67c058 with gcc (GCC) 8.1.0 kernel signature: 44af9d2123a0a1dced512ee500c9432ccaf6d3b5284a59b20c43ae1c56d8996b all runs: crashed: INFO: task hung in tls_sw_free_resources_tx # git bisect bad 1a2566085650be593d464c4d73ac2d20ff67c058 Bisecting: 920 revisions left to test after this (roughly 10 steps) [deedf1feb255c7a390309f615e50de37cb82fb61] r8169: Avoid pointer aliasing testing commit deedf1feb255c7a390309f615e50de37cb82fb61 with gcc (GCC) 8.1.0 kernel signature: 1619942914dea0f2588befcbffda4d980a8b98eaa9ed1e407fb53133ce17bb9f all runs: crashed: INFO: task hung in tls_sw_free_resources_tx # git bisect bad deedf1feb255c7a390309f615e50de37cb82fb61 Bisecting: 432 revisions left to test after this (roughly 9 steps) [ec7146db150082737cbfeacaae0f33e42c95cf18] Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next testing commit ec7146db150082737cbfeacaae0f33e42c95cf18 with gcc (GCC) 8.1.0 kernel signature: eabe426093a19af2c006f54735c0a5ed1b5a4f9991d9923dbf3f48568625bddd all runs: boot failed: KASAN: use-after-free Read in generic_make_request # git bisect skip ec7146db150082737cbfeacaae0f33e42c95cf18 Bisecting: 432 revisions left to test after this (roughly 9 steps) [6e6b904ad4f9aed43ec320afbd5a52ed8461ab41] ip_tunnel: Fix route fl4 init in ip_md_tunnel_xmit testing commit 6e6b904ad4f9aed43ec320afbd5a52ed8461ab41 with gcc (GCC) 8.1.0 kernel signature: d1ad1bc09e3748bc7bfc0c328da2bdb1c130545a946113ca7cef796d597fd9fc run #0: crashed: general protection fault in batadv_iv_ogm_queue_add 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 # git bisect bad 6e6b904ad4f9aed43ec320afbd5a52ed8461ab41 Bisecting: 175 revisions left to test after this (roughly 8 steps) [4e15cbe829969b91729888f7466aceb5d85dd6b6] Merge branch 'r8169-series-with-smaller-improvements' testing commit 4e15cbe829969b91729888f7466aceb5d85dd6b6 with gcc (GCC) 8.1.0 kernel signature: a4771d57ef83814712f956bbef5f7f6dbf916cdbdc1c53a8bcb004444e14a7d6 all runs: OK # git bisect good 4e15cbe829969b91729888f7466aceb5d85dd6b6 Bisecting: 87 revisions left to test after this (roughly 7 steps) [02d21b59d5cc4b4b395bbc2a29319b8a529ebeff] mlxsw: spectrum_nve: Enable VXLAN on Spectrum-2 testing commit 02d21b59d5cc4b4b395bbc2a29319b8a529ebeff with gcc (GCC) 8.1.0 kernel signature: e29ace9fb6266fa946117f99bf901655362c3867b6c9f29f956fc748b7166623 run #0: crashed: general protection fault in batadv_iv_ogm_queue_add 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 # git bisect bad 02d21b59d5cc4b4b395bbc2a29319b8a529ebeff Bisecting: 43 revisions left to test after this (roughly 6 steps) [10b63e8543145d03de68735a3a2b6f3784dd4a33] r8169: remove PCI DAC support testing commit 10b63e8543145d03de68735a3a2b6f3784dd4a33 with gcc (GCC) 8.1.0 kernel signature: 822ad931c1ec13bfe6001132cef528bab6b7aa3256d028604da1dccece19e5e3 all runs: OK # git bisect good 10b63e8543145d03de68735a3a2b6f3784dd4a33 Bisecting: 21 revisions left to test after this (roughly 5 steps) [1538812e0880e805df3c132e307e9bfd963bf431] selftests: forwarding: Add a test for VXLAN asymmetric routing testing commit 1538812e0880e805df3c132e307e9bfd963bf431 with gcc (GCC) 8.1.0 kernel signature: 3dfc8443007f9b8e9bda16ab3b33c9d58dd1d74d87d57fc74340f69300492fd8 all runs: OK # git bisect good 1538812e0880e805df3c132e307e9bfd963bf431 Bisecting: 10 revisions left to test after this (roughly 4 steps) [33a0efa4baecd689da9474ce0e8b673eb6931c60] devlink: Use DIV_ROUND_UP_ULL in DEVLINK_HEALTH_SIZE_TO_BUFFERS testing commit 33a0efa4baecd689da9474ce0e8b673eb6931c60 with gcc (GCC) 8.1.0 kernel signature: f68bf8e7182813228e787b1a34d216e772feacfe29ababa17908cdc04c98ce58 all runs: OK # git bisect good 33a0efa4baecd689da9474ce0e8b673eb6931c60 Bisecting: 5 revisions left to test after this (roughly 3 steps) [9536d6ed156feda000a2c1660f98b01b7704d6dc] bna: Mark expected switch fall-throughs testing commit 9536d6ed156feda000a2c1660f98b01b7704d6dc with gcc (GCC) 8.1.0 kernel signature: c8d878eb25b8fc7be73118a2a2101c8121a37bd877455f67d7b3ed037be4f7f9 all runs: OK # git bisect good 9536d6ed156feda000a2c1660f98b01b7704d6dc Bisecting: 2 revisions left to test after this (roughly 2 steps) [eff42aa9986ec2c4ca7d778f2f04556f5b9e722b] mlxsw: spectrum: Expose functions to create and destroy underlay RIF testing commit eff42aa9986ec2c4ca7d778f2f04556f5b9e722b with gcc (GCC) 8.1.0 kernel signature: de6b6d712ac7359b390d95bf2acd55a2a9ff56b44e75c788bd21478ac49c9f08 all runs: OK # git bisect good eff42aa9986ec2c4ca7d778f2f04556f5b9e722b Bisecting: 1 revision left to test after this (roughly 1 step) [3179a56f6ed9341c3f7ca451039b9d2f99c48ab4] mlxsw: spectrum_nve: Breakout common code to a common function testing commit 3179a56f6ed9341c3f7ca451039b9d2f99c48ab4 with gcc (GCC) 8.1.0 kernel signature: 30991df12a200bbebaee150360c26b64e701c9a81a1d1ac2417002f7c80f2bca all runs: OK # git bisect good 3179a56f6ed9341c3f7ca451039b9d2f99c48ab4 Bisecting: 0 revisions left to test after this (roughly 0 steps) [4ee70efab68d2e99cfe9f32c9acc30b5a404d490] mlxsw: spectrum_nve: Add support for VXLAN on Spectrum-2 testing commit 4ee70efab68d2e99cfe9f32c9acc30b5a404d490 with gcc (GCC) 8.1.0 kernel signature: b672abd6fa5e3252cdbf14541e6c50559c28f237af7b6cc117a9bab9936f03d0 all runs: OK # git bisect good 4ee70efab68d2e99cfe9f32c9acc30b5a404d490 02d21b59d5cc4b4b395bbc2a29319b8a529ebeff is the first bad commit commit 02d21b59d5cc4b4b395bbc2a29319b8a529ebeff Author: Ido Schimmel Date: Wed Jan 23 14:32:59 2019 +0000 mlxsw: spectrum_nve: Enable VXLAN on Spectrum-2 Enable VXLAN on Spectrum-2 as previous patches added the required functionality. Note that for now Spectrum-1 and Spectrum-2 use the same function to determine whether the VXLAN configuration is valid or not. In the future, when the driver will be extended to support features not present in Spectrum-1, two different functions will be needed. Signed-off-by: Ido Schimmel Reviewed-by: Petr Machata Signed-off-by: David S. Miller .../net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) culprit signature: e29ace9fb6266fa946117f99bf901655362c3867b6c9f29f956fc748b7166623 parent signature: b672abd6fa5e3252cdbf14541e6c50559c28f237af7b6cc117a9bab9936f03d0 revisions tested: 25, total time: 5h51m21.305237265s (build: 2h25m11.101745141s, test: 3h23m37.836962286s) first bad commit: 02d21b59d5cc4b4b395bbc2a29319b8a529ebeff mlxsw: spectrum_nve: Enable VXLAN on Spectrum-2 recipients (to): ["davem@davemloft.net" "idosch@mellanox.com" "petrm@mellanox.com"] recipients (cc): [] crash: general protection fault in batadv_iv_ogm_queue_add batman_adv: batadv0: Removing interface: batadv_slave_0 batman_adv: batadv0: Interface deactivated: batadv_slave_1 batman_adv: batadv0: Removing interface: batadv_slave_1 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: 1 PID: 20693 Comm: kworker/u4:1 Not tainted 5.0.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: bat_events batadv_iv_send_outstanding_bat_ogm_packet RIP: 0010:batadv_iv_ogm_queue_add+0x9b/0xe50 net/batman-adv/bat_iv_ogm.c:611 Code: 44 89 8d 64 ff ff ff c7 02 f1 f1 f1 f1 c7 42 04 04 f2 f2 f2 48 89 fa 65 48 8b 0c 25 28 00 00 00 48 89 4d d0 31 c9 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 99 0b 00 00 RSP: 0018:ffff88809389fac0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8880a0e95340 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: ffff88809389fbd8 R08: ffff88809d123c80 R09: 0000000000000001 R10: ffffed1012713f8f R11: 0000000000000003 R12: ffff88809d123c80 R13: dffffc0000000000 R14: ffffed1013a2479e R15: 000000000000003c FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562341d7ab48 CR3: 00000000970af000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: batadv_iv_ogm_schedule+0xb47/0xe80 net/batman-adv/bat_iv_ogm.c:819 batadv_iv_send_outstanding_bat_ogm_packet+0x4a2/0x790 net/batman-adv/bat_iv_ogm.c:1681 process_one_work+0x7b9/0x15a0 kernel/workqueue.c:2153 worker_thread+0x85/0xb60 kernel/workqueue.c:2296 kthread+0x324/0x3e0 kernel/kthread.c:246 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 Modules linked in: ---[ end trace 768cf55fee870dcc ]--- RIP: 0010:batadv_iv_ogm_queue_add+0x9b/0xe50 net/batman-adv/bat_iv_ogm.c:611 Code: 44 89 8d 64 ff ff ff c7 02 f1 f1 f1 f1 c7 42 04 04 f2 f2 f2 48 89 fa 65 48 8b 0c 25 28 00 00 00 48 89 4d d0 31 c9 48 c1 ea 03 <0f> b6 04 02 48 89 fa 83 e2 07 38 d0 7f 08 84 c0 0f 85 99 0b 00 00 RSP: 0018:ffff88809389fac0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff8880a0e95340 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: ffff88809389fbd8 R08: ffff88809d123c80 R09: 0000000000000001 R10: ffffed1012713f8f R11: 0000000000000003 R12: ffff88809d123c80 R13: dffffc0000000000 R14: ffffed1013a2479e R15: 000000000000003c FS: 0000000000000000(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562341d7ab48 CR3: 00000000970af000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400