{"id":"CVE-2023-53331","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-09-16T17:15:39.597","lastModified":"2026-06-17T06:44:54.810","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npstore/ram: Check start of empty przs during init\n\nAfter commit 30696378f68a (\"pstore/ram: Do not treat empty buffers as\nvalid\"), initialization would assume a prz was valid after seeing that\nthe buffer_size is zero (regardless of the buffer start position). This\nunchecked start value means it could be outside the bounds of the buffer,\nleading to future access panics when written to:\n\n sysdump_panic_event+0x3b4/0x5b8\n atomic_notifier_call_chain+0x54/0x90\n panic+0x1c8/0x42c\n die+0x29c/0x2a8\n die_kernel_fault+0x68/0x78\n __do_kernel_fault+0x1c4/0x1e0\n do_bad_area+0x40/0x100\n do_translation_fault+0x68/0x80\n do_mem_abort+0x68/0xf8\n el1_da+0x1c/0xc0\n __raw_writeb+0x38/0x174\n __memcpy_toio+0x40/0xac\n persistent_ram_update+0x44/0x12c\n persistent_ram_write+0x1a8/0x1b8\n ramoops_pstore_write+0x198/0x1e8\n pstore_console_write+0x94/0xe0\n ...\n\nTo avoid this, also check if the prz start is 0 during the initialization\nphase. If not, the next prz sanity check case will discover it (start >\nsize) and zap the buffer back to a sane state.\n\n[kees: update commit log with backtrace and clarifications]"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/pstore/ram_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"e1e3a46706bd4037e8b7407dc660ae6e05b8ac56","lessThan":"89312657337e6e03ad6e9ea1a462bd9c158c85c8","versionType":"git","status":"affected"},{"version":"265242d82a3c6a8bd9120d06b4801f8d7ae9a346","lessThan":"c807ccdd812d18985860504b503899f3140a9549","versionType":"git","status":"affected"},{"version":"30696378f68a9e3dad6bfe55938b112e72af00c2","lessThan":"e972231db29b5d1dccc13bf9d5ba55b6979a69ed","versionType":"git","status":"affected"},{"version":"30696378f68a9e3dad6bfe55938b112e72af00c2","lessThan":"dc2f60de9a7d3efd982440117dab5579898d808c","versionType":"git","status":"affected"},{"version":"30696378f68a9e3dad6bfe55938b112e72af00c2","lessThan":"fedecaeef88899d940b69368c996e8b3b0b8650d","versionType":"git","status":"affected"},{"version":"30696378f68a9e3dad6bfe55938b112e72af00c2","lessThan":"e95d7a8a6edd14f8fab44c777dd7281db91f6ae2","versionType":"git","status":"affected"},{"version":"30696378f68a9e3dad6bfe55938b112e72af00c2","lessThan":"f77990358628b01bdc03752126ff5f716ea37615","versionType":"git","status":"affected"},{"version":"30696378f68a9e3dad6bfe55938b112e72af00c2","lessThan":"25fb4e3402d46f425ec135ef6f09792a4c1b3003","versionType":"git","status":"affected"},{"version":"30696378f68a9e3dad6bfe55938b112e72af00c2","lessThan":"fe8c3623ab06603eb760444a032d426542212021","versionType":"git","status":"affected"},{"version":"ec7f99261da9a20d63cbd273511a11a2efe698f2","versionType":"git","status":"affected"},{"version":"f250e4c562a3bd106575032666e9ef46f31231f8","versionType":"git","status":"affected"},{"version":"fffdbf586866e9500b53c9d4b061d3983720375a","versionType":"git","status":"affected"},{"version":"9e969ba431b46b1891c88cea36f722f3bfe8a180","versionType":"git","status":"affected"},{"version":"4.14.96","lessThan":"4.14.326","versionType":"semver","status":"affected"},{"version":"4.19.18","lessThan":"4.19.295","versionType":"semver","status":"affected"},{"version":"3.18.133","lessThan":"3.19","versionType":"semver","status":"affected"},{"version":"4.4.172","lessThan":"4.5","versionType":"semver","status":"affected"},{"version":"4.9.153","lessThan":"4.10","versionType":"semver","status":"affected"},{"version":"4.20.5","lessThan":"4.21","versionType":"semver","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/pstore/ram_core.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","versionType":"semver","status":"unaffected"},{"version":"4.14.326","lessThanOrEqual":"4.14.*","versionType":"semver","status":"unaffected"},{"version":"4.19.295","lessThanOrEqual":"4.19.*","versionType":"semver","status":"unaffected"},{"version":"5.4.257","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.195","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.132","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.53","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.4.16","lessThanOrEqual":"6.4.*","versionType":"semver","status":"unaffected"},{"version":"6.5.3","lessThanOrEqual":"6.5.*","versionType":"semver","status":"unaffected"},{"version":"6.6","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-01-14T18:30:13.040006Z","id":"CVE-2023-53331","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-787"}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-787"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.18.133","versionEndExcluding":"3.19","matchCriteriaId":"B31FDA7A-DC41-43BB-B4E9-262E778AD776"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4.172","versionEndExcluding":"4.5","matchCriteriaId":"A22B7234-9290-41F2-A8B0-6782137A0E8A"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.153","versionEndExcluding":"4.10","matchCriteriaId":"3544319C-62FE-4910-A23E-D511890F71D5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.96","versionEndExcluding":"4.14.326","matchCriteriaId":"646DCF0C-833B-4DD2-9AA4-0435A324483E"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.18","versionEndExcluding":"4.19.295","matchCriteriaId":"FC273D3B-D471-48BE-BAD1-B3C2BCFE8974"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.20.5","versionEndExcluding":"5.4.257","matchCriteriaId":"90347FB9-24FE-4393-90AE-1DFAA1E8A27E"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.5","versionEndExcluding":"5.10.195","matchCriteriaId":"C385B650-53DB-4BFB-83D1-1D8FADF653EF"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.11","versionEndExcluding":"5.15.132","matchCriteriaId":"5913891D-409A-4EEC-9231-F2EF5A493BC7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.16","versionEndExcluding":"6.1.53","matchCriteriaId":"B20754AF-3B8C-4574-A70D-EC24933810E5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.2","versionEndExcluding":"6.4.16","matchCriteriaId":"C3039EA3-F6CA-43EF-9F17-81A7EC6841EF"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.5","versionEndExcluding":"6.5.3","matchCriteriaId":"880C803A-BEAE-4DA0-8A59-AC023F7B4EE3"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/25fb4e3402d46f425ec135ef6f09792a4c1b3003","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/89312657337e6e03ad6e9ea1a462bd9c158c85c8","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/c807ccdd812d18985860504b503899f3140a9549","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/dc2f60de9a7d3efd982440117dab5579898d808c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e95d7a8a6edd14f8fab44c777dd7281db91f6ae2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/e972231db29b5d1dccc13bf9d5ba55b6979a69ed","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/f77990358628b01bdc03752126ff5f716ea37615","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/fe8c3623ab06603eb760444a032d426542212021","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/fedecaeef88899d940b69368c996e8b3b0b8650d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]}]}