cve.bz

CVE-2023-53331 linux linux kernel: Out-of-bounds Write

7.8 highEPSS 0.2%Fix available

High (7.8) in linux linux kernel. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
In the Linux kernel, the following vulnerability has been resolved: pstore/ram: Check start of empty przs during init After commit 30696378f68a ("pstore/ram: Do not treat empty buffers as valid"), initialization would assume a prz was valid after seeing that the buffer_size is zero (regardless of the buffer start position). This unchecked start value means it could be outside the bounds of the buffer, leading to future access panics when written to: sysdump_panic_event+0x3b4/0x5b8 atomic_notifier_call_chain+0x54/0x90 panic+0x1c8/0x42c die+0x29c/0x2a8 die_kernel_fault+0x68/0x78 __do_kernel_fault+0x1c4/0x1e0 do_bad_area+0x40/0x100 do_translation_fault+0x68/0x80 do_mem_abort+0x68/0xf8 el1_da+0x1c/0xc0 __raw_writeb+0x38/0x174 __memcpy_toio+0x40/0xac persistent_ram_update+0x44/0x12c persistent_ram_write+0x1a8/0x1b8 ramoops_pstore_write+0x198/0x1e8 pstore_console_write+0x94/0xe0 ... To avoid this, also check if the prz start is 0 during the initialization phase. If not, the next prz sanity check case will discover it (start > size) and zap the buffer back to a sane state. [kees: update commit log with backtrace and clarifications]

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 6th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-01-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-53331 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-53331?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-53331?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-53331 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Linuxfrom 4.14.96 before 4.14.326
Linuxfrom 4.19.18 before 4.19.295
Linuxfrom 3.18.133 before 3.19
Linuxfrom 4.4.172 before 4.5
Linuxfrom 4.9.153 before 4.10
Linuxfrom 4.20.5 before 4.21
Linux5.0 and later

Fixed in

