lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240518152655.GA5820@aspen.lan>
Date: Sat, 18 May 2024 16:26:55 +0100
From: Daniel Thompson <daniel.thompson@...aro.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Jason Wessel <jason.wessel@...driver.com>, linux-kernel@...r.kernel.org,
	Douglas Anderson <dianders@...omium.org>,
	Thorsten Blum <thorsten.blum@...lux.com>,
	Justin Stitt <justinstitt@...gle.com>, Liuye <liu.yeC@....com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: [GIT PULL] kgdb changes for v6.10

Hi Linus

The following changes since commit 0bbac3facb5d6cc0171c45c9873a2dc96bea9680:

  Linux 6.9-rc4 (2024-04-14 13:38:39 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/danielt/linux.git/ tags/kgdb-6.10-rc1

for you to fetch changes up to b2aba15ad6f908d1a620fd97f6af5620c3639742:

  serial: kgdboc: Fix NMI-safety problems from keyboard reset code (2024-04-26 17:14:10 +0100)

----------------------------------------------------------------
kgdb patches for 6.10

Nine patches this cycle and they split into just three topics:

1. Adopt coccinelle's recommendation to adopt str_plural().
2. A set of seven patches to refactor kdb_read() to improve both code clarity
   and it's discipline with respect to fixed size buffers. This isn't just a
   refactor. Between them these also fix a cursor movement redraw problem and
   two buffer overflows (one latent and one real, albeit difficult to
   tickle).
3. Fix an NMI-safety problem when enqueuing kdb's keyboard reset code.

I wrote eight of the nine patches in this collection so many thanks to Doug
Anderson for the reviews. The changes that affects drivers/tty/serial is
acked by Greg KH.

Signed-off-by: Daniel Thompson <daniel.thompson@...aro.org>

----------------------------------------------------------------
Daniel Thompson (8):
      kdb: Fix buffer overflow during tab-complete
      kdb: Use format-strings rather than '\0' injection in kdb_read()
      kdb: Fix console handling when editing and tab-completing commands
      kdb: Merge identical case statements in kdb_read()
      kdb: Use format-specifiers rather than memset() for padding in kdb_read()
      kdb: Replace double memcpy() with memmove() in kdb_read()
      kdb: Simplify management of tmpbuffer in kdb_read()
      serial: kgdboc: Fix NMI-safety problems from keyboard reset code

Thorsten Blum (1):
      kdb: Use str_plural() to fix Coccinelle warning

 drivers/tty/serial/kgdboc.c |  30 ++++++++-
 kernel/debug/kdb/kdb_io.c   | 153 ++++++++++++++++++++++----------------------
 kernel/debug/kdb/kdb_main.c |   2 +-
 3 files changed, 108 insertions(+), 77 deletions(-)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