NetSight
medium5.5

CVE-2023-53055

In the Linux kernel, the following vulnerability has been resolved: fscrypt: destroy keyring after security_sb_delete() fscrypt_destroy_keyring() must be calle…

Impact

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.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.10.154 before 5.11
from 5.15.78 before 5.15.105
from 6.0.8 before 6.1.22
from 6.2 before 6.2.9
Version 6.3

Weakness classification

References