ProductRelease lineFixed in
Linux4.144.14.326
Linux4.194.19.295
Linux5.45.4.257
Linux5.105.10.195
Linux5.155.15.132
Linux6.16.1.53
Linux6.46.4.16
Linux6.56.5.3
Linuxlater releases6.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.55-1DEBIAN-CVE-2023-53331
Debian13, 14linux6.5.3-1DEBIAN-CVE-2023-53331
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-53331
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 12 moreno fix listedUBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux5.4.0-169.187UBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux-aws5.4.0-1116.126UBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1053.58~20.04.1UBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux-azure5.4.0-1121.128UBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1056.64~20.04.1UBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux-bluefield5.4.0-1076.82UBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux-gcp5.4.0-1120.129UBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1051.59~20.04.1UBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-riscv and 26 moreno fix listedUBUNTU-CVE-2023-53331
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-94.104~20.04.1UBUNTU-CVE-2023-53331
49 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-570.58.1.el9_6RHSA-2025:19105
Red Hatenterprise_linux:9::appstreamrv, perf, rtla and 29 more0:5.14.0-611.7.1.el9_7RHSA-2025:21112
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-570.58.1.el9_6RHSA-2025:19105
Red Hatenterprise_linux:9::baseoskernel, kernel-64k, kernel-core and 45 more0:5.14.0-611.7.1.el9_7RHSA-2025:21112
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-570.58.1.el9_6RHSA-2025:19105
Red Hatenterprise_linux:9::crblibperf, perf-debuginfo, kernel-debuginfo and 16 more0:5.14.0-611.7.1.el9_7RHSA-2025:21112
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-core, perf-debuginfo and 18 more0:5.14.0-611.7.1.el9_7RHSA-2025:21112
Red Hatenterprise_linux:9::nfvkernel-rt, kernel-rt-kvm, kernel-rt-core and 20 more0:5.14.0-570.58.1.el9_6RHSA-2025:19105
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-570.58.1.el9_6RHSA-2025:19105
Red Hatenterprise_linux:9::realtimekernel-rt, kernel-rt-64k, kernel-rt-core and 35 more0:5.14.0-611.7.1.el9_7RHSA-2025:21112
Red Hatrhel_e4s:9.0::appstreamperf, kernel-doc, kernel-devel and 16 more0:5.14.0-70.153.1.el9_0RHSA-2025:21091
Red Hatrhel_e4s:9.0::baseoskernel, bpftool, kernel-core and 25 more0:5.14.0-70.153.1.el9_0RHSA-2025:21091
15 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Availability Extension 15 SP4, Linux Enterprise Live Patching 15 SP4, Linux Enterprise Micro 5.3 and 1 morekernel-default5.14.21-150400.24.179.1SUSE-SU-2025:03628-1
SUSELinux Enterprise High Availability Extension 15 SP6, Linux Enterprise Live Patching 15 SP6, Linux Enterprise Module for Legacy 15 SP6 and 1 morekernel-default6.4.0-150600.23.73.1SUSE-SU-2025:03600-1
SUSELinux Enterprise High Availability Extension 15 SP7, Linux Enterprise Live Patching 15 SP7, Linux Enterprise Module for Legacy 15 SP7 and 1 morekernel-default6.4.0-150700.53.22.1SUSE-SU-2025:4057-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150400.24.179.1SUSE-SU-2025:03628-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekernel-default-base5.14.21-150400.24.179.1.150400.24.92.1SUSE-SU-2025:03628-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSSkernel-64kb, kernel-docs, kernel-syms and 3 more5.14.21-150500.55.124.1SUSE-SU-2025:03615-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Micro 5.5 and 2 morekernel-default-base5.14.21-150500.55.124.1.150500.6.59.1SUSE-SU-2025:03615-1
SUSELinux Enterprise Live Patching 12 SP5kernel-default4.12.14-122.275.1SUSE-SU-2025:03614-1
SUSELinux Enterprise Live Patching 12 SP5kgraft-patch-SLE12-SP5_Update_731-8.3.1SUSE-SU-2025:03614-1
SUSELinux Enterprise Live Patching 15 SP4kernel-livepatch-SLE15-SP4_Update_451-150400.9.3.1SUSE-SU-2025:03628-1
SUSELinux Enterprise Live Patching 15 SP5kernel-default5.14.21-150500.55.124.1SUSE-SU-2025:03615-1
SUSELinux Enterprise Live Patching 15 SP5kernel-livepatch-SLE15-SP5_Update_311-150500.11.3.1SUSE-SU-2025:03615-1
30 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.6dtb-aarch64, kernel-64kb, kernel-docs and 8 more6.4.0-150600.23.73.1SUSE-SU-2025:03600-1
openSUSELeap 15.6kernel-azure, kernel-syms-azure, kernel-source-azure6.4.0-150600.8.52.1SUSE-SU-2025:03634-1
openSUSELeap 15.6kernel-default-base6.4.0-150600.23.73.1.150600.12.32.1SUSE-SU-2025:03600-1
openSUSELeap 15.6kernel-rt, kernel-syms-rt, kernel-rt_debug and 1 more6.4.0-150600.10.55.1SUSE-SU-2025:3751-1
Rocky Linux9kernel0:5.14.0-570.58.1.el9_6RLSA-2025:19105
Alpaquita23linux-lts6.1.53-r0BELL-CVE-2023-53331
Alpaquitastreamlinux-lts6.6.58-r0BELL-CVE-2023-53331

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9kernel-0:5.14.0-570.58.1.el9_6Fixed 2025-10-27RHSA-2025:19105
Red Hat Enterprise Linux 9kernel-0:5.14.0-611.7.1.el9_7Fixed 2025-11-12RHSA-2025:21112
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-0:5.14.0-70.153.1.el9_0Fixed 2025-11-12RHSA-2025:21091
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionskernel-rt-0:5.14.0-70.153.1.rt21.225.el9_0Fixed 2025-11-12RHSA-2025:21136
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-0:5.14.0-284.146.1.el9_2Fixed 2025-11-12RHSA-2025:21051
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionskernel-rt-0:5.14.0-284.146.1.rt14.431.el9_2Fixed 2025-11-12RHSA-2025:21128
Red Hat Enterprise Linux 9.4 Extended Update Supportkernel-0:5.14.0-427.97.1.el9_4Fixed 2025-11-06RHSA-2025:19886
Red Hat Enterprise Linux 10kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise Linux 9kernel-rtAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-53331.

References

Check your stackJSON