evm: disable EVM on overlayfs
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 5 repliesIn review
- v12 patches 2 repliesSuperseded
Changes in v2 from the cover letter
Addressed Amir's comments:
- Simplified security_inode_copy_up_xattr() return.
- Identified filesystems that don't support EVM based on a new SB_I flag.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | evm: don't copy up 'security.evm' xattrinclude/ security/ security/ | +14 | 0 replies | |
| 2/3 | evm: add support to disable EVM on unsupported filesystemsinclude/ security/ | +35 | 2 replies | |
| 3/3 | overlay: disable EVMfs/ | +1 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Amir Goldstein | Christian Brauner |
|---|---|---|
| Series | R-b | |
| 1/3 | R-b | |
| 2/3 | A-b | |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] evm: disable EVM on overlayfs
EVM verifies the existing 'security.evm' value, before allowing it to be updated. The EVM HMAC and the original file signatures contain filesystem specific metadata (e.g. i_ino, i_generation and s_uuid).
This poses a challenge when transitioning from the lower backing file to the upper backing file.
Until a complete solution is developed, disable EVM on overlayfs.
Changelog v2:
Addressed Amir's comments:
- Simplified security_inode_copy_up_xattr() return.
- Identified filesystems that don't support EVM based on a new SB_I flag.
Mimi Zohar (3):
evm: don't copy up 'security.evm' xattr
evm: add support to disable EVM on unsupported filesystems
overlay: disable EVM
fs/overlayfs/super.c | 1 + include/linux/evm.h | 6 +++++ include/linux/fs.h | 1 + security/integrity/evm/evm_main.c | 42 ++++++++++++++++++++++++++++++- security/security.c | 2 +- 5 files changed, 50 insertions(+), 2 deletions(-)
Signature · 1 line
2.39.3