linux/drivers/net
Claus Hansen Ries 7e9edb569f 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:11:51 +02:00
..
arcnet arcnet: restoring support for multiple Sohard Arcnet cards 2023-12-04 18:01:20 -08:00
bonding xdp, bonding: Fix feature flags when there are no slave devs anymore 2024-03-15 10:48:19 -04:00
caif
can can: m_can: Start/Cancel polling timer together with interrupts 2024-03-26 18:18:13 -04:00
dsa net: dsa: mt7530: fix handling of all link-local frames 2024-03-26 18:18:59 -04:00
ethernet net: ll_temac: platform_get_resource replaced by wrong function 2024-04-03 15:11:51 +02:00
fddi
fjes fjes: fix memleaks in fjes_hw_setup 2024-01-31 16:21:10 -08:00
hamradio
hippi
hyperv hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed 2024-02-23 09:51:56 +01:00
ieee802154
ipa net: ipa: don't overrun IPA suspend interrupt registers 2024-03-01 13:41:57 +01:00
ipvlan ipvlan: add ipvlan_route_v6_outbound() helper 2023-11-10 10:59:22 +00:00
mctp
mdio net: mdio: fill in missing MODULE_DESCRIPTION()s 2023-11-01 21:50:57 -07:00
netdevsim netdevsim: avoid potential loop in nsim_dev_trap_report_work() 2024-02-16 19:14:20 +01:00
pcs net: pcs: xpcs: Add 2500BASE-X case in get state for XPCS drivers 2023-10-27 15:59:44 -07:00
phy net: phy: fix phy_read_poll_timeout argument type in genphy_loopback 2024-03-26 18:18:57 -04:00
plip
ppp ppp_async: limit MRU to 64K 2024-02-16 19:14:23 +01:00
pse-pd
slip
team team: Fix use-after-free when an option instance allocation fails 2023-12-08 10:45:49 -08:00
thunderbolt
usb sr9800: Add check for usbnet_get_endpoints 2024-03-26 18:18:24 -04:00
vmxnet3 vmxnet3: Fix missing reserved tailroom 2024-03-26 18:18:54 -04:00
vxlan vxlan: Cleanup IFLA_VXLAN_PORT_RANGE entry in vxlan_get_size() 2023-10-27 15:36:38 -07:00
wan
wireguard wireguard: netlink: access device through ctx instead of peer 2024-04-03 15:11:30 +02:00
wireless wifi: iwlwifi: mvm: handle debugfs names more carefully 2024-04-03 15:11:49 +02:00
wwan
xen-netback xen-netback: properly sync TX responses 2024-02-23 09:51:39 +01:00
amt.c amt: do not use overwrapped cb area 2024-01-25 15:45:26 -08:00
bareudp.c bareudp: use ports to lookup route 2023-10-26 15:21:09 +02:00
dummy.c net: fill in MODULE_DESCRIPTION()s under drivers/net/ 2023-10-28 11:29:28 +01:00
eql.c net: fill in MODULE_DESCRIPTION()s under drivers/net/ 2023-10-28 11:29:28 +01:00
geneve.c geneve: make sure to pull inner header in geneve_rx() 2024-03-15 10:48:17 -04:00
gtp.c gtp: fix use-after-free and null-ptr-deref in gtp_newlink() 2024-03-06 14:53:55 +00:00
ifb.c net: fill in MODULE_DESCRIPTION()s under drivers/net/ 2023-10-28 11:29:28 +01:00
Kconfig netkit, bpf: Add bpf programmable net device 2023-10-24 16:06:03 -07:00
LICENSE.SRC
loopback.c
macsec.c
macvlan.c macvlan: Don't propagate promisc change to lower dev in passthru 2023-11-16 10:52:59 +01:00
macvtap.c net: fill in MODULE_DESCRIPTION()s under drivers/net/ 2023-10-28 11:29:28 +01:00
Makefile netkit, bpf: Add bpf programmable net device 2023-10-24 16:06:03 -07:00
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
netkit.c netkit: Reject IFLA_NETKIT_PEER_INFO in netkit_change_link 2023-11-27 16:07:34 -08:00
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c net: fill in MODULE_DESCRIPTION()s under drivers/net/ 2023-10-28 11:29:28 +01:00
tap.c net: fill in MODULE_DESCRIPTION()s under drivers/net/ 2023-10-28 11:29:28 +01:00
tun.c tun: Fix xdp_rxq_info's queue_index when detaching 2024-03-06 14:53:49 +00:00
veth.c net: veth: do not manipulate GRO when using XDP 2024-03-26 18:18:56 -04:00
virtio_net.c virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings 2024-02-05 20:17:05 +00:00
vrf.c net: Move {l,t,d}stats allocation to core and convert veth & vrf 2023-11-20 10:15:16 -08:00
vsockmon.c
xen-netfront.c