lkml.org 
[lkml]   [2022]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] ceph: minor fixes and encrypted snapshot names
Date
Hi!

I'm sending another iteration of the encrypted snapshot names patch. This
patch assumes PR#45224 [1] to be merged as it adds support for the
alternate names.

Two notes:

1. Patch 0001 is just a small fix from another fscrypt patch. It's
probably better to simply squash it.

2. I'm not sure how easy it is to hit the UAF fixed by patch 0002. I can
reproduce it easily by commenting the code that adds the
DCACHE_NOKEY_NAME flag in patch 0003.

Any comments are welcome (including for the PR mentioned above, of course).

[1] https://github.com/ceph/ceph/pull/45224

Luís Henriques (3):
ceph: fix error path in ceph_readdir()
ceph: fix use-after-free in ceph_readdir
ceph: add support for encrypted snapshot names

fs/ceph/dir.c | 11 ++++++++++-
fs/ceph/inode.c | 13 +++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)

\
 
 \ /
  Last update: 2022-03-04 17:14    [W:0.098 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site