{"id":"CVE-2023-53055","summary":"fscrypt: destroy keyring after security_sb_delete()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfscrypt: destroy keyring after security_sb_delete()\n\nfscrypt_destroy_keyring() must be called after all potentially-encrypted\ninodes were evicted; otherwise it cannot safely destroy the keyring.\nSince inodes that are in-use by the Landlock LSM don't get evicted until\nsecurity_sb_delete(), this means that fscrypt_destroy_keyring() must be\ncalled *after* security_sb_delete().\n\nThis fixes a WARN_ON followed by a NULL dereference, only possible if\nLandlock was being used on encrypted files.","modified":"2026-04-02T09:43:36.382525Z","published":"2025-05-02T15:55:10.138Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53055.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/497ab5d9c7852dfedab2c9de75e41b60e54b7c5d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/992a3f3e8a0c92151dfdf65fc85567c865fd558a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ccb820dc7d2236b1af0d54ae038a27b5b6d5ae5a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d77531fac6a1fd9f1db0195438ba5419d72b96c4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53055.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53055"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e6f4fd85ef1ee6ab356bfbd64df28c1cb73aee7e"},{"fixed":"992a3f3e8a0c92151dfdf65fc85567c865fd558a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d7e7b9af104c7b389a0c21eb26532511bce4b510"},{"fixed":"d77531fac6a1fd9f1db0195438ba5419d72b96c4"},{"fixed":"497ab5d9c7852dfedab2c9de75e41b60e54b7c5d"},{"fixed":"ccb820dc7d2236b1af0d54ae038a27b5b6d5ae5a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"391cceee6d435e616f68631e68f5b32d480b1e67"},{"last_affected":"68d15d6558a386f46d815a6ac39edecad713a1bf"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53055.json"}}],"schema_version":"1.7.5"}