linux-stable/drivers/net/ethernet
Claus Hansen Ries 92c0c29f66 net: ll_temac: platform_get_resource replaced by wrong function
commit 3a38a829c8 upstream.

The function platform_get_resource was replaced with
devm_platform_ioremap_resource_byname and is called using 0 as name.

This eventually ends up in platform_get_resource_byname in the call
stack, where it causes a null pointer in strcmp.

	if (type == resource_type(r) && !strcmp(r->name, name))

It should have been replaced with devm_platform_ioremap_resource.

Fixes: bd69058f50 ("net: ll_temac: Use devm_platform_ioremap_resource_byname()")
Signed-off-by: Claus Hansen Ries <chr@terma.com>
Cc: stable@vger.kernel.org
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/cca18f9c630a41c18487729770b492bb@terma.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-03 15:32:41 +02:00
..
3com
8390 net: fill in MODULE_DESCRIPTION()s for 8390 2024-01-24 15:12:20 -08:00
actions
adaptec
adi net: ethernet: adi: move PHYLIB from vendor to driver symbol 2024-02-28 11:16:34 +00:00
aeroflex
agere
alacritech
allwinner
alteon
altera
amazon net: ena: Remove ena_select_queue 2024-03-26 18:16:45 -04:00
amd net: pds_core: Fix possible double free in error handling path 2024-03-07 12:03:19 +01:00
apm
apple
aquantia net: atlantic: Fix DMA mapping for PTP hwts ring 2024-02-02 20:47:05 -08:00
arc
asix net: asix: fix fortify warning 2023-12-12 13:20:37 -08:00
atheros ethernet: atheros: fix a memleak in atl1e_setup_ring_resources 2023-12-15 10:55:35 +00:00
broadcom net/bnx2x: Prevent access to a freed page in page_pool 2024-03-26 18:17:36 -04:00
brocade bnad: fix work_queue type mismatch 2024-02-14 12:49:47 +00:00
cadence
calxeda
cavium net: fill in MODULE_DESCRIPTION()s for liquidio 2024-01-24 15:12:20 -08:00
chelsio net: ethtool: pass a pointer to parameters to get/set_rxfh ethtool ops 2023-12-13 22:07:16 -08:00
cirrus net: fill in MODULE_DESCRIPTION()s for ep93xxx_eth 2024-01-24 15:12:20 -08:00
cisco enic: Avoid false positive under FORTIFY_SOURCE 2024-02-19 10:57:27 +00:00
cortina net: ethernet: cortina: Drop TSO support 2024-01-07 16:05:00 +00:00
davicom
dec
dlink net: dl2k: Use proper conversion of dev_addr before IO to device 2023-12-12 11:25:36 +01:00
emulex net: ethtool: pass a pointer to parameters to get/set_rxfh ethtool ops 2023-12-13 22:07:16 -08:00
engleder tsnep: Fix mapping for zero copy XDP_TX action 2024-02-03 12:40:02 +00:00
ezchip net: fill in MODULE_DESCRIPTION()s for nps_enet 2024-01-24 15:12:20 -08:00
faraday
freescale net: dpaa: fman_memac: accept phy-interface-type = "10gbase-r" in the device tree 2024-02-23 11:22:42 +00:00
fujitsu
fungible net: ethtool: pass a pointer to parameters to get/set_rxfh ethtool ops 2023-12-13 22:07:16 -08:00
google gve: Fix skb truesize underestimation 2024-01-25 17:08:34 -08:00
hisilicon net: hns3: tracing: fix hclgevf trace event strings 2024-04-03 15:32:25 +02:00
huawei net: ethtool: pass a pointer to parameters to get/set_rxfh ethtool ops 2023-12-13 22:07:16 -08:00
i825xx
ibm mm, treewide: rename MAX_ORDER to MAX_PAGE_ORDER 2024-01-08 15:27:15 -08:00
intel ice: fix stats being updated by way too large values 2024-03-26 18:16:53 -04:00
litex net: fill in MODULE_DESCRIPTION()s for litex 2024-01-24 15:12:21 -08:00
marvell octeontx2-af: Use separate handlers for interrupts 2024-03-26 18:17:37 -04:00
mediatek net: ethernet: mtk_eth_soc: fix PPE hanging issue 2024-03-26 18:17:33 -04:00
mellanox dpll: move all dpll<>netdev helpers to dpll code 2024-03-05 18:36:42 -08:00
micrel spi: Updates for v6.8 2024-01-09 15:02:12 -08:00
microchip net: sparx5: Fix use after free inside sparx5_del_mact_entry 2024-03-04 20:38:22 -08:00
microsoft RDMA v6.8 merge window 2024-01-12 13:52:21 -08:00
moxa
mscc net: mscc: ocelot: fix pMAC TX RMON stats for bucket 256-511 and above 2023-12-14 17:58:10 -08:00
myricom
natsemi
neterion net: fill in MODULE_DESCRIPTION()s for s2io 2024-01-11 16:16:08 -08:00
netronome nfp: flower: handle acti_netdevs allocation failure 2024-03-26 18:16:57 -04:00
ni
nvidia
nxp
oki-semi
packetengines
pasemi
pensando ionic: restore netdev feature bits after reset 2024-02-27 13:03:32 +01:00
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-01-04 18:06:46 -08:00
qualcomm Including fixes from bpf and netfilter. 2024-01-18 17:33:50 -08:00
rdc
realtek Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-01-04 18:06:46 -08:00
renesas net: ravb: Count packets instead of descriptors in GbEth RX path 2024-02-15 07:55:30 -08:00
rocker
samsung
seeq
sfc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-01-04 18:06:46 -08:00
sgi
silan
sis
smsc
socionext
stmicro stmmac: Clear variable when destroying workqueue 2024-02-28 11:24:39 +00:00
sun
sunplus
synopsys
tehuti
ti net: bql: fix building with BQL disabled 2024-03-01 08:46:15 +00:00
toshiba ps3/gelic: Fix SKB allocation 2024-02-23 11:59:30 +00:00
tundra
vertexcom
via
wangxun net: txgbe: fix clk_name exceed MAX_DEV_ID limits 2024-03-26 18:17:33 -04:00
wiznet
xilinx net: ll_temac: platform_get_resource replaced by wrong function 2024-04-03 15:32:41 +02:00
xircom
xscale
Kconfig
Makefile
dnet.c
dnet.h
ec_bhf.c
ethoc.c
fealnx.c
jme.c
jme.h
korina.c
lantiq_etop.c
lantiq_xrx200.c