From: Daniel Thompson <danielt@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jason Wessel <jason.wessel@windriver.com>,
linux-kernel@vger.kernel.org,
Douglas Anderson <dianders@chromium.org>,
Fang Xieyan <fangxy@xiaopeng.com>,
Naveen Kumar Chaudhary <naveen.osdev@gmail.com>
Subject: [GIT PULL] kgdb changes for v7.4
Date: Wed, 28 Oct 2026 17:09:21 +0000 [thread overview]
Message-ID: <auIsQQ1rwNReWa1r@aspen.lan> (raw)
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(-)
next reply other threads:[~2026-10-28 17:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 17:09 Daniel Thompson [this message]
2026-10-30 0:05 ` pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=auIsQQ1rwNReWa1r@aspen.lan \
--to=danielt@kernel.org \
--cc=dianders@chromium.org \
--cc=fangxy@xiaopeng.com \
--cc=jason.wessel@windriver.com \
--cc=linux-kernel@vger.kernel.org \
--cc=naveen.osdev@gmail.com \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®