github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/dashboard/config/linux/bits/android-5.10.yml (about)

     1  # Copyright 2021 syzkaller project authors. All rights reserved.
     2  # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     3  
     4  # See https://source.android.com/setup/build/building-kernels
     5  # for details on how to checkout and build Android kernel.
     6  
     7  # Following branch: android13-5.10-lts
     8  kernel:
     9   repo: https://android.googlesource.com/kernel/common
    10   tag: 3a582928e6d19
    11  
    12  shell:
    13   - make gki_defconfig
    14  
    15  config:
    16   # 5.10 has lots of io_uring bugs that are not easy (if not impossible) to backport, e.g.:
    17   #
    18   # KASAN: use-after-free Read in io_uring_cancel_task_requests
    19   # KASAN: use-after-free Read in io_kill_linked_timeout
    20   # KASAN: invalid-free in io_dismantle_req
    21   # KASAN: use-after-free Read in __fdget_raw
    22   # KASAN: stack-out-of-bounds Read in iov_iter_revert
    23   # general protection fault in io_prep_async_work
    24   #
    25   # An attempt to back-port usually fails because there is too many changes/dependencies
    26   # that went in between v5.10 and v5.12, where most of the io_uring issues are fixed.
    27   # After comparing io_uring related git history between 5.10 and 5.12, the diff is
    28   # around 180 commits, from which half are fixes and the rest additions/new features.
    29   # None of these have been marked with 'Fixes' or cc'ed to stable, so it is very
    30   # unlikely that these are going to be fixed in 5.10 stable kernel.
    31   - IO_URING: n
    32  
    33   # Android has back-ported the KASAN_STACK_ENABLE => KASAN_STACK rename from v5.11
    34   - KASAN_STACK_ENABLE: [n, override]
    35   - KASAN_STACK: [override]