openwrt/target/linux/generic/pending-5.15
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
..
100-compiler.h-only-include-asm-rwonce.h-for-kernel-code.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
102-MIPS-only-process-negative-stack-offsets-on-stack-tr.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
103-kbuild-export-SUBARCH.patch kernel: bump 5.15 to 5.15.100 2023-03-18 12:52:17 +01:00
110-v6.3-0001-spidev-Add-Silicon-Labs-EM3581-device-compatible.patch kernel: bump 5.15 to 5.15.91 2023-02-03 09:34:32 +01:00
110-v6.3-0002-spidev-Add-Silicon-Labs-SI3210-device-compatible.patch kernel: bump 5.15 to 5.15.91 2023-02-03 09:34:32 +01:00
111-watchdog-max63xx_wdt-Add-support-for-specifying-WDI-.patch kernel: add support for max6370 watchdog via GPIO 2023-03-04 12:54:38 +01:00
120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch generic: 5.15: refresh kernel patches 2023-03-27 14:16:10 +02:00
140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
141-jffs2-add-RENAME_EXCHANGE-support.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
142-jffs2-add-splice-ops.patch
150-bridge_allow_receiption_on_disabled_port.patch kernel: bump 5.15 to 5.15.42 2022-06-06 19:20:28 +02:00
190-rtc-rs5c372-support_alarms_up_to_1_week.patch
191-rtc-rs5c372-let_the_alarm_to_be_used_as_wakeup_source.patch
203-kallsyms_uncompressed.patch kernel: bump 5.15 to 5.15.96 2023-02-28 04:38:13 -05:00
205-backtrace_module_info.patch kernel: bump 5.15 to 5.15.44 2022-06-06 19:20:28 +02:00
240-remove-unsane-filenames-from-deps_initramfs-list.patch
261-enable_wilink_platform_without_drivers.patch
270-platform-mikrotik-build-bits.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
300-mips_expose_boot_raw.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
301-MIPS-Add-barriers-between-dcache-icache-flushes.patch generic: MIPS: Add barriers between dcache & icache flushes 2023-03-04 13:09:30 +01:00
302-mips_no_branch_likely.patch
305-mips_module_reloc.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
307-mips_highmem_offset.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
308-mips32r2_tune.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
310-arm_module_unresolved_weak_sym.patch
330-MIPS-kexec-Accept-command-line-parameters-from-users.patch kernel: bump 5.15 to 5.15.80 2022-11-27 13:18:29 +01:00
332-arc-add-OWRTDTB-section.patch
333-arc-enable-unaligned-access-in-kernel-mode.patch
342-powerpc-Enable-kernel-XZ-compression-option-on-PPC_8.patch kernel: bump 5.15 to 5.15.47 2022-06-27 00:57:16 +02:00
351-irqchip-bcm-6345-l1-request-memory-region.patch kernel: add pending bmips patches 2023-03-20 19:51:53 +01:00
400-mtd-mtdsplit-support.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
402-mtd-spi-nor-write-support-for-minor-aligned-partitions.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
420-mtd-redboot_space.patch kernel: bump 5.15 to 5.15.62 2022-08-23 10:37:04 +02:00
430-mtd-add-myloader-partition-parser.patch kernel: silence refresh warning 2022-08-05 14:10:42 +02:00
431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
432-mtd-bcm47xxpart-detect-T_Meter-partition.patch
435-mtd-add-routerbootpart-parser-config.patch kernel: mtd: backport SafeLoader parser 2022-10-19 07:07:14 +02:00
460-mtd-cfi_cmdset_0002-no-erase_suspend.patch kernel: bump 5.15 to 5.15.46 2022-06-27 00:57:16 +02:00
461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch kernel: bump 5.15 to 5.15.46 2022-06-27 00:57:16 +02:00
465-m25p80-mx-disable-software-protection.patch
476-mtd-spi-nor-add-eon-en25q128.patch kernel: add patch to support en25qh256a 2023-01-06 19:22:52 +01:00
477-mtd-spi-nor-add-eon-en25qx128a.patch kernel: add patch to support en25qh256a 2023-01-06 19:22:52 +01:00
479-mtd-spi-nor-add-xtx-xt25f128b.patch kernel: bump 5.15 to 5.15.87 2023-01-13 22:04:22 +01:00
481-mtd-spi-nor-add-support-for-Gigadevice-GD25D05.patch target/linux/pending-5.15: rename patches 2022-07-14 06:45:21 +02:00
482-mtd-spi-nor-add-gd25q512.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +02:00
484-mtd-spi-nor-add-esmt-f25l16pa.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +02:00
485-mtd-spi-nor-add-xmc-xm25qh128c.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +02:00
486-01-mtd-spinand-add-support-for-ESMT-F50x1G41LB.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
487-mtd-spinand-Add-support-for-Etron-EM73D044VCx.patch kernel: backport MEMREAD ioctl 2023-04-18 13:53:03 +02:00
488-mtd-spi-nor-add-xmc-xm25qh64c.patch kernel: add support for XMC XM25QH64C 2023-04-01 19:47:46 +02:00
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch kernel: backport fix for recently introduced UBI bug 2023-04-15 03:23:42 +01:00
491-ubi-auto-create-ubiblock-device-for-rootfs.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
494-mtd-ubi-add-EOF-marker-support.patch kernel: bump 5.15 to 5.15.47 2022-06-27 00:57:16 +02:00
496-dt-bindings-add-bindings-for-mtd-concat-devices.patch
497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch kernel: replace downstream get_mtd_device_by_node() implementation 2022-08-28 13:06:24 +02:00
498-mtd-spi-nor-locking-support-for-MX25L6405D.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
499-mtd-spi-nor-disable-16-bit-sr-for-macronix.patch
500-fs_cdrom_dependencies.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +02:00
530-jffs2_make_lzma_available.patch kernel: fold lzma debloat patch into the patch adding the code 2022-09-30 13:13:51 +02:00
532-jffs2_eofdetect.patch kernel: bump 5.15 to 5.15.33 2022-04-09 19:31:46 +02:00
600-netfilter_conntrack_flush.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
610-netfilter_match_bypass_default_checks.patch kernel: bump 5.15 to 5.15.100 2023-03-18 12:52:17 +01:00
611-netfilter_match_bypass_default_table.patch
612-netfilter_match_reduce_memory_access.patch
620-net_sched-codel-do-not-defer-queue-length-update.patch
630-packet_socket_type.patch kernel: bump 5.15 to 5.15.87 2023-01-13 22:04:22 +01:00
655-increase_skb_pad.patch kernel: bump 5.15 to 5.15.75 2022-10-30 17:54:59 +01:00
666-Add-support-for-MAP-E-FMRs-mesh-mode.patch kernel: bump 5.15 to 5.15.77 2022-11-05 16:26:38 +01:00
670-ipv6-allow-rejecting-with-source-address-failed-policy.patch kernel: bump 5.15 to 5.15.100 2023-03-18 12:52:17 +01:00
671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
680-NET-skip-GRO-for-foreign-MAC-addresses.patch kernel: bump 5.15 to 5.15.104 2023-03-25 16:05:14 +01:00
682-of_net-add-mac-address-increment-support.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
683-of_net-add-mac-address-to-of-tree.patch kernel: bump 5.15 to 5.15.55 2022-07-31 18:55:22 +02:00
684-of_net-do-mac-address-increment-only-once.patch kernel: fix mac-address-increment on driver probe defer 2022-09-23 12:16:29 +02:00
700-netfilter-nft_flow_offload-handle-netdevice-events-f.patch generic: 5.15: move not backport patch to pending dir 2022-10-24 21:10:48 +02:00
702-net-ethernet-mtk_eth_soc-enable-threaded-NAPI.patch kernel: fix mtk_eth_soc throughput regressions on gigabit PHY ports 2023-03-29 16:14:37 +02:00
703-phy-add-detach-callback-to-struct-phy_driver.patch kernel: bump 5.15 to 5.15.82 2022-12-11 02:42:52 +01:00
705-net-dsa-tag_mtk-add-padding-for-tx-packets.patch kernel: move accepted mtk_eth_soc patches to generic-backport 2023-03-05 08:51:22 +01:00
710-bridge-add-knob-for-filtering-rx-tx-BPDU-pack.patch kernel: bump 5.15 to 5.15.42 2022-06-06 19:20:28 +02:00
721-net-phy-realtek-rtl8221-allow-to-configure-SERDES-mo.patch kernel: net: phy: realtek: improve RealTek 2.5G PHY driver 2023-04-22 04:08:41 +01:00
722-net-phy-realtek-support-switching-between-SGMII-and-.patch kernel: net: phy: realtek: improve RealTek 2.5G PHY driver 2023-04-22 04:08:41 +01:00
723-net-mt7531-ensure-all-MACs-are-powered-down-before-r.patch kernel: bump 5.15 to 5.15.105 2023-04-01 19:58:44 +02:00
724-net-phy-realtek-use-genphy_soft_reset-for-2.5G-PHYs.patch kernel: net: phy: realtek: improve RealTek 2.5G PHY driver 2023-04-22 04:08:41 +01:00
725-net-phy-realtek-disable-SGMII-in-band-AN-for-2-5G-PHYs.patch kernel: net: phy: realtek: improve RealTek 2.5G PHY driver 2023-04-22 04:08:41 +01:00
726-net-phy-realtek-make-sure-paged-read-is-protected-by.patch kernel: net: phy: realtek: fix NULL pointer dereference 2023-04-24 03:16:26 +01:00
727-net-phy-realtek-use-inline-functions-for-10GbE-adver.patch kernel: net: phy: realtek: improve RealTek 2.5G PHY driver 2023-04-22 04:08:41 +01:00
728-net-phy-realtek-check-validity-of-10GbE-link-partner.patch kernel: net: phy: realtek: improve RealTek 2.5G PHY driver 2023-04-22 04:08:41 +01:00
729-net-phy-realtek-introduce-rtl822x_probe.patch kernel: net: phy: realtek: fix NULL pointer dereference 2023-04-24 03:16:26 +01:00
731-net-ethernet-mediatek-ppe-add-support-for-flow-accou.patch kernel: fix mtk_eth_soc flow accounting for MT7986 2023-04-01 09:16:30 +02:00
732-00-net-ethernet-mtk_eth_soc-drop-generic-vlan-rx-offloa.patch kernel: fix mtk_eth_soc throughput regressions on gigabit PHY ports 2023-03-29 16:14:37 +02:00
732-01-net-ethernet-mtk_eth_soc-work-around-issue-with-send.patch kernel: fix mtk_eth_soc throughput regressions on gigabit PHY ports 2023-03-29 16:14:37 +02:00
732-02-net-ethernet-mtk_eth_soc-set-NETIF_F_ALL_TSO.patch kernel: move accepted mtk_eth_soc patches to generic-backport 2023-03-05 08:51:22 +01:00
732-03-net-ethernet-mtk_eth_soc-fix-remaining-throughput-re.patch kernel: fix mtk_eth_soc throughput regressions on gigabit PHY ports 2023-03-29 16:14:37 +02:00
734-net-ethernet-mtk_eth_soc-ppe-fix-L2-offloading-with-.patch kernel: update mtk ppe flow accounting patch to the latest version 2023-03-23 17:54:18 +01:00
736-01-net-ethernet-mtk_eth_soc-add-code-for-offloading-flo.patch generic: mtk_eth_soc: switch to external PCS driver 2023-03-27 19:07:54 +01:00
736-02-net-ethernet-mediatek-mtk_ppe-prefer-newly-added-l2-.patch mediatek: add kernel code for supporting offloading wlan->eth and wlan->wlan flows 2023-03-23 17:54:18 +01:00
736-03-net-ethernet-mtk_eth_soc-improve-keeping-track-of-of.patch kernel: fix mtk flow offload list corruption issue with l2 flows 2023-03-25 11:58:59 +01:00
736-04-net-ethernet-mediatek-fix-ppe-flow-accounting-for-L2.patch kernel: fix mtk flow offload list corruption issue with l2 flows 2023-03-25 11:58:59 +01:00
736-05-net-ethernet-mtk_eth_soc-add-missing-ppe-cache-flush.patch kernel: fix mtk flow offload list corruption issue with l2 flows 2023-03-25 11:58:59 +01:00
736-06-net-ethernet-mediatek-fix-ppe-flow-accounting-for-v1.patch kernel: fix mtk flow offload list corruption issue with l2 flows 2023-03-25 11:58:59 +01:00
750-skb-Do-mix-page-pool-and-page-referenced-frags-in-GR.patch kernel: bump 5.15 to 5.15.92 2023-02-08 00:21:28 +01:00
760-net-core-add-optional-threading-for-backlog-processi.patch kernel: remove unnecessary change from backlog threading fix 2023-03-28 13:14:04 +02:00
768-net-dsa-mv88e6xxx-Request-assisted-learning-on-CPU-port.patch kernel: bump 5.15 to 5.15.106 2023-04-09 14:48:34 +02:00
772-net-dsa-b53-add-support-for-BCM63xx-RGMIIs.patch kernel: fix DSA B53 BCM63xx RGMII patch 2023-03-23 12:20:31 +01:00
773-net-dsa-b53-mmap-add-more-63xx-SoCs.patch kernel: backport upstreamed DSA B53 MMAP patch 2023-04-01 22:39:35 +02:00
774-net-dsa-b53-mmap-allow-passing-a-chip-ID.patch kernel: backport upstreamed DSA B53 MMAP patch 2023-04-01 22:39:35 +02:00
775-net-dsa-b53-add-BCM63268-RGMII-configuration.patch kernel: update pending b53 mmap patches 2023-03-21 19:28:38 +01:00
777-net-dsa-b53-mdio-add-support-for-BCM53134.patch kernel: add more dsa b53 pending patches 2023-03-24 11:23:42 +01:00
780-ARM-kirkwood-add-missing-linux-if_ether.h-for-ETH_AL.patch
790-bus-mhi-core-add-SBL-state-callback.patch generic: 5.15: add MHI SBL callback for ath11k 2023-01-16 12:42:23 +01:00
800-bcma-get-SoC-device-struct-copy-its-DMA-params-to-th.patch
801-gpio-gpio-cascade-add-generic-GPIO-cascade.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
802-nvmem-u-boot-env-align-endianness-of-crc32-values.patch kernel: backport NVMEM patch for U-Boot env data "ethaddr" cell 2023-04-06 12:21:29 +02:00
810-pci_disable_common_quirks.patch kernel: bump 5.15 to 5.15.33 2022-04-09 19:31:46 +02:00
811-pci_disable_usb_common_quirks.patch kernel: bump 5.15 to 5.15.62 2022-08-23 10:37:04 +02:00
820-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch
834-ledtrig-libata.patch kernel: bump 5.15 to 5.15.86 2023-01-03 23:55:45 +01:00
840-hwrng-bcm2835-set-quality-to-1000.patch generic: 5.15: refresh pending patch 2022-03-27 05:00:50 +01:00
850-0023-PCI-aardvark-Make-main-irq_chip-structure-a-static-d.patch kernel: bump 5.15 to 5.15.63 2022-08-25 22:07:43 +02:00
850-dt-bindings-clk-add-BCM63268-timer-clock-definitions.patch kernel: add pending patches for bcm63268-timer-clocks 2023-03-22 18:31:31 +01:00
851-dt-bindings-reset-add-BCM63268-timer-reset-definitions.patch kernel: add pending patches for bcm63268-timer-clocks 2023-03-22 18:31:31 +01:00
852-clk-bcm-Add-BCM63268-timer-clock-and-reset-driver.patch kernel: add pending patches for bcm63268-timer-clocks 2023-03-22 18:31:31 +01:00
920-mangle_bootargs.patch kernel: bump 5.15 to 5.15.96 2023-02-28 04:38:13 -05:00