CVEvulnerability
CVE-2023-53055
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-05-02
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
Description
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 configurations
• linux linux kernel (>= 5.10.154 < 5.11)
• linux linux kernel (>= 5.15.78 < 5.15.105)
• linux linux kernel (>= 6.0.8 < 6.1.22)
• linux linux kernel (>= 6.2 < 6.2.9)
• linux linux kernel 6.3
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/497ab5d9c7852dfedab2c9de75e41b60e54b7c5d Patch
- https://git.kernel.org/stable/c/992a3f3e8a0c92151dfdf65fc85567c865fd558a Patch
- https://git.kernel.org/stable/c/ccb820dc7d2236b1af0d54ae038a27b5b6d5ae5a Patch
- https://git.kernel.org/stable/c/d77531fac6a1fd9f1db0195438ba5419d72b96c4 Patch