Linux NFS development
 help / color / mirror / Atom feed
* [PATCH 0/3] gssd, idmapd: validate names before using them
@ 2026-08-31 10:42 Prabhakar Pujeri
  2026-08-31 10:42 ` [PATCH 1/3] gssd: fix use of uninitialized memory in error message Prabhakar Pujeri
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Prabhakar Pujeri @ 2026-08-31 10:42 UTC (permalink / raw)
  To: linux-nfs; +Cc: Prabhakar Pujeri

These fixes validate externally supplied names before treating them as C
strings.  They correct an uninitialized read in an error path, keep idmapd
inside the fixed NAMETOID field, and reject server hostnames that do not
fit in gssd's destination buffer.

The series is based on current nfs-utils master.  A fresh autotools build
and make check complete successfully; the statd integration test is skipped
when its required service environment is unavailable.

Prabhakar Pujeri (3):
  gssd: fix use of uninitialized memory in error message
  idmapd: validate NAMETOID names within their fixed-size field
  gssd: reject server hostnames that do not fit

 utils/gssd/gssd.c      | 2 +-
 utils/gssd/krb5_util.c | 9 +++++++--
 utils/idmapd/idmapd.c  | 7 +++----
 3 files changed, 11 insertions(+), 7 deletions(-)

-- 
2.55.0

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

end of thread, other threads:[~2026-08-31 10:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-31 10:42 [PATCH 0/3] gssd, idmapd: validate names before using them Prabhakar Pujeri
2026-08-31 10:42 ` [PATCH 1/3] gssd: fix use of uninitialized memory in error message Prabhakar Pujeri
2026-08-31 10:42 ` [PATCH 2/3] idmapd: validate NAMETOID names within their fixed-size field Prabhakar Pujeri
2026-08-31 10:42 ` [PATCH 3/3] gssd: reject server hostnames that do not fit Prabhakar Pujeri

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