1. Home
  2. Vulnerabilities
  3. CVE-2023-53055

CVE-2023-53055

fscrypt: destroy keyring after security_sb_delete()

Published 2 May 2025 · modified 5 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Low 25/100

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.

Affected products and versions

Linux (9 line(s))
Linux
ProductVersionsFixed inSource
Linux from 5.15.78 (included) to 5.15.105 (excluded) — CNA (vendor or assigner)
Linux from 5.10.154 (included) to 5.11 (excluded) — CNA (vendor or assigner)
Linux from 6.0.8 (included) to 6.1 (excluded) — CNA (vendor or assigner)
Linux 6.1 — CNA (vendor or assigner)
Linux kernel from 5.10.154 (included) to 5.11 (excluded) — NVD
Linux kernel from 5.15.78 (included) to 5.15.105 (excluded) — NVD
Linux kernel from 6.0.8 (included) to 6.1.22 (excluded) — NVD
Linux kernel from 6.2 (included) to 6.2.9 (excluded) — NVD
Linux kernel 6.3 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-476 · Corruption mémoire

How this data is obtained and calculated