Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53536

published high CVSS 3.1 · 7.8

blk-crypto: make blk_crypto_evict_key() more robust

Published
04 Oct 2025, 15:16:47 UTC
Updated
05 Aug 2026, 09:14:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1b2628397058ebce7277480960b29c788138de90 to < 701a8220762ff90615dc91d3543f789391b63298 · 1b2628397058ebce7277480960b29c788138de90 to < 5bb4005fb667c6e2188fa87950f8d5faf2994410 · 1b2628397058ebce7277480960b29c788138de90 to < 64ef787bb1588475163069c2e62fdd8f6c27b1f6 · 1b2628397058ebce7277480960b29c788138de90 to < 809a5be62e92a444a3c3d7b9f438019d0b322f55 · 1b2628397058ebce7277480960b29c788138de90 to < 5c62852942667c613de0458fc797c5b8c36112b5 · 1b2628397058ebce7277480960b29c788138de90 to < 5c7cb94452901a93e90c2230632e2c12a681bc92 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.10.180 through 5.10.* (unaffected · semver) · 5.15.111 through 5.15.* (unaffected · semver) · 6.1.28 through 6.1.* (unaffected · semver) · 6.2.15 through 6.2.* (unaffected · semver) · 6.3.2 through 6.3.* (unaffected · semver) · 6.4 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2023-034 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-021 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Show 99 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2023-184 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rtx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-debugx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-debug-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: blk-crypto: make blk_crypto_evict_key() more robust If blk_crypto_evict_key() sees that the key is still in-use (due to a bug) or that ->keyslot_evict failed, it currently just returns while leaving the key linked into the keyslot management structures. However, blk_crypto_evict_key() is only called in contexts such as inode eviction where failure is not an option. So actually the caller proceeds with freeing the blk_crypto_key regardless of the return value of blk_crypto_evict_key(). These two assumptions don't match, and the result is that there can be a use-after-free in blk_crypto_reprogram_all_keys() after one of these errors occurs. (Note, these errors *shouldn't* happen; we're just talking about what happens if they do anyway.) Fix this by making blk_crypto_evict_key() unlink the key from the keyslot management structures even on failure. Also improve some comments.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable path is reached through ordinary filesystem syscalls (create/write/unlink causing inode eviction) on a locally-mounted fscrypt-encrypted volume backed by UFS/eMMC inline-crypto hardware; there is no remote protocol handler involved. AC:L - The attacker drives the eviction side of the race directly and can retry unboundedly — a tight create/write/unlink loop over per-file-key files generates thousands of `blk_crypto_evict_key()` calls per second against in-flight blk-mq requests, and UFS runtime-PM resume (which calls `blk_crypto_reprogram_all_keys()`) can be induced by alternating I/O bursts with idle periods. PR:L - Only an unprivileged local account with write access to an fscrypt-encrypted directory is needed — any sandboxed Android app in its own `/data/data` directory, or any user with an encrypted home — and no capability or namespace check exists anywhere on the path from `evict_inode()` to `__blk_crypto_evict_key()`. UI:N - The attacker performs every step itself — writing files, forcing inode eviction, and idling the device to provoke a controller reset — with no action required from any other user or administrator. S:U - The use-after-free occurs on a kernel heap object and is exploited within the kernel's own security authority; no VM, IOMMU, or hypervisor boundary is crossed. C:H - The freed object is a `struct blk_crypto_key` holding raw key material, and `blk_crypto_reprogram_all_keys()` reads it after free and programs the (groomable) contents into a hardware keyslot; additionally the stale pointer-keyed hash entry causes a reallocated key to reuse a slot holding a different key, exposing file plaintext across encryption boundaries, and the UAF read primitive is generally leverageable for kernel memory disclosure. I:H - A use-after-free on a slab object whose lifetime the attacker controls permits heap spraying to place attacker-chosen data where the kernel expects a key, yielding a write/control primitive; independently, the wrong-key confusion silently encrypts user data at rest under the wrong key, corrupting it irrecoverably. A:H - Dereferencing the freed `blk_crypto_key` in `blk_crypto_reprogram_all_keys()` causes an oops or panic (plus the `WARN_ON_ONCE`/`WARN_ON` splats), and the attacker can repeat the trigger loop indefinitely to crash the system.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 1b2628397058ebce7277480960b29c788138de90 to < 701a8220762ff90615dc91d3543f789391b63298 (affected · git)1b2628397058ebce7277480960b29c788138de90 to < 5bb4005fb667c6e2188fa87950f8d5faf2994410 (affected · git)1b2628397058ebce7277480960b29c788138de90 to < 64ef787bb1588475163069c2e62fdd8f6c27b1f6 (affected · git)1b2628397058ebce7277480960b29c788138de90 to < 809a5be62e92a444a3c3d7b9f438019d0b322f55 (affected · git)1b2628397058ebce7277480960b29c788138de90 to < 5c62852942667c613de0458fc797c5b8c36112b5 (affected · git)1b2628397058ebce7277480960b29c788138de90 to < 5c7cb94452901a93e90c2230632e2c12a681bc92 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.8 (affected)0 to < 5.8 (unaffected · semver)5.10.180 through 5.10.* (unaffected · semver)5.15.111 through 5.15.* (unaffected · semver)6.1.28 through 6.1.* (unaffected · semver)6.2.15 through 6.2.* (unaffected · semver)6.3.2 through 6.3.* (unaffected · semver)6.4 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

blk-crypto: make blk_crypto_evict_key() more robust

Provenance

Schema
5.2
Searchable
yes
Content hash
66dbdaf40bd6eea2d373112a0a53ceb3331eac483ecd4b01ee7b6c73f9bdaeb8
Ingested
23 Sep 2026, 08:14:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected