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.
| Product | Vendor | Version |
|---|---|---|
| Linux | Linux | 10 Version 1607 for 32-bit Systems |
| Linux | Linux | 10 Version 1607 for x64-based Systems |
| Linux | Linux | PKI 10.6.1 |
| Linux | Linux | 7.1.0.23 |