2022-08-21 07:28:27

by Greg KH

[permalink] [raw]
Subject: [PATCH 5.15 00/10] 5.15.62-rc2 review

This is the start of the stable review cycle for the 5.15.62 release.
There are 10 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 Mon, 22 Aug 2022 18:23:01 +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/v5.x/stable-review/patch-5.15.62-rc2.gz
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>
Linux 5.15.62-rc2

Qu Wenruo <[email protected]>
btrfs: raid56: don't trust any cached sector in __raid56_parity_recover()

Qu Wenruo <[email protected]>
btrfs: only write the sectors in the vertical stripe which has data stripes

Peter Zijlstra <[email protected]>
x86/ftrace: Use alternative RET encoding

Peter Zijlstra <[email protected]>
x86/ibt,ftrace: Make function-graph play nice

Thadeu Lima de Souza Cascardo <[email protected]>
Revert "x86/ftrace: Use alternative RET encoding"

Namjae Jeon <[email protected]>
ksmbd: fix heap-based overflow in set_ntacl_dacl()

Hyunchul Lee <[email protected]>
ksmbd: prevent out of bound read for SMB2_WRITE

Jamal Hadi Salim <[email protected]>
net_sched: cls_route: disallow handle of 0

Jens Wiklander <[email protected]>
tee: add overflow check in register_shm_helper()

Jens Axboe <[email protected]>
io_uring: use original request task for inflight tracking


-------------

Diffstat:

Makefile | 4 +-
arch/x86/kernel/ftrace.c | 7 +--
arch/x86/kernel/ftrace_64.S | 19 +++++--
drivers/tee/tee_shm.c | 3 +
fs/btrfs/raid56.c | 74 +++++++++++++++++++------
fs/io_uring.c | 2 +-
fs/ksmbd/smb2misc.c | 7 ++-
fs/ksmbd/smb2pdu.c | 45 +++++++++------
fs/ksmbd/smbacl.c | 130 ++++++++++++++++++++++++++++++--------------
fs/ksmbd/smbacl.h | 2 +-
fs/ksmbd/vfs.c | 5 ++
net/sched/cls_route.c | 10 ++++
12 files changed, 216 insertions(+), 92 deletions(-)



2022-08-21 12:26:16

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/10] 5.15.62-rc2 review

On Sat, Aug 20, 2022 at 08:23:24PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.62 release.
> There are 10 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 Mon, 22 Aug 2022 18:23:01 +0000.
> Anything received after that time might be too late.
>

Build results:
total: 159 pass: 159 fail: 0
Qemu test results:
total: 485 pass: 484 fail: 1
Failed tests:
openrisc:or1ksim_defconfig

The openrisc failure is a soft lockup during restart. I only recently
enabled the soft lockup detector, so this is probably either a false
positive or not a new problem. I'll try to track it down, but it is
not a concern for now.

Tested-by: Guenter Roeck <[email protected]>

Guenter

2022-08-21 15:47:46

by Stafford Horne

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/10] 5.15.62-rc2 review

On Sun, Aug 21, 2022 at 05:09:03AM -0700, Guenter Roeck wrote:
> On Sat, Aug 20, 2022 at 08:23:24PM +0200, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.15.62 release.
> > There are 10 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 Mon, 22 Aug 2022 18:23:01 +0000.
> > Anything received after that time might be too late.
> >
>
> Build results:
> total: 159 pass: 159 fail: 0
> Qemu test results:
> total: 485 pass: 484 fail: 1
> Failed tests:
> openrisc:or1ksim_defconfig
>
> The openrisc failure is a soft lockup during restart. I only recently
> enabled the soft lockup detector, so this is probably either a false
> positive or not a new problem. I'll try to track it down, but it is
> not a concern for now.
>
> Tested-by: Guenter Roeck <[email protected]>

Hi Guenter,

If you need help let me know, just let me know how to reproduce it. I am
currently working on some qemu patches to convert qemu to multithread-tcg. I
have fixed some lockup issues, but there are still some cases we get soft
lockups.

If you have any details I can see if it's a similar issue.

-Stafford

2022-08-21 23:15:51

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/10] 5.15.62-rc2 review

