CVE-2023-53331

pstore/ram: Check start of empty przs during init

7.8 high EPSS 0.17%

Published 16 Sep 2025 Updated 5 Aug 2026 CNA: Linux

Check your servers for CVE-2023-53331

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-53331 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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)

7.8 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
7.8 high CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.30% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 14 Jan 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from e1e3a46706bd4037e8b7407dc660ae6e05b8ac56, before 89312657337e6e03ad6e9ea1a462bd9c158c85c8
affected from 265242d82a3c6a8bd9120d06b4801f8d7ae9a346, before c807ccdd812d18985860504b503899f3140a9549
affected from 30696378f68a9e3dad6bfe55938b112e72af00c2, before e972231db29b5d1dccc13bf9d5ba55b6979a69ed
affected from 30696378f68a9e3dad6bfe55938b112e72af00c2, before dc2f60de9a7d3efd982440117dab5579898d808c
affected from 30696378f68a9e3dad6bfe55938b112e72af00c2, before fedecaeef88899d940b69368c996e8b3b0b8650d
affected from 30696378f68a9e3dad6bfe55938b112e72af00c2, before e95d7a8a6edd14f8fab44c777dd7281db91f6ae2
affected from 30696378f68a9e3dad6bfe55938b112e72af00c2, before f77990358628b01bdc03752126ff5f716ea37615
affected from 30696378f68a9e3dad6bfe55938b112e72af00c2, before 25fb4e3402d46f425ec135ef6f09792a4c1b3003
affected from 30696378f68a9e3dad6bfe55938b112e72af00c2, before fe8c3623ab06603eb760444a032d426542212021
affected ec7f99261da9a20d63cbd273511a11a2efe698f2
affected f250e4c562a3bd106575032666e9ef46f31231f8
affected fffdbf586866e9500b53c9d4b061d3983720375a
affected 9e969ba431b46b1891c88cea36f722f3bfe8a180
affected from 4.14.96, before 4.14.326
affected from 4.19.18, before 4.19.295
affected from 3.18.133, before 3.19
affected from 4.4.172, before 4.5
affected from 4.9.153, before 4.10
affected from 4.20.5, before 4.21
Other versions: unaffected
Linux
affected 5.0
unaffected before 5.0
unaffected from 4.14.326 up to and including 4.14.*
unaffected from 4.19.295 up to and including 4.19.*
unaffected from 5.4.257 up to and including 5.4.*
unaffected from 5.10.195 up to and including 5.10.*
unaffected from 5.15.132 up to and including 5.15.*
unaffected from 6.1.53 up to and including 6.1.*
unaffected from 6.4.16 up to and including 6.4.*
unaffected from 6.5.3 up to and including 6.5.*
unaffected 6.6 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-53331 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53331

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2023-53331
trivy image --scanners vuln IMAGE | grep CVE-2023-53331

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2023-53331 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.