2024-03-04 21:45:35

by Greg Kroah-Hartman

[permalink] [raw]
Subject: [PATCH 5.10 00/42] 5.10.212-rc1 review

This is the start of the stable review cycle for the 5.10.212 release.
There are 42 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, 06 Mar 2024 21:15:26 +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.10.212-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-5.10.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>
Linux 5.10.212-rc1

Davide Caratti <[email protected]>
mptcp: fix double-free on socket dismantle

Chuanhong Guo <[email protected]>
mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG

Bartosz Golaszewski <[email protected]>
gpio: fix resource unwinding order in error path

Andy Shevchenko <[email protected]>
gpiolib: Fix the error path order in gpiochip_add_data_with_key()

Arturas Moskvinas <[email protected]>
gpio: 74x164: Enable output pins after registers are reset

Oscar Salvador <[email protected]>
fs,hugetlb: fix NULL pointer dereference in hugetlbs_fill_super

Baokun Li <[email protected]>
cachefiles: fix memory leak in cachefiles_add_cache()

Baokun Li <[email protected]>
ext4: avoid bb_free and bb_fragments inconsistency in mb_free_blocks()

Paolo Abeni <[email protected]>
mptcp: fix possible deadlock in subflow diag

Paolo Bonzini <[email protected]>
x86/cpu/intel: Detect TME keyid bits before setting MTRR mask registers

Bjorn Andersson <[email protected]>
pmdomain: qcom: rpmhpd: Fix enabled_corner aggregation

Zong Li <[email protected]>
riscv: add CALLER_ADDRx support

Elad Nachman <[email protected]>
mmc: sdhci-xenon: fix PHY init clock stability

Elad Nachman <[email protected]>
mmc: sdhci-xenon: add timeout for PHY init complete

Ivan Semenov <[email protected]>
mmc: core: Fix eMMC initialization with 1-bit bus connection

Curtis Klein <[email protected]>
dmaengine: fsl-qdma: init irq after reg initialization

Peng Ma <[email protected]>
dmaengine: fsl-qdma: fix SoC may hang on 16 byte unaligned read

David Sterba <[email protected]>
btrfs: dev-replace: properly validate device names

Johannes Berg <[email protected]>
wifi: nl80211: reject iftype change with mesh ID change

Alexander Ofitserov <[email protected]>
gtp: fix use-after-free and null-ptr-deref in gtp_newlink()

Tetsuo Handa <[email protected]>
tomoyo: fix UAF write bug in tomoyo_write_control()

Dimitris Vlachos <[email protected]>
riscv: Sparse-Memory/vmemmap out-of-bounds fix

David Howells <[email protected]>
afs: Fix endless loop in directory parsing

Takashi Iwai <[email protected]>
ALSA: Drop leftover snd-rtctimer stuff from Makefile

Hans de Goede <[email protected]>
power: supply: bq27xxx-i2c: Do not free non existing IRQ

Arnd Bergmann <[email protected]>
efi/capsule-loader: fix incorrect allocation size

Lin Ma <[email protected]>
rtnetlink: fix error logic of IFLA_BRIDGE_FLAGS writing back

Ignat Korchagin <[email protected]>
netfilter: nf_tables: allow NFPROTO_INET in nft_(match/target)_validate()

Kai-Heng Feng <[email protected]>
Bluetooth: Enforce validation on max value of connection interval

Luiz Augusto von Dentz <[email protected]>
Bluetooth: hci_event: Fix handling of HCI_EV_IO_CAPA_REQUEST

Zijun Hu <[email protected]>
Bluetooth: hci_event: Fix wrongly recorded wakeup BD_ADDR

Ying Hsu <[email protected]>
Bluetooth: Avoid potential use-after-free in hci_error_reset

Javier Carrasco <[email protected]>
net: usb: dm9601: fix wrong return value in dm9601_mdio_read

Oleksij Rempel <[email protected]>
lan78xx: enable auto speed configuration for LAN7850 if no EEPROM is detected

Eric Dumazet <[email protected]>
ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()

Yunjian Wang <[email protected]>
tun: Fix xdp_rxq_info's queue_index when detaching

Florian Westphal <[email protected]>
net: ip_tunnel: prevent perpetual headroom growth

