lede/target/linux
Daniel Golle e0fd382892 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-06-23 23:26:18 +08:00
..
airoha airoha: spi-en7523: Fix compile warning 2023-06-05 23:54:00 +08:00
apm821xx kernel: bump 5.10 to 5.10.183 (#11301) 2023-06-12 12:08:04 +08:00
arc770 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
archs38 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
armvirt target: add EFI support to armvirt 2023-04-24 15:02:30 +08:00
at91 x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
ath25 kernel: bump 5.4 to 5.4.214 (#10170) 2022-09-24 12:09:08 +08:00
ath79 kernel: bump 5.10 to 5.10.183 (#11301) 2023-06-12 12:08:04 +08:00
bcm27xx kernel: bump 5.15 to 5.15.116 (#11299) 2023-06-12 11:05:43 +08:00
bcm47xx mac80211: remove old legacy legacy drivers 2022-12-18 20:25:07 +08:00
bcm53xx kernel: bump 5.10 to 5.10.183 (#11301) 2023-06-12 12:08:04 +08:00
bcm63xx kernel: bump to 5.4.229, 5.10.164, 5.15.89, 6.1.7 (#10785) 2023-01-19 14:03:33 +08:00
bcm4908 kernel: bump to 5.4.227, 5.10.159, 5.15.83 (#10619) 2022-12-15 13:14:31 +08:00
bmips kernel: bump 5.15 to 5.15.116 (#11299) 2023-06-12 11:05:43 +08:00
gemini kernel: bump 5.10 to 5.10.70 (#7976) 2021-10-04 22:25:52 +08:00
generic kernel: net: phy: realtek: fix NULL pointer dereference 2023-06-23 23:26:18 +08:00
imx target: imx6 rename to imx 2022-01-05 19:08:23 +08:00
ipq40xx kernel: bump to 5.4.247, 6.1.34 (#11314) 2023-06-18 01:07:34 +08:00
ipq60xx kernel: bump 5.15 to 5.15.116 (#11299) 2023-06-12 11:05:43 +08:00
ipq806x kernel: bump to 5.4.247, 6.1.34 (#11314) 2023-06-18 01:07:34 +08:00
ipq807x kernel: bump 5.10 to 5.10.183 (#11301) 2023-06-12 12:08:04 +08:00
kirkwood kernel: remove hack patch, move kirkwood specific kmods to target modules.mk 2022-09-30 21:35:47 +08:00
lantiq kernel: bump to 5.4.237, 5.10.175 (#11016) 2023-03-18 18:08:42 +08:00
layerscape kernel: bump 5.15 to 5.15.116 (#11299) 2023-06-12 11:05:43 +08:00
malta x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
mediatek mediatek: mt7981: setup all clocks needed for eMMC 2023-06-22 23:26:36 +08:00
meson meson: refresh kernel configuration 2023-02-13 23:50:15 +08:00
mpc85xx kernel: bump 5.4 to 5.4.221 (#10342) 2022-11-01 02:02:19 +00:00
mvebu kernel: bump 5.15 to 5.15.116 (#11299) 2023-06-12 11:05:43 +08:00
mxs x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
octeon kernel: Set CONFIG_FRAME_WARN depending on target 2023-06-03 21:50:27 +08:00
octeontx kernel: bump to 5.4.237, 5.10.175 (#11016) 2023-03-18 18:08:42 +08:00
omap x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
oxnas kernel: bump 5.15 to 5.15.86 (#10708) 2023-01-02 14:11:40 +08:00
pistachio kernel: bump to 5.4.229, 5.10.164, 5.15.89, 6.1.7 (#10785) 2023-01-19 14:03:33 +08:00
ramips kernel: bump to 5.4.247, 6.1.34 (#11314) 2023-06-18 01:07:34 +08:00
realtek realtek: fix typo in rtl838x.h (#11273) 2023-06-05 11:01:22 +08:00
rockchip kernel: bump 5.10 to 5.10.183 (#11301) 2023-06-12 12:08:04 +08:00
sifiveu sifiveu: add new target for SiFive U-based boards 2023-06-08 23:53:10 +08:00
silicon silicon: fix kernel target 2022-12-14 18:35:35 +08:00
sunxi sunxi: make use of 'rootfs-part' feature (#11280) 2023-06-06 13:03:43 +08:00
tegra kernel: bump 5.10 to 5.10.133 (#9845) 2022-07-27 23:51:57 +08:00
uml x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
x86 X86/64: 6.1: Disable intel ibt to avoid kernel panic (#11311) 2023-06-14 16:15:36 +08:00
zynq x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
Makefile treewide: sync with upstream (#10750) 2023-01-25 15:30:35 +08:00