All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC/v1] kNFSD Encrypted Filehandles
@ 2025-12-27 17:00 Benjamin Coddington
  2025-12-27 17:03 ` [PATCH v1 0/2] nfs-utils: encrypted filehandle support Benjamin Coddington
  2025-12-27 17:04 ` [PATCH v1 0/7] kNFSD Encrypted Filehandles Benjamin Coddington
  0 siblings, 2 replies; 48+ messages in thread
From: Benjamin Coddington @ 2025-12-27 17:00 UTC (permalink / raw)
  To: Linux NFS Mailing List

Following are patches for nfs-utils and linux kernel to implement kNFSD
encrypted filehandles.  Currently, kNFSD's filehandles expose a lot of
information to anyone able to view them.  On some systems, filehandle
guesses can be used to subvert security measures.

This is a working implementation, but it is still in rough shape - there are
various comments left over and I would like to introduce a few more
tracepoints and refine man pages and/or add kernel documentation.  I plan on
doing this work in parallel with accepting critique and refining the
approach.

That said, I'm posting this before traveling for a few weeks and will be
slow to respond in that timeframe.  I'd expect to have another version out
later in the month of January.

All comments and critique welcome - thanks for looking!
Ben

^ permalink raw reply	[flat|nested] 48+ messages in thread
* Re: [PATCH v1 6/7] NFSD: Add filehandle crypto functions and helpers
@ 2025-12-28  1:35 kernel test robot
  0 siblings, 0 replies; 48+ messages in thread
From: kernel test robot @ 2025-12-28  1:35 UTC (permalink / raw)
  To: oe-kbuild

:::::: 
:::::: Manual check reason: "high confidence checkpatch report"
:::::: 

BCC: lkp@intel.com
CC: oe-kbuild-all@lists.linux.dev
In-Reply-To: <0688787cf4764d5add06c8ef1fecc9ea549573d7.1766848778.git.bcodding@hammerspace.com>
References: <0688787cf4764d5add06c8ef1fecc9ea549573d7.1766848778.git.bcodding@hammerspace.com>
TO: Benjamin Coddington <bcodding@hammerspace.com>
TO: Chuck Lever <chuck.lever@oracle.com>
TO: Jeff Layton <jlayton@kernel.org>
TO: NeilBrown <neil@brown.name>
TO: Trond Myklebust <trondmy@kernel.org>
TO: Anna Schumaker <anna@kernel.org>
TO: Benjamin Coddington <bcodding@hammerspace.com>

Hi Benjamin,

kernel test robot noticed the following build warnings:

[auto build test WARNING on brauner-vfs/vfs.all]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Benjamin-Coddington/nfsd-Convert-export-flags-to-use-BIT-macro/20251228-010753
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link:    https://lore.kernel.org/r/0688787cf4764d5add06c8ef1fecc9ea549573d7.1766848778.git.bcodding%40hammerspace.com
patch subject: [PATCH v1 6/7] NFSD: Add filehandle crypto functions and helpers
:::::: branch date: 8 hours ago
:::::: commit date: 8 hours ago
reproduce: (https://download.01.org/0day-ci/archive/20251228/202512280256.GTPtf4k7-lkp@intel.com/reproduce)

# many are suggestions rather than must-fix

WARNING:ONE_SEMICOLON: Statements terminations use 1 semicolon
#160: FILE: fs/nfsd/nfsfh.c:251:
+		memset(iv, 0, sizeof(iv));;

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

end of thread, other threads:[~2026-01-14 15:35 UTC | newest]

Thread overview: 48+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-27 17:00 [RFC/v1] kNFSD Encrypted Filehandles Benjamin Coddington
2025-12-27 17:03 ` [PATCH v1 0/2] nfs-utils: encrypted filehandle support Benjamin Coddington
2025-12-27 17:03   ` [PATCH v1 1/2] nfsdctl: Add support for passing encrypted filehandle key Benjamin Coddington
2025-12-27 17:03   ` [PATCH v1 2/2] exportfs: Add support for export option encrypt_fh Benjamin Coddington
2025-12-27 17:04 ` [PATCH v1 0/7] kNFSD Encrypted Filehandles Benjamin Coddington
2025-12-27 17:04   ` [PATCH v1 1/7] nfsd: Convert export flags to use BIT() macro Benjamin Coddington
2025-12-27 17:04   ` [PATCH v1 2/7] nfsd: Add a symmetric-key cipher for encrypted filehandles Benjamin Coddington
2025-12-27 17:04   ` [PATCH v1 3/7] nfsd/sunrpc: add per-thread crypto context pointer Benjamin Coddington
2025-12-27 17:04   ` [PATCH v1 4/7] NFSD: Add a per-knfsd reusable encfh_buf Benjamin Coddington
2025-12-28 17:52     ` kernel test robot
2025-12-29  0:33     ` kernel test robot
2025-12-27 17:04   ` [PATCH v1 5/7] NFSD/export: Add encrypt_fh export option Benjamin Coddington
2025-12-27 17:04   ` [PATCH v1 6/7] NFSD: Add filehandle crypto functions and helpers Benjamin Coddington
2025-12-27 17:14     ` Benjamin Coddington
2025-12-28  1:34     ` Chuck Lever
2025-12-28 20:45       ` Eric Biggers
2025-12-29 13:39         ` Benjamin Coddington
2025-12-28  5:17     ` kernel test robot
2025-12-27 17:04   ` [PATCH v1 7/7] NFSD: Enable filehandle encryption Benjamin Coddington
2025-12-27 23:06   ` [PATCH v1 0/7] kNFSD Encrypted Filehandles NeilBrown
2025-12-27 23:26     ` Benjamin Coddington
2025-12-28  5:49       ` NeilBrown
2025-12-28 17:05         ` Rick Macklem
2025-12-29 12:52           ` Benjamin Coddington
2025-12-28  5:33   ` [PATCH v1 1/7] nfsd: Convert export flags to use BIT() macro NeilBrown
2025-12-29 12:11     ` Benjamin Coddington
2025-12-28 17:09   ` [PATCH v1 0/7] kNFSD Encrypted Filehandles Chuck Lever
2025-12-29 13:23     ` Benjamin Coddington
2026-01-13 11:51       ` Benjamin Coddington
2026-01-13 12:14         ` Jeff Layton
2026-01-13 14:08         ` Chuck Lever
2026-01-13 15:07           ` Benjamin Coddington
2026-01-13 15:18             ` Chuck Lever
2026-01-13 16:05               ` Benjamin Coddington
2026-01-13 16:43                 ` Chuck Lever
2026-01-13 17:02                   ` Benjamin Coddington
2026-01-13 18:53                     ` Chuck Lever
2026-01-13 19:54                       ` Benjamin Coddington
2026-01-13 21:02                         ` Chuck Lever
2026-01-13 22:33                           ` Benjamin Coddington
2026-01-14  0:42                             ` Eric Biggers
2026-01-14 12:39                               ` Benjamin Coddington
2026-01-14 13:19                                 ` Jeff Layton
2026-01-14 14:19                                   ` Chuck Lever
2026-01-14 14:53                                     ` Trond Myklebust
2026-01-14 15:04                                       ` Chuck Lever
2026-01-14 15:35                                         ` Trond Myklebust
  -- strict thread matches above, loose matches on Subject: below --
2025-12-28  1:35 [PATCH v1 6/7] NFSD: Add filehandle crypto functions and helpers kernel test robot

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.