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