All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] platform/x86: hp-bioscfg: string buffer and password fixes
@ 2026-09-30 18:30 Muhammad Bilal
  2026-09-30 18:30 ` [PATCH v3 1/3] platform/x86: hp-bioscfg: fix OOB reads in hp_get_string_from_buffer() Muhammad Bilal
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Muhammad Bilal @ 2026-09-30 18:30 UTC (permalink / raw)
  To: jorge.lopez2, hansg, ilpo.jarvinen
  Cc: andy.shevchenko, platform-driver-x86, linux-kernel, stable,
	Muhammad Bilal

Fix string parsing in hp_get_string_from_buffer() and make over-length
password writes fail.

Changes in v3:
 - Drop Suggested-by: Andy Shevchenko from patch 2, tidy its includes
   and declarations (Andy)
 - Return -E2BIG instead of -ERANGE in patch 3 (Andy)
 - Drop a blank line in the declarations in patch 1 (Andy)

Changes in v2:
 - Split the hp_get_string_from_buffer() fix in two (Ilpo)
 - Drop the lib/string_helpers patch, use @only of string_escape_mem()
   instead (Andy)
 - Add patch 3

Muhammad Bilal (3):
  platform/x86: hp-bioscfg: fix OOB reads in hp_get_string_from_buffer()
  platform/x86: hp-bioscfg: fix non-ASCII truncation in
    hp_get_string_from_buffer()
  platform/x86: hp-bioscfg: return -E2BIG from validate_password_input()

 drivers/platform/x86/hp/hp-bioscfg/bioscfg.c  | 79 ++++++-------------
 .../x86/hp/hp-bioscfg/passwdobj-attributes.c  |  7 +-
 2 files changed, 28 insertions(+), 58 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-30 18:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30 18:30 [PATCH v3 0/3] platform/x86: hp-bioscfg: string buffer and password fixes Muhammad Bilal
2026-09-30 18:30 ` [PATCH v3 1/3] platform/x86: hp-bioscfg: fix OOB reads in hp_get_string_from_buffer() Muhammad Bilal
2026-09-30 18:30 ` [PATCH v3 2/3] platform/x86: hp-bioscfg: fix non-ASCII truncation " Muhammad Bilal
2026-09-30 18:30 ` [PATCH v3 3/3] platform/x86: hp-bioscfg: return -E2BIG from validate_password_input() Muhammad Bilal
2026-09-30 18:38 ` [PATCH v3 0/3] platform/x86: hp-bioscfg: string buffer and password fixes Muhammad Bilal

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.