openwrt-6.x/target/linux/generic
Daniel Golle 6d33afd2b6 kernel: net: phy: realtek: fix NULL pointer dereference
The previous attempt to replace an open coded paged read in the RealTek
Ethernet PHY driver was too naive and resulted in breaking the r8169
PCIe Ethernet driver which also makes use of the RealTek Ethernet PHY
driver.
Fix this by instead of using the (not yet populated) paged operations
rather use rtl821x_write_page and protect the whole paged read operation
using the MDIO bus mutex.

Fixes: 998b973157 ("kernel: net: phy: realtek: improve RealTek 2.5G PHY driver")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-04-24 03:16:26 +01:00
..
backport-5.10 generic: 5.10: replace ramips AR8033 fiber patch with 5.18 patches 2023-04-22 17:21:29 +02:00
backport-5.15 generic: 5.15: replace ramips AR8033 fiber patch with 5.18 patches 2023-04-22 17:21:29 +02:00
files kernel: add bcma/ssb fallback SPROM support 2023-04-23 12:18:35 +02:00
hack-5.10 kernel: add bcma/ssb fallback SPROM support 2023-04-23 12:18:35 +02:00
hack-5.15 kernel: add bcma/ssb fallback SPROM support 2023-04-23 12:18:35 +02:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-5.10 generic: 5.10: replace pending 730-net-phy-at803x-fix... with upstream 2023-04-22 17:21:28 +02:00
pending-5.15 kernel: net: phy: realtek: fix NULL pointer dereference 2023-04-24 03:16:26 +01:00
config-5.10 kernel: backport NVMEM patches queued for the v6.4 2023-04-06 12:13:22 +02:00
config-5.15 kernel: disable CONFIG_HW_RANDOM_BCM2835 2023-04-10 10:04:08 +02:00
config-filter kernel: filter out pahole version 2023-03-29 17:36:19 +02:00
PATCHES