Linux Documentation
 help / color / mirror / Atom feed
* [PATCH 0/3] x86/vdso: improve vdso=/vdso32= boot parameter validation
@ 2026-06-07 15:16 Thorsten Blum
  2026-06-07 15:16 ` [PATCH 1/3] x86/vdso: use kstrtouint() to validate vdso= boot parameter Thorsten Blum
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thorsten Blum @ 2026-06-07 15:16 UTC (permalink / raw)
  To: Andy Lutomirski, Thomas Gleixner, Ingo Molnar, Borislav Petkov,
	Dave Hansen, H. Peter Anvin, Andrew Morton, Jonathan Corbet,
	Shuah Khan, Randy Dunlap
  Cc: x86, linux-doc, linux-kernel, Thorsten Blum

Replace the deprecated simple_strtoul() [1] with kstrtouint() when
parsing the vDSO boot parameters. This provides strict input validation,
rejects partial input, and warns when disabling vDSO for invalid values.

Adjust both warnings for consistency and update the documentation.

[1] https://www.kernel.org/doc/html/latest/process/deprecated.html#simple-strtol-simple-strtoll-simple-strtoul-simple-strtoull

Thorsten Blum (3):
  x86/vdso: use kstrtouint() to validate vdso= boot parameter
  x86/vdso: use kstrtouint() to validate vdso32= boot parameter
  Documentation/arch/x86: remove obsolete vdso32=2 compatibility note

 Documentation/admin-guide/kernel-parameters.txt |  5 +----
 arch/x86/entry/vdso/vdso32-setup.c              | 10 ++++------
 arch/x86/entry/vdso/vma.c                       |  6 +++++-
 3 files changed, 10 insertions(+), 11 deletions(-)


base-commit: 979c294509f9248fe1e7c358d582fb37dd5ca12d

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

end of thread, other threads:[~2026-06-07 15:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-07 15:16 [PATCH 0/3] x86/vdso: improve vdso=/vdso32= boot parameter validation Thorsten Blum
2026-06-07 15:16 ` [PATCH 1/3] x86/vdso: use kstrtouint() to validate vdso= boot parameter Thorsten Blum
2026-06-07 15:16 ` [PATCH 2/3] x86/vdso: use kstrtouint() to validate vdso32= " Thorsten Blum
2026-06-07 15:16 ` [PATCH 3/3] Documentation/arch/x86: remove obsolete vdso32=2 compatibility note Thorsten Blum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox