* [GIT PULL] kgdb changes for v7.4
@ 2026-10-28 17:09 Daniel Thompson
0 siblings, 0 replies; only message in thread
From: Daniel Thompson @ 2026-10-28 17:09 UTC (permalink / raw)
To: Linus Torvalds
Cc: Jason Wessel, linux-kernel, Douglas Anderson, Fang Xieyan,
Naveen Kumar Chaudhary
The following changes since commit 24a19b953e2a3d0ea5a8c4951a0ab8f32720c907:
Linux 7.3-rc7 (2026-10-11 20:04:55 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-7.4-rc1
for you to fetch changes up to 9ca9e8c857b55a081d5a1f8039b27cbb4d646b49:
kgdb: Fix buffer overflow in the qRcmd packet handler (2026-10-28 16:55:40 +0000)
----------------------------------------------------------------
kgdb patches for 7.4
Varied updates this cycle. Naveen Kumar Chaudhary fixed a memory leak
when the environment is already full, eliminated to weird historical
cruft (CMD_BUFLEN having different values in different files) and
removed some dead code. Fang Xieyan tackled a family of related
buffer overflows in the gdb remote protocol parsing (great fixes
from a defensive coding point of view but not security relavent;
gdb can already do anything it wants to).
Signed-off-by: Daniel Thompson (RISCstar) <danielt@kernel.org>
----------------------------------------------------------------
Fang Xieyan (3):
kgdb: Fix buffer overflow in the 'm' packet handler
kgdb: Fix buffer overflow in the 'M' and 'X' packet handlers
kgdb: Fix buffer overflow in the qRcmd packet handler
Naveen Kumar Chaudhary (3):
kdb: fix memory leak in kdb_setenv() when environment is full
kdb: unify CMD_BUFLEN definition into kdb_private.h
kgdb: remove unreachable return in kgdb_reenter_check()
kernel/debug/debug_core.c | 2 --
kernel/debug/gdbstub.c | 55 ++++++++++++++++++++++++++++++++++++------
kernel/debug/kdb/kdb_io.c | 1 -
kernel/debug/kdb/kdb_main.c | 7 +++---
kernel/debug/kdb/kdb_private.h | 3 ++-
5 files changed, 52 insertions(+), 16 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-28 17:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 17:09 [GIT PULL] kgdb changes for v7.4 Daniel Thompson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®