Ryosuke Yasuoka <[email protected]>
netlink: Fix kernel-infoleak-after-free in __skb_datagram_iter

Han Xu <[email protected]>
mtd: spinand: gigadevice: Fix the get ecc status issue

Reto Schneider <[email protected]>
mtd: spinand: gigadevice: Support GD5F1GQ5UExxG

zhenwei pi <[email protected]>
crypto: virtio/akcipher - Fix stack overflow on memcpy

Hans de Goede <[email protected]>
platform/x86: touchscreen_dmi: Allow partial (prefix) matches for ACPI names


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

Diffstat:

Makefile | 4 +-
arch/riscv/include/asm/ftrace.h | 5 +
arch/riscv/include/asm/pgtable.h | 2 +-
arch/riscv/kernel/Makefile | 2 +
arch/riscv/kernel/return_address.c | 48 ++++++
arch/x86/kernel/cpu/intel.c | 178 +++++++++++----------
.../crypto/virtio/virtio_crypto_akcipher_algs.c | 5 +-
drivers/dma/fsl-qdma.c | 25 +--
drivers/firmware/efi/capsule-loader.c | 2 +-
drivers/gpio/gpio-74x164.c | 4 +-
drivers/gpio/gpiolib.c | 12 +-
drivers/mmc/core/mmc.c | 2 +
drivers/mmc/host/sdhci-xenon-phy.c | 48 ++++--
drivers/mtd/nand/spi/gigadevice.c | 81 ++++++++--
drivers/net/gtp.c | 12 +-
drivers/net/tun.c | 1 +
drivers/net/usb/dm9601.c | 2 +-
drivers/net/usb/lan78xx.c | 3 +-
drivers/platform/x86/touchscreen_dmi.c | 4 +-
drivers/power/supply/bq27xxx_battery_i2c.c | 4 +-
drivers/soc/qcom/rpmhpd.c | 7 +-
fs/afs/dir.c | 4 +-
fs/btrfs/dev-replace.c | 24 ++-
fs/cachefiles/bind.c | 3 +
fs/ext4/mballoc.c | 39 ++---
fs/hugetlbfs/inode.c | 6 +-
net/bluetooth/hci_core.c | 7 +-
net/bluetooth/hci_event.c | 13 +-
net/bluetooth/l2cap_core.c | 8 +-
net/core/rtnetlink.c | 11 +-
net/ipv4/ip_tunnel.c | 28 +++-
net/ipv6/addrconf.c | 7 +-
net/mptcp/diag.c | 3 +
net/mptcp/protocol.c | 49 ++++++
net/netfilter/nft_compat.c | 20 +++
net/netlink/af_netlink.c | 2 +-
net/wireless/nl80211.c | 2 +
security/tomoyo/common.c | 3 +-
sound/core/Makefile | 1 -
39 files changed, 485 insertions(+), 196 deletions(-)




2024-03-05 09:06:58

by Dominique Martinet

[permalink] [raw]
Subject: Re: [PATCH 5.10 00/42] 5.10.212-rc1 review

Greg Kroah-Hartman wrote on Mon, Mar 04, 2024 at 09:23:27PM +0000:
> This is the start of the stable review cycle for the 5.10.212 release.
> There are 42 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, 06 Mar 2024 21:15:26 +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.10.212-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-5.10.y
> and the diffstat can be found below.

Tested 4b0abedc88b0 ("Linux 5.10.212-rc1") on:
- arm i.MX6ULL (Armadillo 640)
- arm64 i.MX8MP (Armadillo G4)

For some reason the wlan interface didn't come up on the arm32 board
(brcmfmac brought up through usb, mainline driver), which is something I
hadn't observed before, but I've just rebooted a dozen of times and it's
always been up after that *and* I don't see anything in this stable
release that sounds like it could be related so I'll blame it on a
glitch to look further into, and not something related...
(I'll report back again if I find something more convincing, trying to
get a second occurence at least... if I can reproduce I'll confirm it
reproduce on 5.10.211 first then keep digging but it looks like that'll
take a while)

No obvious regression in dmesg or basic tests:
Tested-by: Dominique Martinet <[email protected]>


Thanks,
--
Dominique

