EcryptFS development
 help / color / mirror / Atom feed
* [PATCH v2 0/3] ecryptfs: split packet parser length fixes
@ 2026-07-15  5:20 Yichong Chen
  2026-07-15  5:20 ` [PATCH v2 1/3] ecryptfs: pass packet set buffer size to parser Yichong Chen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yichong Chen @ 2026-07-15  5:20 UTC (permalink / raw)
  To: ecryptfs
  Cc: Tyler Hicks, Thorsten Blum, Christian Brauner, Eric Biggers,
	Kees Cook, Andrew Morton, linux-kernel, Yichong Chen

This v2 splits the packet parser hardening into three separate fixes as
requested by Tyler Hicks:

  1. pass the actual packet set buffer size into ecryptfs_parse_packet_set()
  2. fix the tag 11 exact-fit size check
  3. reject too-small tag 70 packet bodies before size subtraction

Changes in v2:
- Split the original patch into three independent fixes.
- Dropped the unrelated trailing blank line removal in keystore.c.


Yichong Chen (3):
  ecryptfs: pass packet set buffer size to parser
  ecryptfs: fix tag 11 packet exact-fit size check
  ecryptfs: reject too-small tag 70 packets

 fs/ecryptfs/crypto.c          |  2 +-
 fs/ecryptfs/ecryptfs_kernel.h |  3 ++-
 fs/ecryptfs/keystore.c        | 31 +++++++++++++++++++++++++++----
 3 files changed, 30 insertions(+), 6 deletions(-)

-- 
2.51.0

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15  5:20 [PATCH v2 0/3] ecryptfs: split packet parser length fixes Yichong Chen
2026-07-15  5:20 ` [PATCH v2 1/3] ecryptfs: pass packet set buffer size to parser Yichong Chen
2026-07-15  5:20 ` [PATCH v2 2/3] ecryptfs: fix tag 11 packet exact-fit size check Yichong Chen
2026-07-15  5:20 ` [PATCH v2 3/3] ecryptfs: reject too-small tag 70 packets Yichong Chen

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