# CVE-2023-53331: pstore/ram: Check start of empty przs during init

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2025-09-16T16:12:06.788Z
- **Modified:** 2026-08-05T09:13:32.268Z

## Who should check

- Anyone running Linux \>= e1e3a46706bd4037e8b7407dc660ae6e05b8ac56, \< 89312657337e6e03ad6e9ea1a462bd9c158c85c8; \>= 265242d82a3c6a8bd9120d06b4801f8d7ae9a346, \< c807ccdd812d18985860504b503899f3140a9549; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< e972231db29b5d1dccc13bf9d5ba55b6979a69ed; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< dc2f60de9a7d3efd982440117dab5579898d808c; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< fedecaeef88899d940b69368c996e8b3b0b8650d; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< e95d7a8a6edd14f8fab44c777dd7281db91f6ae2; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< f77990358628b01bdc03752126ff5f716ea37615; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< 25fb4e3402d46f425ec135ef6f09792a4c1b3003; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< fe8c3623ab06603eb760444a032d426542212021; ec7f99261da9a20d63cbd273511a11a2efe698f2; …
- Anyone running Linux 5.0

## 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 and fixed versions

- Linux: \>= e1e3a46706bd4037e8b7407dc660ae6e05b8ac56, \< 89312657337e6e03ad6e9ea1a462bd9c158c85c8; \>= 265242d82a3c6a8bd9120d06b4801f8d7ae9a346, \< c807ccdd812d18985860504b503899f3140a9549; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< e972231db29b5d1dccc13bf9d5ba55b6979a69ed; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< dc2f60de9a7d3efd982440117dab5579898d808c; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< fedecaeef88899d940b69368c996e8b3b0b8650d; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< e95d7a8a6edd14f8fab44c777dd7281db91f6ae2; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< f77990358628b01bdc03752126ff5f716ea37615; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< 25fb4e3402d46f425ec135ef6f09792a4c1b3003; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< fe8c3623ab06603eb760444a032d426542212021; ec7f99261da9a20d63cbd273511a11a2efe698f2; … (cvelist)
- Linux: 5.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53331. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53331.md
Affected: Linux >= e1e3a46706bd4037e8b7407dc660ae6e05b8ac56, < 89312657337e6e03ad6e9ea1a462bd9c158c85c8; >= 265242d82a3c6a8bd9120d06b4801f8d7ae9a346, < c807ccdd812d18985860504b503899f3140a9549; >= 30696378f68a9e3dad6bfe55938b112e72af00c2, < e972231db29b5d1dccc13bf9d5ba55b6979a69ed; >= 30696378f68a9e3dad6bfe5…
Fixed in: Linux 89312657337e6e03ad6e9ea1a462bd9c158c85c8, Linux 25fb4e3402d46f425ec135ef6f09792a4c1b3003

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53331 being exploited?

There is no confirmed exploitation: CVE-2023-53331 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53331?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53331?

Linux \>= e1e3a46706bd4037e8b7407dc660ae6e05b8ac56, \< 89312657337e6e03ad6e9ea1a462bd9c158c85c8; \>= 265242d82a3c6a8bd9120d06b4801f8d7ae9a346, \< c807ccdd812d18985860504b503899f3140a9549; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< e972231db29b5d1dccc13bf9d5ba55b6979a69ed; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< dc2f60de9a7d3efd982440117dab5579898d808c; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< fedecaeef88899d940b69368c996e8b3b0b8650d; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< e95d7a8a6edd14f8fab44c777dd7281db91f6ae2; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< f77990358628b01bdc03752126ff5f716ea37615; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< 25fb4e3402d46f425ec135ef6f09792a4c1b3003; \>= 30696378f68a9e3dad6bfe55938b112e72af00c2, \< fe8c3623ab06603eb760444a032d426542212021; ec7f99261da9a20d63cbd273511a11a2efe698f2; …; Linux 5.0.

### Is there a fix for CVE-2023-53331?

Yes. Fixed in Linux 89312657337e6e03ad6e9ea1a462bd9c158c85c8, Linux 25fb4e3402d46f425ec135ef6f09792a4c1b3003. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53331?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/89312657337e6e03ad6e9ea1a462bd9c158c85c8>
- patch: <https://git.kernel.org/stable/c/c807ccdd812d18985860504b503899f3140a9549>
- patch: <https://git.kernel.org/stable/c/e972231db29b5d1dccc13bf9d5ba55b6979a69ed>
- patch: <https://git.kernel.org/stable/c/dc2f60de9a7d3efd982440117dab5579898d808c>
- patch: <https://git.kernel.org/stable/c/fedecaeef88899d940b69368c996e8b3b0b8650d>
- patch: <https://git.kernel.org/stable/c/e95d7a8a6edd14f8fab44c777dd7281db91f6ae2>
- patch: <https://git.kernel.org/stable/c/f77990358628b01bdc03752126ff5f716ea37615>
- patch: <https://git.kernel.org/stable/c/25fb4e3402d46f425ec135ef6f09792a4c1b3003>
- patch: <https://git.kernel.org/stable/c/fe8c3623ab06603eb760444a032d426542212021>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53331>

HTML: <https://flawdb.com/CVE-2023-53331> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53331>