2024-03-05 10:43:04

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.10 00/42] 5.10.212-rc1 review

On Tue, 5 Mar 2024 at 03:05, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.10.212 release.
> There are 42 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, 06 Mar 2024 21:15:26 +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.10.212-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-5.10.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Following build failures noticed on riscv.

The riscv defconfig, tinyconfig and allnoconfig builds on 5.10.
The riscv tinyconfig and allnoconfig builds on 5.15.

linux.5.10.y build failures on riscv.
riscv:

* gcc-8-defconfig
* clang-17-allnoconfig
* gcc-12-tinyconfig
* gcc-8-allnoconfig
* gcc-8-allmodconfig
* clang-17-defconfig
* gcc-12-defconfig
* clang-17-tinyconfig
* gcc-12-allmodconfig
* gcc-8-tinyconfig
* gcc-12-allnoconfig

linux.5.15.y build failures on riscv.
riscv:
build:
* gcc-12-tinyconfig
* gcc-8-allnoconfig
* clang-17-tinyconfig
* gcc-8-tinyconfig
* gcc-12-allnoconfig

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

arch/riscv/kernel/return_address.c:39:9: error: implicit declaration
of function 'arch_stack_walk' [-Werror=implicit-function-declaration]
39 | arch_stack_walk(save_return_addr, &data, current, NULL);
| ^~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

Suspecting patch,

riscv: add CALLER_ADDRx support
commit 680341382da56bd192ebfa4e58eaf4fec2e5bca7 upstream.

steps to reproduce:
---
# tuxmake --runtime podman --target-arch riscv --toolchain gcc-12
--kconfig defconfig


Links:
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/v5.10.210-166-g4b0abedc88b0/testrun/22941782/suite/test/gcc-12-defconfig/details/
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/v5.10.210-166-g4b0abedc88b0/testrun/22941144/suite/test/gcc-12-defconfig/history/
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2dF5ke88GqtfanduGie1JGLUbVa/

- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/v5.15.149-332-ge7cbbec10c6e/testrun/22942335/suite/test/gcc-12-allnoconfig/history/
- https://storage.tuxsuite.com/public/linaro/lkft/builds/2dF68wn0dXbU2xGLRyzsxGdXTyB/


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

2024-03-05 11:01:45

by Jon Hunter

[permalink] [raw]
Subject: Re: [PATCH 5.10 00/42] 5.10.212-rc1 review

On Mon, 04 Mar 2024 21:23:27 +0000, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.10.212 release.
> There are 42 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, 06 Mar 2024 21:15:26 +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.10.212-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-5.10.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

All tests passing for Tegra ...

Test results for stable-v5.10:
10 builds: 10 pass, 0 fail
26 boots: 26 pass, 0 fail
68 tests: 68 pass, 0 fail

Linux version: 5.10.212-rc1-g4b0abedc88b0
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
tegra20-ventana, tegra210-p2371-2180,
tegra210-p3450-0000, tegra30-cardhu-a04

Tested-by: Jon Hunter <[email protected]>

Jon

2024-03-05 11:27:56

by Pavel Machek

[permalink] [raw]
Subject: Re: [PATCH 5.10 00/42] 5.10.212-rc1 review

Hi!

> This is the start of the stable review cycle for the 5.10.212 release.
> There are 42 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.

We get build failures on risc-v here:

CC ipc/msgutil.o
1688arch/riscv/kernel/return_address.c: In function 'return_address':
1689arch/riscv/kernel/return_address.c:39:2: error: implicit declaration of function 'arch_stack_walk' [-Werror=implicit-function-declaration]
1690 39 | arch_stack_walk(save_return_addr, &data, current, NULL);
1691 | ^~~~~~~~~~~~~~~
1692cc1: some warnings being treated as errors
1693make[2]: *** [scripts/Makefile.build:286: arch/riscv/kernel/return_address.o] Error 1
1694make[2]: *** Waiting for unfinished jobs....
1695 CC ipc/msg.o

More here:

https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/pipelines/1200687731

Best regards,
Pavel
--
DENX Software Engineering GmbH, Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


Attachments:
(No filename) (1.15 kB)
signature.asc (201.00 B)
Download all attachments