---
id: CVE-2023-53055
title: 'fscrypt: destroy keyring after security_sb_delete()'
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 s…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= e6f4fd85ef1ee6ab356bfbd64df28c1cb73aee7e <
    992a3f3e8a0c92151dfdf65fc85567c865fd558a
  - >-
    Linux >= d7e7b9af104c7b389a0c21eb26532511bce4b510 <
    d77531fac6a1fd9f1db0195438ba5419d72b96c4
  - >-
    Linux >= d7e7b9af104c7b389a0c21eb26532511bce4b510 <
    497ab5d9c7852dfedab2c9de75e41b60e54b7c5d
  - >-
    Linux >= d7e7b9af104c7b389a0c21eb26532511bce4b510 <
    ccb820dc7d2236b1af0d54ae038a27b5b6d5ae5a
  - Linux 391cceee6d435e616f68631e68f5b32d480b1e67
  - Linux 68d15d6558a386f46d815a6ac39edecad713a1bf
  - Linux >= 5.15.78 < 5.15.105
  - Linux >= 5.10.154 < 5.11
  - Linux >= 6.0.8 < 6.1
  - Linux 6.1
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T20:15:42.273186Z'
published: '2025-05-02'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T20:20:57.118Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2023-53055'
references:
  - url: 'https://git.kernel.org/stable/c/992a3f3e8a0c92151dfdf65fc85567c865fd558a'
  - url: 'https://git.kernel.org/stable/c/d77531fac6a1fd9f1db0195438ba5419d72b96c4'
  - url: 'https://git.kernel.org/stable/c/497ab5d9c7852dfedab2c9de75e41b60e54b7c5d'
  - url: 'https://git.kernel.org/stable/c/ccb820dc7d2236b1af0d54ae038a27b5b6d5ae5a'
tags:
  - cve.org
epss: 0.00202
epssPercentile: 0.10136
ingestedAt: '2026-11-05T22:38:31.759Z'
---

## Overview

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

- `Linux >= e6f4fd85ef1ee6ab356bfbd64df28c1cb73aee7e < 992a3f3e8a0c92151dfdf65fc85567c865fd558a`
- `Linux >= d7e7b9af104c7b389a0c21eb26532511bce4b510 < d77531fac6a1fd9f1db0195438ba5419d72b96c4`
- `Linux >= d7e7b9af104c7b389a0c21eb26532511bce4b510 < 497ab5d9c7852dfedab2c9de75e41b60e54b7c5d`
- `Linux >= d7e7b9af104c7b389a0c21eb26532511bce4b510 < ccb820dc7d2236b1af0d54ae038a27b5b6d5ae5a`
- `Linux 391cceee6d435e616f68631e68f5b32d480b1e67`
- `Linux 68d15d6558a386f46d815a6ac39edecad713a1bf`
- `Linux >= 5.15.78 < 5.15.105`
- `Linux >= 5.10.154 < 5.11`
- `Linux >= 6.0.8 < 6.1`
- `Linux 6.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
