This is the start of the stable review cycle for the 4.9.260 release. There are 41 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 Sun, 07 Mar 2021 12:08:39 +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.9.260-rc1... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y and the diffstat can be found below.
thanks,
greg k-h
------------- Pseudo-Shortlog of commits:
Greg Kroah-Hartman gregkh@linuxfoundation.org Linux 4.9.260-rc1
Sakari Ailus sakari.ailus@linux.intel.com media: v4l: ioctl: Fix memory leak in video_usercopy
Jens Axboe axboe@kernel.dk swap: fix swapfile read/write offset
Rokudo Yan wu-yan@tcl.com zsmalloc: account the number of compacted pages correctly
Jan Beulich jbeulich@suse.com xen-netback: respect gnttab_map_refs()'s return value
Jan Beulich jbeulich@suse.com Xen/gnttab: handle p2m update errors on a per-slot basis
Chris Leech cleech@redhat.com scsi: iscsi: Verify lengths on passthrough PDUs
Chris Leech cleech@redhat.com scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
Joe Perches joe@perches.com sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
Lee Duncan lduncan@suse.com scsi: iscsi: Restrict sessions and handles to admin capabilities
Ricardo Ribalda ribalda@chromium.org media: uvcvideo: Allow entities with no pads
Christian Gromm christian.gromm@microchip.com staging: most: sound: add sanity check for function argument
Gopal Tiwari gtiwari@redhat.com Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
Fangrui Song maskray@google.com x86/build: Treat R_386_PLT32 relocation as R_386_PC32
Miaoqing Pan miaoqing@codeaurora.org ath10k: fix wmi mgmt tx queue full due to race condition
Di Zhu zhudi21@huawei.com pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
Tony Lindgren tony@atomide.com wlcore: Fix command execute failure 19 for wl12xx
Jiri Slaby jslaby@suse.cz vt/consolemap: do font sum unsigned
Heiner Kallweit hkallweit1@gmail.com x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
Dinghao Liu dinghao.liu@zju.edu.cn staging: fwserial: Fix error handling in fwserial_create
Li Xinhai lixinhai.lxh@gmail.com mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
Marco Elver elver@google.com net: fix up truesize of cloned skb in skb_prepare_for_shift()
Sabyrzhan Tasbolatov snovitoll@gmail.com smackfs: restrict bytes count in smackfs write functions
Yumei Huang yuhuang@redhat.com xfs: Fix assert failure in xfs_setattr_size()
Randy Dunlap rdunlap@infradead.org JFS: more checks for invalid superblock
Andrew Murray andrew.murray@arm.com arm64: Use correct ll/sc atomic constraints
Will Deacon will.deacon@arm.com arm64: cmpxchg: Use "K" instead of "L" for ll/sc immediate constraint
Will Deacon will.deacon@arm.com arm64: Avoid redundant type conversions in xchg() and cmpxchg()
Robin Murphy robin.murphy@arm.com arm64: Remove redundant mov from LL/SC cmpxchg
Muchun Song songmuchun@bytedance.com printk: fix deadlock when kernel panic
Mike Kravetz mike.kravetz@oracle.com hugetlb: fix update_and_free_page contig page struct assumption
Rolf Eike Beer eb@emlix.com scripts: set proper OpenSSL include dir also for sign-file
Rolf Eike Beer eb@emlix.com scripts: use pkg-config to locate libcrypto
Masami Hiramatsu mhiramat@kernel.org arm: kprobes: Allow to handle reentered kprobe on single-stepping
Lech Perczak lech.perczak@gmail.com net: usb: qmi_wwan: support ZTE P685M modem
Ben Hutchings ben@decadent.org.uk futex: Don't enable IRQs unconditionally in put_pi_state()
Ben Hutchings ben@decadent.org.uk futex: Fix more put_pi_state() vs. exit_pi_state_list() races
Ben Hutchings ben@decadent.org.uk futex: Fix pi_state->owner serialization
Ben Hutchings ben@decadent.org.uk futex: Futex_unlock_pi() determinism
Ben Hutchings ben@decadent.org.uk futex: Pull rt_mutex_futex_unlock() out from under hb->lock
Ben Hutchings ben@decadent.org.uk futex: Cleanup refcounting
Ben Hutchings ben@decadent.org.uk futex: Cleanup variable names for futex_top_waiter()
-------------
Diffstat:
Documentation/filesystems/sysfs.txt | 8 +- Makefile | 4 +- arch/arm/probes/kprobes/core.c | 6 + arch/arm/xen/p2m.c | 35 +++++- arch/arm64/include/asm/atomic_ll_sc.h | 109 +++++++++--------- arch/arm64/include/asm/atomic_lse.h | 46 ++++---- arch/arm64/include/asm/cmpxchg.h | 116 ++++++++++---------- arch/x86/kernel/module.c | 1 + arch/x86/kernel/reboot.c | 9 ++ arch/x86/tools/relocs.c | 12 +- arch/x86/xen/p2m.c | 44 +++++++- drivers/block/zram/zram_drv.c | 2 +- drivers/media/usb/uvc/uvc_driver.c | 7 +- drivers/media/v4l2-core/v4l2-ioctl.c | 19 ++-- drivers/net/usb/qmi_wwan.c | 1 + drivers/net/wireless/ath/ath10k/mac.c | 15 +-- drivers/net/wireless/ti/wl12xx/main.c | 3 - drivers/net/wireless/ti/wlcore/main.c | 15 +-- drivers/net/wireless/ti/wlcore/wlcore.h | 3 - drivers/net/xen-netback/netback.c | 12 +- drivers/scsi/libiscsi.c | 148 ++++++++++++------------- drivers/scsi/scsi_transport_iscsi.c | 38 +++++-- drivers/staging/fwserial/fwserial.c | 2 + drivers/staging/most/aim-sound/sound.c | 2 + drivers/tty/vt/consolemap.c | 2 +- fs/jfs/jfs_filsys.h | 1 + fs/jfs/jfs_mount.c | 10 ++ fs/sysfs/file.c | 55 ++++++++++ fs/xfs/xfs_iops.c | 2 +- include/linux/sysfs.h | 16 +++ include/linux/zsmalloc.h | 2 +- kernel/futex.c | 188 ++++++++++++++++++++------------ kernel/printk/nmi.c | 16 ++- mm/hugetlb.c | 28 +++-- mm/page_io.c | 11 +- mm/swapfile.c | 2 +- mm/zsmalloc.c | 17 ++- net/bluetooth/amp.c | 3 + net/core/pktgen.c | 2 +- net/core/skbuff.c | 14 ++- scripts/Makefile | 9 +- security/smack/smackfs.c | 21 +++- 42 files changed, 669 insertions(+), 387 deletions(-)
On Fri, 05 Mar 2021 13:22:07 +0100, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 4.9.260 release. There are 41 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 Sun, 07 Mar 2021 12:08:39 +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.9.260-rc1... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y and the diffstat can be found below.
thanks,
greg k-h
All tests passing for Tegra ...
Test results for stable-v4.9: 8 builds: 8 pass, 0 fail 16 boots: 16 pass, 0 fail 30 tests: 30 pass, 0 fail
Linux version: 4.9.260-rc1-ge118f9b98b96 Boards tested: tegra124-jetson-tk1, tegra20-ventana, tegra210-p2371-2180, tegra30-cardhu-a04
Tested-by: Jon Hunter jonathanh@nvidia.com
Jon
On 3/5/2021 4:22 AM, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 4.9.260 release. There are 41 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 Sun, 07 Mar 2021 12:08:39 +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.9.260-rc1... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y and the diffstat can be found below.
thanks,
On ARCH_BRCMSTB, using 32-bit and 64-bit ARM kernels:
Tested-by: Florian Fainelli f.fainelli@gmail.com
On Fri, Mar 05, 2021 at 01:22:07PM +0100, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 4.9.260 release. There are 41 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 Sun, 07 Mar 2021 12:08:39 +0000. Anything received after that time might be too late.
Build results: total: 168 pass: 168 fail: 0 Qemu test results: total: 383 pass: 383 fail: 0
Guenter
On Fri, Mar 05, 2021 at 01:22:07PM +0100, Greg Kroah-Hartman wrote:
This is the start of the stable review cycle for the 4.9.260 release. There are 41 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 Sun, 07 Mar 2021 12:08:39 +0000. Anything received after that time might be too late.
Forgot:
Tested-by: Guenter Roeck linux@roeck-us.net
Guenter
On Fri, 5 Mar 2021 at 18:12, Greg Kroah-Hartman gregkh@linuxfoundation.org wrote:
This is the start of the stable review cycle for the 4.9.260 release. There are 41 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 Sun, 07 Mar 2021 12:08:39 +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.9.260-rc1... or in the git tree and branch at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.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 lkft@linaro.org
Summary ------------------------------------------------------------------------
kernel: 4.9.260-rc1 git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git git branch: linux-4.9.y git commit: e118f9b98b963e03939869e5953a52351352f216 git describe: v4.9.259-42-ge118f9b98b96 Test details: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-4.9.y/build/v4.9.25...
No regressions (compared to build v4.9.259)
No fixes (compared to build v4.9.259)
Ran 39259 total tests in the following environments and test suites.
Environments -------------- - arm - arm64 - dragonboard-410c - arm64 - hi6220-hikey - arm64 - i386 - juno-64k_page_size - juno-r2 - arm64 - juno-r2-compat - juno-r2-kasan - mips - qemu-arm64-kasan - qemu-x86_64-kasan - qemu_arm - qemu_arm64 - qemu_arm64-compat - qemu_i386 - qemu_x86_64 - qemu_x86_64-compat - sparc - x15 - arm - x86_64 - x86-kasan - x86_64
Test Suites ----------- * build * linux-log-parser * igt-gpu-tools * install-android-platform-tools-r2600 * kselftest-android * kselftest-bpf * kselftest-capabilities * kselftest-cgroup * kselftest-clone3 * kselftest-core * kselftest-cpu-hotplug * kselftest-cpufreq * kselftest-intel_pstate * kselftest-kvm * kselftest-lib * kselftest-livepatch * kselftest-lkdtm * kselftest-membarrier * kselftest-ptrace * kselftest-rseq * kselftest-rtc * kselftest-seccomp * kselftest-sigaltstack * kselftest-size * kselftest-splice * kselftest-static_keys * kselftest-sysctl * kselftest-timens * kselftest-timers * kselftest-tmpfs * kselftest-tpm2 * kselftest-user * kselftest-zram * ltp-cap_bounds-tests * ltp-commands-tests * ltp-containers-tests * ltp-controllers-tests * ltp-cpuhotplug-tests * ltp-crypto-tests * ltp-cve-tests * ltp-dio-tests * ltp-fcntl-locktests-tests * ltp-filecaps-tests * ltp-fs_bind-tests * ltp-fs_perms_simple-tests * ltp-fsx-tests * ltp-io-tests * ltp-ipc-tests * ltp-math-tests * ltp-nptl-tests * ltp-pty-tests * ltp-sched-tests * ltp-securebits-tests * ltp-syscalls-tests * ltp-tracing-tests * perf * v4l2-compliance * fwts * kselftest-efivarfs * kselftest-filesystems * kselftest-firmware * kselftest-fpu * kselftest-futex * kselftest-gpio * kselftest-ipc * kselftest-ir * kselftest-kcmp * libhugetlbfs * ltp-fs-tests * ltp-hugetlb-tests * ltp-mm-tests * network-basic-tests * kvm-unit-tests * ltp-open-posix-tests * kselftest-vm * kselftest-kexec * kselftest-x86
On 3/5/21 4:22 AM, Greg Kroah-Hartman wrote:
Ben Hutchings ben@decadent.org.uk futex: Futex_unlock_pi() determinism
Hi Ben,
This particular commit above eventually triggered the following warning below, this was not caught in my initial testing of the v4.9.260 kernel, when I gave my Tested-by tag. This appears to be easily reproducible upon initialization of one of the modules being loaded for that test.
Are there additional changes that we are missing in linux-4.9.y with respect to futex code?
[ 233.128367] ------------[ cut here ]------------ [ 233.133104] WARNING: CPU: 3 PID: 1845 at kernel/futex.c:1584 do_futex+0x800/0x974 [ 233.140707] Modules linked in: wakeup_drv(O) nexus(PO) brcmv3d(O) [ 233.146950] [ 233.148511] CPU: 3 PID: 1845 Comm: nx_sched_idle_s Tainted: P O 4.9.261-1.22 #1 [ 233.157072] Hardware name: BCX972180SV (DT) [ 233.161326] task: ffffffc075e12e00 task.stack: ffffffc073110000 [ 233.167328] PC is at do_futex+0x800/0x974 [ 233.171410] LR is at do_futex+0x784/0x974 [ 233.175490] pc : [<ffffff800810f468>] lr : [<ffffff800810f3ec>] pstate: 600001c5 [ 233.183003] sp : ffffffc073113d10 [ 233.186380] x29: ffffffc073113d10 x28: 0000000000000000 [ 233.191800] x27: 0000000000000735 x26: ffffffc073113df8 [ 233.197220] x25: ffffffc07401bc90 x24: 0000000080000735 [ 233.202638] x23: ffffffc073110000 x22: 0000000000000000 [ 233.208055] x21: 000000000c0cd220 x20: ffffffc07401bc80 [ 233.213472] x19: 0000000000000001 x18: 0000000000000000 [ 233.218890] x17: 0000007f82b8dfe8 x16: ffffff800810f5dc [ 233.224309] x15: 00000b1a97b40980 x14: 0033240a01207260 [ 233.229727] x13: 00000000604b3cb0 x12: 0000000000000018 [ 233.235144] x11: 000000000636eae9 x10: 00000000000000e9 [ 233.240562] x9 : 003b9aca00000000 x8 : 0000000000000062 [ 233.245979] x7 : 0000000000014e26 x6 : 0000000000000000 [ 233.251396] x5 : ffffffc07401bcb8 x4 : 0000000000000000 [ 233.256814] x3 : 0000000000000001 x2 : 0000000000000000 [ 233.262230] x1 : 0000000000000000 x0 : ffffff8008cdf7dd [ 233.267644] [ 233.269192] ---[ end trace 18db5bc47ae34623 ]--- [ 233.273877] Call trace: [ 233.276389] Exception stack(0xffffffc073113b10 to 0xffffffc073113c40) [ 233.282913] 3b00: 0000000000000001 0000007fffffffff [ 233.290873] 3b20: ffffffc073113d10 ffffff800810f468 00000000600001c5 000000000000003d [ 233.298833] 3b40: ffffffc07401bc90 ffffffc073113df8 000000000c0cd220 0000000000000735 [ 233.306791] 3b60: ffffffc073113bd0 ffffff800810e004 0000000000000000 ffffffc073113cd0 [ 233.314751] 3b80: 000000000c0cd220 ffffffc073110000 0000000000000000 ffffffc073113cd0 [ 233.322711] 3ba0: 0000000000000000 ffffffc076b65bc0 ffffffc073113bd0 ffffff800810e1a4 [ 233.330670] 3bc0: 0000000000000000 00000000000409ff ffffffc073113d10 00000000000409ff [ 233.338628] 3be0: ffffff8008cdf7dd 0000000000000000 0000000000000000 0000000000000001 [ 233.346586] 3c00: 0000000000000000 ffffffc07401bcb8 0000000000000000 0000000000014e26 [ 233.354545] 3c20: 0000000000000062 003b9aca00000000 00000000000000e9 000000000636eae9 [ 233.362506] [<ffffff800810f468>] do_futex+0x800/0x974 [ 233.367638] [<ffffff800810f738>] SyS_futex+0x15c/0x184 [ 233.372861] [<ffffff8008083180>] el0_svc_naked+0x34/0x38