ci starts bisection 2023-10-23 03:45:55.252723433 +0000 UTC m=+186559.673588718 bisecting cause commit starting from 2030579113a1b1b5bfd7ff24c0852847836d8fd1 building syzkaller on 361b23dca53619ee1dfd92dd6a74a7f3e58f270c ensuring issue is reproducible on original commit 2030579113a1b1b5bfd7ff24c0852847836d8fd1 testing commit 2030579113a1b1b5bfd7ff24c0852847836d8fd1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: be5214952eaae1985aba77731fe75802300866105685f60432f4bb981afe2094 run #0: crashed: BUG: corrupted list in ptp_release run #1: crashed: BUG: corrupted list in ptp_release run #2: crashed: BUG: corrupted list in ptp_release run #3: crashed: BUG: corrupted list in ptp_release run #4: crashed: BUG: corrupted list in ptp_release run #5: crashed: BUG: corrupted list in ptp_release run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_release run #9: crashed: BUG: corrupted list in ptp_release run #10: crashed: BUG: corrupted list in ptp_open run #11: crashed: BUG: corrupted list in ptp_release run #12: crashed: BUG: corrupted list in ptp_release run #13: crashed: BUG: corrupted list in ptp_release run #14: crashed: BUG: corrupted list in ptp_release run #15: crashed: BUG: corrupted list in ptp_open run #16: crashed: BUG: corrupted list in ptp_release run #17: crashed: BUG: corrupted list in ptp_open run #18: crashed: BUG: corrupted list in ptp_release run #19: crashed: BUG: corrupted list in ptp_release representative crash: BUG: corrupted list in ptp_release, types: [BUG] check whether we can drop unnecessary instrumentation disabling configs for [KASAN LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN], they are not needed testing commit 2030579113a1b1b5bfd7ff24c0852847836d8fd1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 4a1b823fa1764688c1d2916f27224d15a66b1074c5dfe60b206177351dda9f9e run #0: crashed: BUG: corrupted list in ptp_release run #1: crashed: BUG: corrupted list in ptp_release run #2: crashed: BUG: corrupted list in ptp_release run #3: crashed: BUG: corrupted list in ptp_release run #4: crashed: BUG: corrupted list in ptp_open run #5: crashed: BUG: corrupted list in ptp_release run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_open run #9: crashed: BUG: corrupted list in ptp_open representative crash: BUG: corrupted list in ptp_release, types: [BUG] the bug reproduces without the instrumentation disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed kconfig minimization: base=3883 full=7719 leaves diff=2024 split chunks (needed=false): <2024> split chunk #0 of len 2024 into 5 parts testing without sub-chunk 1/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 2030579113a1b1b5bfd7ff24c0852847836d8fd1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ce66486364d5c2a2d28ac0fbc44664ee2b9d0a403d055e9faa2592d2cff1d5ee run #0: crashed: BUG: corrupted list in ptp_open run #1: crashed: BUG: corrupted list in ptp_release run #2: crashed: BUG: corrupted list in ptp_release run #3: crashed: BUG: corrupted list in ptp_release run #4: crashed: BUG: corrupted list in ptp_release run #5: crashed: BUG: corrupted list in ptp_release run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_release run #9: crashed: BUG: corrupted list in ptp_open representative crash: BUG: corrupted list in ptp_open, types: [BUG] the chunk can be dropped testing without sub-chunk 2/5 disabling configs for [LOCKDEP ATOMIC_SLEEP HANG LEAK UBSAN KASAN], they are not needed testing commit 2030579113a1b1b5bfd7ff24c0852847836d8fd1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1483693759d5b009d3e9e49d3d346b39dc96ee02f0ecf11541b91b1a5c127d9d run #0: crashed: BUG: corrupted list in ptp_release run #1: crashed: BUG: corrupted list in ptp_open run #2: crashed: BUG: corrupted list in ptp_release run #3: crashed: BUG: corrupted list in ptp_open run #4: crashed: BUG: corrupted list in ptp_open run #5: crashed: BUG: corrupted list in ptp_release run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_open run #9: crashed: BUG: corrupted list in ptp_release representative crash: BUG: corrupted list in ptp_release, types: [BUG] the chunk can be dropped testing without sub-chunk 3/5 disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed testing commit 2030579113a1b1b5bfd7ff24c0852847836d8fd1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b67e880163d3c8801eceda4f28ef7eb21fa88e80a7f10956e6026b6c63c7a42f run #0: crashed: BUG: corrupted list in ptp_release run #1: crashed: BUG: corrupted list in ptp_release run #2: crashed: BUG: corrupted list in ptp_open run #3: crashed: BUG: corrupted list in ptp_release run #4: crashed: BUG: corrupted list in ptp_release run #5: crashed: BUG: corrupted list in ptp_open run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_release run #9: crashed: BUG: corrupted list in ptp_release representative crash: BUG: corrupted list in ptp_release, types: [BUG] the chunk can be dropped testing without sub-chunk 4/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 2030579113a1b1b5bfd7ff24c0852847836d8fd1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 3475c2acd19b64d82de5afdfffdb76cd6800eb930e5d3d00c14f4fd61e5f4957 run #0: crashed: BUG: corrupted list in ptp_open run #1: crashed: BUG: corrupted list in ptp_open run #2: crashed: BUG: corrupted list in ptp_open run #3: crashed: BUG: corrupted list in ptp_open run #4: crashed: BUG: corrupted list in ptp_open run #5: crashed: BUG: corrupted list in ptp_open run #6: crashed: BUG: corrupted list in ptp_open run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_release run #9: crashed: BUG: corrupted list in ptp_release representative crash: BUG: corrupted list in ptp_open, types: [BUG] the chunk can be dropped testing without sub-chunk 5/5 disabling configs for [ATOMIC_SLEEP HANG LEAK UBSAN KASAN LOCKDEP], they are not needed testing commit 2030579113a1b1b5bfd7ff24c0852847836d8fd1 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 826b0d0cc8e92e67ab3a83f9c5f9717669181d1299de33b5c1cd539dc84be552 run #0: crashed: BUG: corrupted list in ptp_open run #1: crashed: BUG: corrupted list in ptp_release run #2: crashed: BUG: corrupted list in ptp_release run #3: crashed: BUG: corrupted list in ptp_release run #4: crashed: BUG: corrupted list in ptp_release run #5: crashed: BUG: corrupted list in ptp_release run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_release run #9: crashed: BUG: corrupted list in ptp_release representative crash: BUG: corrupted list in ptp_open, types: [BUG] the chunk can be dropped disabling configs for [HANG LEAK UBSAN KASAN LOCKDEP ATOMIC_SLEEP], they are not needed picked [v6.5 v6.4 v6.3 v6.1 v5.19 v5.17 v5.15 v5.13 v5.10 v5.7 v5.4 v5.1 v4.19] out of 28 release tags testing release v6.5 testing commit 2dde18cd1d8fac735875f2e4987f11817cc0bc2c gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: dde44f8f7df83acb3994ad7cae0b9c2383b730e17aa2fc1ee3fff258716cd1ea all runs: OK false negative chance: 0.000 # git bisect start 2030579113a1b1b5bfd7ff24c0852847836d8fd1 2dde18cd1d8fac735875f2e4987f11817cc0bc2c Bisecting: 14330 revisions left to test after this (roughly 14 steps) [a5e0a4b11c4adbe6ab2c0aa6c8b1d59d0fccf56a] Merge tag 'platform-drivers-x86-v6.6-4' of git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86 testing commit a5e0a4b11c4adbe6ab2c0aa6c8b1d59d0fccf56a gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 5e4f85f2fd0fbb62283c4d838459747ccde529cf2571459e4c114e2d29c1d48f all runs: OK false negative chance: 0.000 # git bisect good a5e0a4b11c4adbe6ab2c0aa6c8b1d59d0fccf56a Bisecting: 7156 revisions left to test after this (roughly 13 steps) [8dd5b3258035ee10763a52ac26a9fdf09e18c1f9] Merge branch 'thermal/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git testing commit 8dd5b3258035ee10763a52ac26a9fdf09e18c1f9 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 0ba3803ff9db44b70b73641fc349adb0ab6e123dff10fb8010825997d2641340 all runs: OK false negative chance: 0.000 # git bisect good 8dd5b3258035ee10763a52ac26a9fdf09e18c1f9 Bisecting: 3646 revisions left to test after this (roughly 12 steps) [37a9b505514f0ed4447757452f1e39d3a373df59] Merge branch 'for-next' of https://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git testing commit 37a9b505514f0ed4447757452f1e39d3a373df59 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c9543c3d805dab40a5cb18689d1c7739fb7da36cdc4bcb872b81632abf040418 run #0: crashed: BUG: corrupted list in ptp_release run #1: crashed: BUG: corrupted list in ptp_release run #2: crashed: BUG: corrupted list in ptp_open run #3: crashed: BUG: corrupted list in ptp_release run #4: crashed: BUG: corrupted list in ptp_release run #5: crashed: BUG: corrupted list in ptp_release run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_release run #9: crashed: BUG: corrupted list in ptp_release representative crash: BUG: corrupted list in ptp_release, types: [BUG] # git bisect bad 37a9b505514f0ed4447757452f1e39d3a373df59 Bisecting: 1707 revisions left to test after this (roughly 11 steps) [f0e71646e0658342476447b75e2619a75891c954] Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git testing commit f0e71646e0658342476447b75e2619a75891c954 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 60815a7a339506020f35756ec7120dd0e65edc339323245b8123b015139a0392 run #0: crashed: BUG: corrupted list in ptp_release run #1: crashed: BUG: corrupted list in ptp_open run #2: crashed: BUG: corrupted list in ptp_release run #3: crashed: BUG: corrupted list in ptp_open run #4: crashed: BUG: corrupted list in ptp_open run #5: crashed: BUG: corrupted list in ptp_open run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_open run #9: crashed: BUG: corrupted list in ptp_release representative crash: BUG: corrupted list in ptp_release, types: [BUG] # git bisect bad f0e71646e0658342476447b75e2619a75891c954 Bisecting: 864 revisions left to test after this (roughly 10 steps) [a1fb841f9d189d257814562dacb3d65667f2a9c3] Merge tag 'wireless-next-2023-10-06' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next testing commit a1fb841f9d189d257814562dacb3d65667f2a9c3 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 467528d08e19bd8ff623f2a04d34f92b053fb212184868c084fbf32caad7cd9b all runs: OK false negative chance: 0.000 # git bisect good a1fb841f9d189d257814562dacb3d65667f2a9c3 Bisecting: 432 revisions left to test after this (roughly 9 steps) [5294df643ba6bfee5c70208f0318acd404c2e27d] docs: netlink: clean up after deprecating version testing commit 5294df643ba6bfee5c70208f0318acd404c2e27d gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ede297ba04c1e8d0a38ec646d9a73d7f3a18a8521677acab2deaf39d7f8fc2fd run #0: crashed: BUG: corrupted list in ptp_release run #1: crashed: BUG: corrupted list in ptp_open run #2: crashed: BUG: corrupted list in ptp_release run #3: crashed: BUG: corrupted list in ptp_open run #4: crashed: BUG: corrupted list in ptp_open run #5: crashed: BUG: corrupted list in ptp_release run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_release run #9: crashed: BUG: corrupted list in ptp_open representative crash: BUG: corrupted list in ptp_release, types: [BUG] # git bisect bad 5294df643ba6bfee5c70208f0318acd404c2e27d Bisecting: 234 revisions left to test after this (roughly 8 steps) [90de47f020db086f7929e09f64efd0cf627d6869] page_pool: fragment API support for 32-bit arch with 64-bit DMA testing commit 90de47f020db086f7929e09f64efd0cf627d6869 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 277fca476b2ab8e3b36fb503cf04ae2174bfad1e256445618a3fe14539a35a39 run #0: crashed: BUG: corrupted list in ptp_release run #1: crashed: BUG: corrupted list in ptp_open run #2: crashed: BUG: corrupted list in ptp_release run #3: crashed: BUG: corrupted list in ptp_open run #4: crashed: BUG: corrupted list in ptp_release run #5: crashed: BUG: corrupted list in ptp_open run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_open run #9: crashed: BUG: corrupted list in ptp_open representative crash: BUG: corrupted list in ptp_release, types: [BUG] # git bisect bad 90de47f020db086f7929e09f64efd0cf627d6869 Bisecting: 98 revisions left to test after this (roughly 7 steps) [0137407999879f992b9b9a7d0949168d3d010130] tls: add a helper to allocate/initialize offload_ctx_tx testing commit 0137407999879f992b9b9a7d0949168d3d010130 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: ab769f1f3a8742c83076a2392d0facb2795adb2c79cca630ce4ab5877e5cea83 all runs: OK false negative chance: 0.000 # git bisect good 0137407999879f992b9b9a7d0949168d3d010130 Bisecting: 49 revisions left to test after this (roughly 6 steps) [bac2cac12c266755fa4b933d88e70bc18580b80f] docs: net: description of MSG_ZEROCOPY for AF_VSOCK testing commit bac2cac12c266755fa4b933d88e70bc18580b80f gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 9b6a80a88b4fac7d248466c486da5a1a0e488e5f1f795741af645f5fe3602867 all runs: OK false negative chance: 0.000 # git bisect good bac2cac12c266755fa4b933d88e70bc18580b80f Bisecting: 24 revisions left to test after this (roughly 5 steps) [c5a445b1e9347b14752b01f1a304bd7a2f260acc] ptp: support event queue reader channel masks testing commit c5a445b1e9347b14752b01f1a304bd7a2f260acc gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: b5ecc5133e109979b981656c7c752afb11f07974e38487d4323e6c1de66be0bb run #0: crashed: BUG: corrupted list in ptp_release run #1: crashed: BUG: corrupted list in ptp_open run #2: crashed: BUG: corrupted list in ptp_release run #3: crashed: BUG: corrupted list in ptp_release run #4: crashed: BUG: corrupted list in ptp_release run #5: crashed: BUG: corrupted list in ptp_release run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_release run #8: crashed: BUG: corrupted list in ptp_release run #9: crashed: BUG: corrupted list in ptp_release representative crash: BUG: corrupted list in ptp_release, types: [BUG] # git bisect bad c5a445b1e9347b14752b01f1a304bd7a2f260acc Bisecting: 12 revisions left to test after this (roughly 4 steps) [5a423552e0d9bb882f22cb0bf85f520ca2692706] i40e: Add handler for devlink .info_get testing commit 5a423552e0d9bb882f22cb0bf85f520ca2692706 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: d2b42dacdf88e2748ae6b45f88c3e4b6b8b1e4c2be27bfeef47dc030222f2881 run #0: infra problem: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS ErrorDetails:[0xc00460aa00 0xc00460aaf0 0xc00460ab90] Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #1: infra problem: create image operation failed: &{Code:ZONE_RESOURCE_POOL_EXHAUSTED_WITH_DETAILS ErrorDetails:[0xc00460adc0 0xc00460aeb0 0xc00460af50] Location: Message:The zone 'projects/syzkaller/zones/us-central1-c' does not have enough resources available to fulfill the request. '(resource type:compute)'. ForceSendFields:[] NullFields:[]}. run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK false negative chance: 0.000 # git bisect good 5a423552e0d9bb882f22cb0bf85f520ca2692706 Bisecting: 6 revisions left to test after this (roughly 3 steps) [d7fbc0b7e846e9e0e70ae766d274b8720fbab412] dpll: netlink/core: add support for pin-dpll signal phase offset/adjust testing commit d7fbc0b7e846e9e0e70ae766d274b8720fbab412 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: 1a886edd1089d6e45359d84f085d7ef7dfb4d3f5c95cbc134e472a397745f40b all runs: OK false negative chance: 0.000 # git bisect good d7fbc0b7e846e9e0e70ae766d274b8720fbab412 Bisecting: 3 revisions left to test after this (roughly 2 steps) [99620ea03327c5e73407f48a6994578f71951a87] Merge branch 'dpll-phase-offset-phase-adjust' testing commit 99620ea03327c5e73407f48a6994578f71951a87 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: eefe76bc1ed562ec00b051c2a7e9110724e6f9ad5a8063160388ffd2a7ad605d all runs: OK false negative chance: 0.000 # git bisect good 99620ea03327c5e73407f48a6994578f71951a87 Bisecting: 1 revision left to test after this (roughly 1 step) [d26ab5a35ad9920940a9e07665130d501b2ae1a3] ptp: Replace timestamp event queue with linked list testing commit d26ab5a35ad9920940a9e07665130d501b2ae1a3 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: a7ced131f075c329add54191b955bc9d36a8e901b8fce2c2e75da09a0e60423c all runs: OK false negative chance: 0.000 # git bisect good d26ab5a35ad9920940a9e07665130d501b2ae1a3 Bisecting: 0 revisions left to test after this (roughly 0 steps) [8f5de6fb245326704f37d91780b9a10253a8a100] ptp: support multiple timestamp event readers testing commit 8f5de6fb245326704f37d91780b9a10253a8a100 gcc compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 kernel signature: c9996145a1bd2eecaa3e09d359c9dee200fafe72e93f2899a17bc82a8a437b6f run #0: crashed: BUG: corrupted list in ptp_open run #1: crashed: BUG: corrupted list in ptp_release run #2: crashed: BUG: corrupted list in ptp_open run #3: crashed: BUG: corrupted list in ptp_open run #4: crashed: BUG: corrupted list in ptp_release run #5: crashed: BUG: corrupted list in ptp_release run #6: crashed: BUG: corrupted list in ptp_release run #7: crashed: BUG: corrupted list in ptp_open run #8: crashed: BUG: corrupted list in ptp_release run #9: crashed: BUG: corrupted list in ptp_open representative crash: BUG: corrupted list in ptp_open, types: [BUG] # git bisect bad 8f5de6fb245326704f37d91780b9a10253a8a100 8f5de6fb245326704f37d91780b9a10253a8a100 is the first bad commit commit 8f5de6fb245326704f37d91780b9a10253a8a100 Author: Xabier Marquiegui Date: Thu Oct 12 00:39:55 2023 +0200 ptp: support multiple timestamp event readers Use linked lists to create one event queue per open file. This enables simultaneous readers for timestamp event queues. Signed-off-by: Xabier Marquiegui Suggested-by: Richard Cochran Signed-off-by: David S. Miller drivers/ptp/ptp_chardev.c | 68 ++++++++++++++++++++++++++++++++++------------- drivers/ptp/ptp_clock.c | 6 ++--- drivers/ptp/ptp_private.h | 1 - drivers/ptp/ptp_sysfs.c | 9 +++---- 4 files changed, 55 insertions(+), 29 deletions(-) accumulated error probability: 0.00 culprit signature: c9996145a1bd2eecaa3e09d359c9dee200fafe72e93f2899a17bc82a8a437b6f parent signature: a7ced131f075c329add54191b955bc9d36a8e901b8fce2c2e75da09a0e60423c revisions tested: 23, total time: 6h32m30.525050634s (build: 3h17m14.059697926s, test: 2h46m48.763420988s) first bad commit: 8f5de6fb245326704f37d91780b9a10253a8a100 ptp: support multiple timestamp event readers recipients (to): ["davem@davemloft.net" "netdev@vger.kernel.org" "reibax@gmail.com" "richardcochran@gmail.com"] recipients (cc): ["linux-kernel@vger.kernel.org"] crash: BUG: corrupted list in ptp_open list_add corruption. prev->next should be next (ffff8881052515e0), but was 0000000000000000. (prev=ffff88810e689048). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:32! invalid opcode: 0000 [#1] PREEMPT SMP CPU: 0 PID: 4441 Comm: syz-executor.5 Not tainted 6.6.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:__list_add_valid_or_report+0x74/0x90 lib/list_debug.c:32 Code: b9 ff 0f 0b 48 89 c1 48 c7 c7 d8 c0 16 82 e8 73 f1 b9 ff 0f 0b 48 89 d1 48 89 c6 4c 89 c2 48 c7 c7 30 c1 16 82 e8 5c f1 b9 ff <0f> 0b 48 89 f2 48 89 c1 48 89 fe 48 c7 c7 88 c1 16 82 e8 45 f1 b9 RSP: 0018:ffffc90001e0bc58 EFLAGS: 00010246 RAX: 0000000000000075 RBX: ffff88810630c000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff820df580 RDI: 00000000ffffffff RBP: ffff88810be75e30 R08: 0000000000000000 R09: ffff888106368a50 R10: 0000000000080000 R11: 0000000000000004 R12: ffff888105251000 R13: ffff88810e689048 R14: ffff88810630d048 R15: ffff8881052515e0 FS: 00007f6085f286c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60864c6988 CR3: 00000001063de000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __list_add_valid include/linux/list.h:88 [inline] __list_add include/linux/list.h:150 [inline] list_add_tail include/linux/list.h:183 [inline] ptp_open+0x76/0xb0 drivers/ptp/ptp_chardev.c:114 posix_clock_open+0x63/0xa0 kernel/time/posix-clock.c:134 chrdev_open+0xc6/0x240 fs/char_dev.c:414 do_dentry_open+0x200/0x500 fs/open.c:929 do_open fs/namei.c:3639 [inline] path_openat+0x960/0xc30 fs/namei.c:3796 do_filp_open+0xae/0x150 fs/namei.c:3823 do_sys_openat2+0xa2/0xd0 fs/open.c:1422 do_sys_open fs/open.c:1437 [inline] __do_sys_openat fs/open.c:1453 [inline] __se_sys_openat fs/open.c:1448 [inline] __x64_sys_openat+0x69/0x90 fs/open.c:1448 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f60863a5ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f6085f280c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f60864c4f80 RCX: 00007f60863a5ae9 RDX: 0000000000000000 RSI: 0000000020000300 RDI: ffffffffffffff9c RBP: 00007f60863f147a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f60864c4f80 R15: 00007ffddce878a8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__list_add_valid_or_report+0x74/0x90 lib/list_debug.c:32 Code: b9 ff 0f 0b 48 89 c1 48 c7 c7 d8 c0 16 82 e8 73 f1 b9 ff 0f 0b 48 89 d1 48 89 c6 4c 89 c2 48 c7 c7 30 c1 16 82 e8 5c f1 b9 ff <0f> 0b 48 89 f2 48 89 c1 48 89 fe 48 c7 c7 88 c1 16 82 e8 45 f1 b9 RSP: 0018:ffffc90001e0bc58 EFLAGS: 00010246 RAX: 0000000000000075 RBX: ffff88810630c000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff820df580 RDI: 00000000ffffffff RBP: ffff88810be75e30 R08: 0000000000000000 R09: ffff888106368a50 R10: 0000000000080000 R11: 0000000000000004 R12: ffff888105251000 R13: ffff88810e689048 R14: ffff88810630d048 R15: ffff8881052515e0 FS: 00007f6085f286c0(0000) GS:ffff888237c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f60864c6988 CR3: 00000001063de000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400