CVE-2023-53331

pstore/ram: Check start of empty przs during init

HIGH
7.8
CVSS Score
Published: September 16, 2025 at 04:12 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 3.18.133v ≥ 4.20.5v ≥ 4.4.172v ≥ 4.9.1533.18.133 ≤ v < 3.194.14.96 ≤ v < 4.14.3264.19.18 ≤ v < 4.19.2954.20.5 ≤ v < 4.214.20.5 ≤ v < 5.4.2574.4.172 ≤ v < 4.54.9.153 ≤ v < 4.105.0 ≤ v < 5.10.1955.0 ≤ v < 5.15.1325.0 ≤ v < 5.4.2575.0 ≤ v < 6.1.535.0 ≤ v < 6.4.165.0 ≤ v < 6.5.35.0 ≤ v < 6.65.11 ≤ v < 5.15.1325.16 ≤ v < 6.1.535.5 ≤ v < 5.10.1956.2 ≤ v < 6.4.166.5 ≤ v < 6.5.3265242d82a3c6a8bd9120d06b4801f8d7ae9a3463.18.13330696378f68a9e3dad6bfe55938b112e72af00c24.14.964.19.184.20.54.4.1724.9.1535.09e969ba431b46b1891c88cea36f722f3bfe8a180e1e3a46706bd4037e8b7407dc660ae6e05b8ac56ec7f99261da9a20d63cbd273511a11a2efe698f2f250e4c562a3bd106575032666e9ef46f31231f8fffdbf586866e9500b53c9d4b061d3983720375a
Vendor states this is fixed in 25fb4e3402d46f425ec135ef6f09792a4c1b3003 (fixed)
Vendor states this is fixed in 89312657337e6e03ad6e9ea1a462bd9c158c85c8 (fixed)
Vendor states this is fixed in c807ccdd812d18985860504b503899f3140a9549 (fixed)
Vendor states this is fixed in dc2f60de9a7d3efd982440117dab5579898d808c (fixed)
Vendor states this is fixed in e95d7a8a6edd14f8fab44c777dd7281db91f6ae2 (fixed)
Vendor states this is fixed in e972231db29b5d1dccc13bf9d5ba55b6979a69ed (fixed)
Vendor states this is fixed in f77990358628b01bdc03752126ff5f716ea37615 (fixed)
Vendor states this is fixed in fe8c3623ab06603eb760444a032d426542212021 (fixed)
Vendor states this is fixed in fedecaeef88899d940b69368c996e8b3b0b8650d (fixed)
Affected range stops below 3.19, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.10, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 4.14.326 (unaffected)
Vendor states this is fixed in 4.19.295 (unaffected)
Affected range stops below 4.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.0 (unaffected)
Vendor states this is fixed in 5.10.195 (unaffected)
Vendor states this is fixed in 5.15.132 (unaffected)
Vendor states this is fixed in 5.4.257 (unaffected)
Vendor states this is fixed in 6.1.53 (unaffected)
Vendor states this is fixed in 6.4.16 (unaffected)
Vendor states this is fixed in 6.5.3 (unaffected)
Vendor states this is fixed in 6.6 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/25fb4e3402d46f425ec135ef6f09792a4c1b3003
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/89312657337e6e03ad6e9ea1a462bd9c158c85c8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c807ccdd812d18985860504b503899f3140a9549
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dc2f60de9a7d3efd982440117dab5579898d808c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e95d7a8a6edd14f8fab44c777dd7281db91f6ae2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e972231db29b5d1dccc13bf9d5ba55b6979a69ed
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f77990358628b01bdc03752126ff5f716ea37615
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe8c3623ab06603eb760444a032d426542212021

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-787

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card