LKFT started testing KCSAN enabled kernel from the linux next tree.
Here we have found BUG: KCSAN: data-race in dec_zone_page_state /
write_cache_pages
This report is from an x86_64 machine clang-11 linux next 20201201.
Since we are running for the first time we do not call this regression.
[ 45.484972] BUG: KCSAN: data-race in dec_zone_page_state / write_cache_pages
[ 45.492030]
[ 45.493532] read-write (marked) to 0xffffd4e284455380 of 8 bytes by
task 269 on cpu 0:
[ 45.501453] write_cache_pages+0x270/0x6a0
[ 45.505560] generic_writepages+0x63/0xa0
[ 45.509582] blkdev_writepages+0xe/0x10
[ 45.513429] do_writepages+0x79/0x140
[ 45.517096] __writeback_single_inode+0x6d/0x390
[ 45.521714] writeback_sb_inodes+0x4fd/0xbe0
[ 45.525986] wb_writeback+0x42e/0x690
[ 45.529652] wb_do_writeback+0x4d2/0x530
[ 45.533578] wb_workfn+0xc8/0x4a0
[ 45.536897] process_one_work+0x4a6/0x830
[ 45.540908] worker_thread+0x5f7/0xaa0
[ 45.544661] kthread+0x20b/0x220
[ 45.547893] ret_from_fork+0x22/0x30
[ 45.551471]
[ 45.552963] read to 0xffffd4e284455380 of 8 bytes by task 499 on cpu 2:
[ 45.559576] dec_zone_page_state+0x1d/0x140
[ 45.563764] clear_page_dirty_for_io+0x2ab/0x3a0
[ 45.568382] write_cache_pages+0x388/0x6a0
[ 45.572480] generic_writepages+0x63/0xa0
[ 45.576495] blkdev_writepages+0xe/0x10
[ 45.580334] do_writepages+0x79/0x140
[ 45.584000] __filemap_fdatawrite_range+0x155/0x190
[ 45.588880] file_write_and_wait_range+0x51/0xa0
[ 45.593498] blkdev_fsync+0x45/0x70
[ 45.596991] __x64_sys_fsync+0xda/0x120
[ 45.600830] do_syscall_64+0x3b/0x50
[ 45.604409] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 45.609460]
[ 45.610950] Reported by Kernel Concurrency Sanitizer on:
[ 45.616259] CPU: 2 PID: 499 Comm: mkfs.ext4 Not tainted
5.10.0-rc6-next-20201201 #2
[ 45.623908] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
2.2 05/23/2018
metadata:
git_repo: https://gitlab.com/aroxell/lkft-linux-next
target_arch: x86
toolchain: clang-11
git_describe: next-20201201
download_url: https://builds.tuxbuild.com/1l8eiWgGMi6W4aDobjAAlOleFVl/
Full test log link,
https://lkft.validation.linaro.org/scheduler/job/2002643#L1866
--
Linaro LKFT
https://lkft.linaro.org
LKFT started testing KCSAN enabled kernel from the linux next tree.
Here we have found BUG: KCSAN: data-race in
__rpc_do_wake_up_task_on_wq / xprt_request_transmit
This report is from an x86_64 machine clang-11 linux next 20201201.
Since we are running for the first time we do not call this regression.
[ 17.316725] BUG: KCSAN: data-race in __rpc_do_wake_up_task_on_wq /
xprt_request_transmit
[ 17.324821]
[ 17.326322] write to 0xffff90a801de6a9c of 2 bytes by task 142 on cpu 1:
[ 17.333022] __rpc_do_wake_up_task_on_wq+0x295/0x350
[ 17.337987] rpc_wake_up_queued_task+0x99/0xc0
[ 17.342432] xprt_complete_rqst+0xef/0x100
[ 17.346533] xs_read_stream+0x9c6/0xc40
[ 17.350370] xs_stream_data_receive+0x60/0x130
[ 17.354819] xs_stream_data_receive_workfn+0x5c/0x90
[ 17.359784] process_one_work+0x4a6/0x830
[ 17.363795] worker_thread+0x5f7/0xaa0
[ 17.367548] kthread+0x20b/0x220
[ 17.370780] ret_from_fork+0x22/0x30
[ 17.374359]
[ 17.375858] read to 0xffff90a801de6a9c of 2 bytes by task 249 on cpu 3:
[ 17.382473] xprt_request_transmit+0x389/0x7a0
[ 17.386919] xprt_transmit+0xfe/0x250
[ 17.390583] call_transmit+0x10d/0x120
[ 17.394337] __rpc_execute+0x12d/0x700
[ 17.398089] rpc_async_schedule+0x59/0x90
[ 17.402100] process_one_work+0x4a6/0x830
[ 17.406114] worker_thread+0x5f7/0xaa0
[ 17.409868] kthread+0x20b/0x220
[ 17.413099] ret_from_fork+0x22/0x30
[ 17.416675]
[ 17.418167] Reported by Kernel Concurrency Sanitizer on:
[ 17.423475] CPU: 3 PID: 249 Comm: kworker/u8:1 Not tainted
5.10.0-rc6-next-20201201 #2
[ 17.431385] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
2.2 05/23/2018
[ 17.438778] Workqueue: rpciod rpc_async_schedule
metadata:
git_repo: https://gitlab.com/aroxell/lkft-linux-next
target_arch: x86
toolchain: clang-11
git_describe: next-20201201
download_url: https://builds.tuxbuild.com/1l8eiWgGMi6W4aDobjAAlOleFVl/
Full test log link,
https://lkft.validation.linaro.org/scheduler/job/2002643#L1005
--
Linaro LKFT
https://lkft.linaro.org
This is the start of the stable review cycle for the 4.4.247 release.
There are 24 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Thu, 03 Dec 2020 08:46:29 +0000.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.247-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.4.247-rc1
Filipe Manana <fdmanana(a)suse.com>
btrfs: fix lockdep splat when reading qgroup config on mount
Alan Stern <stern(a)rowland.harvard.edu>
USB: core: Fix regression in Hercules audio card
Johan Hovold <johan(a)kernel.org>
USB: core: add endpoint-blacklist quirk
Anand K Mistry <amistry(a)google.com>
x86/speculation: Fix prctl() when spectre_v2_user={seccomp,prctl},ibpb
Alan Stern <stern(a)rowland.harvard.edu>
USB: core: Change %pK for __user pointers to %px
Masami Hiramatsu <mhiramat(a)kernel.org>
perf probe: Fix to die_entrypc() returns error correctly
Ard Biesheuvel <ardb(a)kernel.org>
efivarfs: revert "fix memory leak in efivarfs_create()"
Krzysztof Kozlowski <krzk(a)kernel.org>
nfc: s3fwrn5: use signed integer for parsing GPIO numbers
Xiongfeng Wang <wangxiongfeng2(a)huawei.com>
IB/mthca: fix return value of error branch in mthca_init_cq()
Michael Chan <michael.chan(a)broadcom.com>
bnxt_en: Release PCI regions when DMA mask setup fails during probe.
Dexuan Cui <decui(a)microsoft.com>
video: hyperv_fb: Fix the cache type when mapping the VRAM
Zhang Changzhong <zhangchangzhong(a)huawei.com>
bnxt_en: fix error return code in bnxt_init_board()
Stanley Chu <stanley.chu(a)mediatek.com>
scsi: ufs: Fix race between shutdown and runtime resume flow
Mike Christie <michael.christie(a)oracle.com>
scsi: target: iscsi: Fix cmd abort fabric stop race
Lee Duncan <lduncan(a)suse.com>
scsi: libiscsi: Fix NOP race condition
Sugar Zhang <sugar.zhang(a)rock-chips.com>
dmaengine: pl330: _prep_dma_memcpy: Fix wrong burst size
Jens Axboe <axboe(a)kernel.dk>
proc: don't allow async path resolution of /proc/self components
Brian Masney <bmasney(a)redhat.com>
x86/xen: don't unbind uninitialized lock_kicker_irq
Pablo Ceballos <pceballos(a)google.com>
HID: hid-sensor-hub: Fix issue with devices with no report ID
Hans de Goede <hdegoede(a)redhat.com>
Input: i8042 - allow insmod to succeed on devices without an i8042 controller
Frank Yang <puilp0502(a)gmail.com>
HID: cypress: Support Varmilo Keyboards' media hotkeys
Paolo Bonzini <pbonzini(a)redhat.com>
KVM: x86: Fix split-irqchip vs interrupt injection window request
Qu Wenruo <wqu(a)suse.com>
btrfs: inode: Verify inode mode to avoid NULL pointer dereference
Qu Wenruo <wqu(a)suse.com>
btrfs: tree-checker: Enhance chunk checker to validate chunk profile
-------------
Diffstat:
Makefile | 4 +--
arch/x86/include/asm/kvm_host.h | 1 +
arch/x86/kernel/cpu/bugs.c | 4 +--
arch/x86/kvm/irq.c | 2 +-
arch/x86/kvm/x86.c | 18 +++++++------
arch/x86/xen/spinlock.c | 12 ++++++++-
drivers/dma/pl330.c | 2 +-
drivers/hid/hid-cypress.c | 44 +++++++++++++++++++++++++++----
drivers/hid/hid-ids.h | 2 ++
drivers/hid/hid-sensor-hub.c | 3 ++-
drivers/infiniband/hw/mthca/mthca_cq.c | 10 ++++---
drivers/input/serio/i8042.c | 12 ++++++++-
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 3 ++-
drivers/nfc/s3fwrn5/i2c.c | 4 +--
drivers/scsi/libiscsi.c | 23 ++++++++++------
drivers/scsi/ufs/ufshcd.c | 6 +----
drivers/target/iscsi/iscsi_target.c | 17 +++++++++---
drivers/usb/core/config.c | 11 ++++++++
drivers/usb/core/devio.c | 4 +--
drivers/usb/core/quirks.c | 38 ++++++++++++++++++++++++++
drivers/usb/core/usb.h | 3 +++
drivers/video/fbdev/hyperv_fb.c | 7 ++++-
fs/btrfs/inode.c | 41 ++++++++++++++++++++++------
fs/btrfs/qgroup.c | 2 +-
fs/btrfs/tests/inode-tests.c | 1 +
fs/btrfs/volumes.c | 7 +++++
fs/efivarfs/inode.c | 2 ++
fs/efivarfs/super.c | 1 -
fs/proc/self.c | 7 +++++
include/linux/usb/quirks.h | 3 +++
include/scsi/libiscsi.h | 3 +++
tools/perf/util/dwarf-aux.c | 8 ++++++
32 files changed, 246 insertions(+), 59 deletions(-)