[LU-14989] Access to encrypted file's xattrs Created: 07/Sep/21  Updated: 17/Oct/21  Resolved: 17/Oct/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.14.0, Lustre 2.15.0
Fix Version/s: Lustre 2.15.0

Type: Bug Priority: Minor
Reporter: Sebastien Buisson Assignee: Sebastien Buisson
Resolution: Fixed Votes: 0
Labels: encryption, patch, sec

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Because encryption context is cached as an xattr, it prevents other xattrs to be later stored in the xattr cache, thus blocking access to those xattrs for an encrypted file.



 Comments   
Comment by Gerrit Updater [ 07/Sep/21 ]

"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/44855
Subject: LU-14989 sec: access to enc file's xattrs
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: aad03f60ecd8cb53011f195a1f624486572310e4

Comment by Gerrit Updater [ 01/Oct/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/44855/
Subject: LU-14989 sec: access to enc file's xattrs
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 1faf54e8bf19c28a4de7b069309d607cb3f10f91

Comment by Peter Jones [ 01/Oct/21 ]

Landed for 2.15

Comment by Sebastien Buisson [ 07/Oct/21 ]

There are circumstances under which the encryption context must be kept in the xattr cache, even if we are asked to clear this cache.

Comment by Gerrit Updater [ 07/Oct/21 ]

"Sebastien Buisson <sbuisson@ddn.com>" uploaded a new patch: https://review.whamcloud.com/45148
Subject: LU-14989 sec: keep encryption context in xattr cache
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: bc79d1bc90f9d094598985127f8386894d0b7355

Comment by Gerrit Updater [ 17/Oct/21 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/45148/
Subject: LU-14989 sec: keep encryption context in xattr cache
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 14b37c763c5751faf18d00287c16bdcbe0f8d542

Generated at Sat Feb 10 03:14:29 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.