Skip to main content
← All vulnerabilities
CVE-2023-53055

fscrypt: destroy keyring after security_sb_delete()

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.15.105, 5.11, 6.1
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: fscrypt: destroy keyring after security_sb_delete() fscrypt_destroy_keyring() must be called after all potentially-encrypted inodes were evicted; otherwise it cannot safely destroy the keyring. Since inodes that are in-use by the Landlock LSM don't get evicted until security_sb_delete(), this means that fscrypt_destroy_keyring() must be called after security_sb_delete(). This fixes a WARN_ON followed by a NULL dereference, only possible if Landlock was being used on encrypted files.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.15.78 · fixed in 5.15.105; From 5.10.154 · fixed in 5.11; From 6.0.8 · fixed in 6.1

  • Linux Linux

    6.1

References 4

git.kernel.org