linux-stable/net/ncsi
Hari Kalavakunta eae64c4900 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:21:27 +02:00
..
internal.h net: ncsi: Fix buffer overflow in fetching version id 2025-08-28 16:21:27 +02:00
Kconfig
Makefile
ncsi-aen.c
ncsi-cmd.c
ncsi-manage.c net/ncsi: wait for the last response to Deselect Package before configuring channel 2025-03-13 12:43:11 +01:00
ncsi-netlink.c
ncsi-netlink.h
ncsi-pkt.h net: ncsi: Fix GCPS 64-bit member variables 2025-06-27 11:02:46 +01:00
ncsi-rsp.c net: ncsi: Fix buffer overflow in fetching version id 2025-08-28 16:21:27 +02:00