Linux NFS development
 help / color / mirror / Atom feed
* [nfs4-acl-tools PATCH 0/3] nfs4-acl-tools hardening fixes
@ 2026-09-04  9:39 Roberto Bergantinos Corpas
  2026-09-04  9:39 ` [nfs4-acl-tools PATCH 1/3] nfs4_getfacl/nfs4_setfacl: escape newline+cr from filenames Roberto Bergantinos Corpas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Roberto Bergantinos Corpas @ 2026-09-04  9:39 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs

- Escape special characters in printed filenames to prevent injection
- Fix bound checking around NFS4_MAX_PRINCIPALSIZE
- Use lsetxattr to avoid following symlinks during recursive walks

Roberto Bergantinos Corpas (3):
  nfs4_getfacl/nfs4_setfacl: escape newline+cr from filenames
  libnfs4acl: fix various bound checkings against NFS4_MAX_PRINCIPALSIZE
  nfs4_setacl: do not follow symlinks on
    do_apply_action/nfs4_setacl_byname

 include/libacl_nfs4.h             |  1 +
 libnfs4acl/acl_nfs4_set_who.c     |  2 +-
 libnfs4acl/acl_nfs4_xattr_load.c  |  2 +-
 libnfs4acl/nfs4_ace_from_string.c |  2 +-
 libnfs4acl/nfs4_print_acl.c       | 13 +++++++++++++
 libnfs4acl/nfs4_setacl.c          |  2 +-
 nfs4_getfacl/nfs4_getfacl.c       |  7 +++++--
 nfs4_setfacl/nfs4_setfacl.c       |  6 ++++--
 8 files changed, 27 insertions(+), 8 deletions(-)

-- 
2.55.0


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

end of thread, other threads:[~2026-09-04  9:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-04  9:39 [nfs4-acl-tools PATCH 0/3] nfs4-acl-tools hardening fixes Roberto Bergantinos Corpas
2026-09-04  9:39 ` [nfs4-acl-tools PATCH 1/3] nfs4_getfacl/nfs4_setfacl: escape newline+cr from filenames Roberto Bergantinos Corpas
2026-09-04  9:39 ` [nfs4-acl-tools PATCH 2/3] libnfs4acl: fix various bound checkings against NFS4_MAX_PRINCIPALSIZE Roberto Bergantinos Corpas
2026-09-04  9:39 ` [nfs4-acl-tools PATCH 3/3] nfs4_setacl: do not follow symlinks on do_apply_action/nfs4_setacl_byname Roberto Bergantinos Corpas

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