Re: [PATCH 6.8 000/273] 6.8.5-rc1 review

From: Anders Roxell
Date: Tue Apr 09 2024 - 09:07:45 EST


On Mon, 8 Apr 2024 at 15:00, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> This is the start of the stable review cycle for the 6.8.5 release.
> There are 273 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 Wed, 10 Apr 2024 12:52:23 +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/v6.x/stable-review/patch-6.8.5-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.8.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Results from Linaro's test farm.
Regressions on x86_64, and i386.

Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>

Following kernel warnings have been noticed on x86_64, qemu-x86_64 and
qemu-i386 while running LTP cve ioctl_sg01 tests the kernel with stable-rc
6.6.26-rc1 and 6.8.5-rc1.

Reverted this patch and I couldn't see the repoted warning.
scsi: sg: Avoid sg device teardown race
[ Upstream commit 27f58c04a8f438078583041468ec60597841284d ]

This has been reported on stable-rc 6.8.3-rc1 [1].


tst_test.c:1709: TINFO: LTP version: 20240129
tst_test.c:1593: TINFO: Timeout per run is 1h 02m 30s
<4>[ 47.841092] ------------[ cut here ]------------
<4>[ 47.846033] WARNING: CPU: 1 PID: 23 at drivers/scsi/sg.c:2236
sg_remove_sfp_usercontext+0x146/0x150
<4>[ 47.848749] Modules linked in:
<4>[ 47.851081] CPU: 1 PID: 23 Comm: kworker/1:0 Not tainted 6.8.5-rc1 #1
<4>[ 47.852690] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009),
BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
<4>[ 47.854570] Workqueue: events sg_remove_sfp_usercontext
<4>[ 47.855851] RIP: 0010:sg_remove_sfp_usercontext+0x146/0x150

<trim>

<4>[ 47.867679] Call Trace:
<4>[ 47.868114] <TASK>
<4>[ 47.868608] ? show_regs+0x69/0x80
<4>[ 47.869035] ? __warn+0x8d/0x150
<4>[ 47.869454] ? sg_remove_sfp_usercontext+0x146/0x150
<4>[ 47.869882] ? report_bug+0x171/0x1a0
<4>[ 47.870386] ? handle_bug+0x43/0x80
<4>[ 47.870720] ? exc_invalid_op+0x1c/0x80
<4>[ 47.871046] ? asm_exc_invalid_op+0x1f/0x30
<4>[ 47.871537] ? __call_rcu_common.constprop.0+0x281/0x3c0
<4>[ 47.872033] ? sg_remove_sfp_usercontext+0x146/0x150
<4>[ 47.872643] process_one_work+0x143/0x300
<4>[ 47.873029] worker_thread+0x2f6/0x440
<4>[ 47.873507] ? __pfx_worker_thread+0x10/0x10
<4>[ 47.873855] kthread+0xf4/0x120
<4>[ 47.874274] ? __pfx_kthread+0x10/0x10
<4>[ 47.874612] ret_from_fork+0x41/0x60
<4>[ 47.874952] ? __pfx_kthread+0x10/0x10
<4>[ 47.875412] ret_from_fork_asm+0x1b/0x30
<4>[ 47.875865] </TASK>
<4>[ 47.876335] ---[ end trace 0000000000000000 ]---
ioctl_sg01.c:81: TINFO: Found SCSI device /dev/sg0
ioctl_sg01.c:122: TPASS: Output buffer is empty, no data leaked


[1]
- https://lore.kernel.org/stable/CA+G9fYs5MZaPV+tTukfUbJtdztQMExfixo=ZwbBr1A6Oga+OLQ@xxxxxxxxxxxxxx/

[2]
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.8.y/build/v6.8.4-274-g51d60edf2813/testrun/23350725/suite/log-parser-test/test/check-kernel-warning-baa412705664036587615ec565701ad300aa78b0e977d057b0a9de2be870cf86/log

## Build
* kernel: 6.8.5-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-6.8.y
* git commit: 51d60edf281355bf4653c327050d7a5aeedb9b0d
* git describe: v6.8.4-274-g51d60edf2813
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.8.y/build/v6.8.4-274-g51d60edf2813

## Test result summary
total: 173708, pass: 150838, fail: 2030, skip: 20672, xfail: 168

## Build Summary
* arc: 5 total, 5 passed, 0 failed
* arm: 126 total, 126 passed, 0 failed
* arm64: 37 total, 37 passed, 0 failed
* i386: 28 total, 28 passed, 0 failed
* mips: 24 total, 24 passed, 0 failed
* parisc: 3 total, 3 passed, 0 failed
* powerpc: 34 total, 34 passed, 0 failed
* riscv: 15 total, 15 passed, 0 failed
* s390: 12 total, 12 passed, 0 failed
* sh: 10 total, 10 passed, 0 failed
* sparc: 6 total, 6 passed, 0 failed
* x86_64: 32 total, 32 passed, 0 failed

## Test suites summary
* boot
* kselftest-arm64
* kselftest-breakpoints
* kselftest-capabilities
* kselftest-cgroup
* kselftest-clone3
* kselftest-core
* kselftest-cpu-hotplug
* kselftest-cpufreq
* kselftest-efivarfs
* kselftest-exec
* kselftest-filesystems
* kselftest-filesystems-binderfs
* kselftest-filesystems-epoll
* kselftest-firmware
* kselftest-fpu
* kselftest-ftrace
* kselftest-futex
* kselftest-gpio
* kselftest-intel_pstate
* kselftest-ipc
* kselftest-kcmp
* kselftest-kvm
* kselftest-livepatch
* kselftest-membarrier
* kselftest-mincore
* kselftest-mqueue
* kselftest-net
* kselftest-net-mptcp
* kselftest-openat2
* kselftest-ptrace
* kselftest-rseq
* kselftest-rtc
* kselftest-seccomp
* kselftest-sigaltstack
* kselftest-size
* kselftest-tc-testing
* kselftest-timers
* kselftest-tmpfs
* kselftest-tpm2
* kselftest-user_events
* kselftest-vDSO
* kselftest-watchdog
* kselftest-x86
* kunit
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-filecaps
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-sm[
* ltp-smoke
* ltp-smoketest
* ltp-syscalls
* ltp-tracing
* perf
* rcutorture

--
Linaro LKFT
https://lkft.linaro.org