CVE-2023-53055

fscrypt: destroy keyring after security_sb_delete()

published May 2, 2025

CVSS
—
EPSS
0%
Percentile
9.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00202 · 9.6th percentile
Published
2025-05-02T15:55Z
EPSS history
Timeline
  • 02 MAY 15:55Z
    fscrypt: destroy keyring after security_sb_delete()
    cvelistv5