linux-stable/net
Hari Kalavakunta 94b2754f8c net: ncsi: Fix buffer overflow in fetching version id
[ Upstream commit 8e16170ae9 ]

In NC-SI spec v1.2 section 8.4.44.2, the firmware name doesn't
need to be null terminated while its size occupies the full size
of the field. Fix the buffer overflow issue by adding one
additional byte for null terminator.

Signed-off-by: Hari Kalavakunta <kalavakunta.hari.prasad@gmail.com>
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
Link: https://patch.msgid.link/20250610193338.1368-1-kalavakunta.hari.prasad@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-28 16:22:44 +02:00
..
6lowpan
9p
802
8021q net: vlan: fix VLAN 0 refcount imbalance of toggling filtering during runtime 2025-08-28 16:22:29 +02:00
appletalk net: appletalk: Fix use-after-free in AARP proxy probe 2025-08-28 16:22:30 +02:00
atm
ax25
batman-adv
bluetooth Bluetooth: L2CAP: Fix attempting to adjust outgoing MTU 2025-08-28 16:22:29 +02:00
bpf
bpfilter
bridge
caif caif: reduce stack size, again 2025-08-28 16:22:32 +02:00
can
ceph
core netpoll: prevent hanging NAPI when netcons gets enabled 2025-08-28 16:22:37 +02:00
dcb
dccp
decnet
dns_resolver
dsa
ethernet
ethtool
hsr
ieee802154
ife
ipv4 net: ipv4: fix incorrect MTU in broadcast routes 2025-08-28 16:22:43 +02:00
ipv6 ipv6: reject malicious packets in ipv6_gso_segment() 2025-08-28 16:22:37 +02:00
iucv
kcm
key
l2tp
l3mdev
lapb
llc
mac80211 Reapply "wifi: mac80211: Update skb's control block key in ieee80211_tx_dequeue()" 2025-08-28 16:22:33 +02:00
mac802154
mpls
mptcp
ncsi net: ncsi: Fix buffer overflow in fetching version id 2025-08-28 16:22:44 +02:00
netfilter netfilter: ctnetlink: fix refcount leak on table dump 2025-08-28 16:22:39 +02:00
netlabel
netlink netlink: avoid infinite retry looping in netlink_unicast() 2025-08-28 16:22:38 +02:00
netrom
nfc
nsh
openvswitch
packet net/packet: fix a race in packet_set_ring() and packet_notifier() 2025-08-28 16:22:38 +02:00
phonet phonet/pep: Move call to pn_skb_get_dst_sockaddr() earlier in pep_sock_accept() 2025-08-28 16:22:27 +02:00
psample
qrtr
rds
rfkill
rose
rxrpc
sched net_sched: act_ctinfo: use atomic64_t for three counters 2025-08-28 16:22:33 +02:00
sctp sctp: linearize cloned gso packets in sctp_rcv 2025-08-28 16:22:39 +02:00
smc
strparser
sunrpc
switchdev
tipc
tls bpf, ktls: Fix data corruption when using bpf_msg_pop_data() in ktls 2025-08-28 16:22:32 +02:00
unix
vmw_vsock vsock: Do not allow binding to VMADDR_PORT_ANY 2025-08-28 16:22:38 +02:00
wimax
wireless wifi: cfg80211: reject HTC bit for management frames 2025-08-28 16:22:42 +02:00
x25
xdp
xfrm
compat.c
devres.c
Kconfig
Makefile
socket.c
sysctl_net.c