On Sun, Aug 21, 2022 at 03:32:55PM +0000, Stafford Horne wrote:
> On Sun, Aug 21, 2022 at 05:09:03AM -0700, Guenter Roeck wrote:
> > On Sat, Aug 20, 2022 at 08:23:24PM +0200, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.15.62 release.
> > > There are 10 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 Mon, 22 Aug 2022 18:23:01 +0000.
> > > Anything received after that time might be too late.
> > >
> >
> > Build results:
> > total: 159 pass: 159 fail: 0
> > Qemu test results:
> > total: 485 pass: 484 fail: 1
> > Failed tests:
> > openrisc:or1ksim_defconfig
> >
> > The openrisc failure is a soft lockup during restart. I only recently
> > enabled the soft lockup detector, so this is probably either a false
> > positive or not a new problem. I'll try to track it down, but it is
> > not a concern for now.
> >
> > Tested-by: Guenter Roeck <[email protected]>
>
> Hi Guenter,
>
> If you need help let me know, just let me know how to reproduce it. I am
> currently working on some qemu patches to convert qemu to multithread-tcg. I
> have fixed some lockup issues, but there are still some cases we get soft
> lockups.
>
> If you have any details I can see if it's a similar issue.
>

All I can say is that it happens with qemu 7.0, it happens more or less
randomly with all kernel versions as far as I can see, and it isn't a real
lockup but something wrong with time management. The lockup is reported
almost immediately on shutdown. It reports something like

reboot: Restarting system
watchdog: BUG: soft lockup - CPU#0 stuck for 371s! [init:225]
Modules linked in:
CPU: 0 PID: 225 Comm: init Not tainted 6.0.0-rc1-00303-g963a70bee588 #1

but it doesn't really wait for that much time; the message is seen almost
immediately. I don't do anything special, just boot the openrisc emulation
and restart. I have the following options enabled.

CONFIG_LOCKUP_DETECTOR CONFIG_SOFTLOCKUP_DETECTOR CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC
CONFIG_DETECT_HUNG_TASK CONFIG_BOOTPARAM_HUNG_TASK_PANIC

The problem is not seen without those options.

Guenter

2022-08-22 11:15:45

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.15 00/10] 5.15.62-rc2 review

On Sun, 21 Aug 2022 at 12:30, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.15.62 release.
> There are 10 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 Mon, 22 Aug 2022 18:23:01 +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/v5.x/stable-review/patch-5.15.62-rc2.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.15.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
Results from Linaro's test farm.
No regressions on arm64, arm, x86_64, and i386.

Tested-by: Linux Kernel Functional Testing <[email protected]>

## Build
* kernel: 5.15.62-rc2
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-5.15.y
* git commit: decfb75fa34c3fc79f494f44b36d56d1d744edd5
* git describe: v5.15.61-11-gdecfb75fa34c
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.61-11-gdecfb75fa34c

## No test Regressions (compared to v5.15.61)

## No metric Regressions (compared to v5.15.61)

## No test Fixes (compared to v5.15.61)

## No metric Fixes (compared to v5.15.61)

## Test result summary
total: 140302, pass: 123315, fail: 681, skip: 15459, xfail: 847

## Build Summary
* arc: 10 total, 10 passed, 0 failed
* arm: 301 total, 301 passed, 0 failed
* arm64: 62 total, 60 passed, 2 failed
* i386: 52 total, 50 passed, 2 failed
* mips: 45 total, 45 passed, 0 failed
* parisc: 12 total, 12 passed, 0 failed
* powerpc: 54 total, 54 passed, 0 failed
* riscv: 22 total, 22 passed, 0 failed
* s390: 21 total, 21 passed, 0 failed
* sh: 24 total, 24 passed, 0 failed
* sparc: 12 total, 12 passed, 0 failed
* x86_64: 55 total, 53 passed, 2 failed

## Test suites summary
* fwts
* igt-gpu-tools
* kunit
* kvm-unit-tests
* 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-fsx
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-open-posix-tests
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-smoke
* ltp-syscalls
* ltp-tracing
* network-basic-tests
* packetdrill
* rcutorture
* ssuite
* v4l2-compliance
* vdso

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