pstore: ram_core: fix incorrect success return when vmap() fails

Summary

CVECVE-2026-43124
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-05-06 12:16:29 UTC
Updated2026-05-08 18:02:22 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: pstore: ram_core: fix incorrect success return when vmap() fails In persistent_ram_vmap(), vmap() may return NULL on failure. If offset is non-zero, adding offset_in_page(start) causes the function to return a non-NULL pointer even though the mapping failed. persistent_ram_buffer_map() therefore incorrectly returns success. Subsequent access to prz->buffer may dereference an invalid address and cause crashes. Add proper NULL checking for vmap() failures.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-476

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 831b624df1b420c8f9281ed1307a8db23afb72df d47234840aeb4182ed3ee795c578b1dfa9cbd25b git Not specified
CNA Linux Linux affected 831b624df1b420c8f9281ed1307a8db23afb72df 49918dd52615097529811d21ec6074dd02ebe77c git Not specified
CNA Linux Linux affected 831b624df1b420c8f9281ed1307a8db23afb72df 8baa234181f632cabacf73e4834a910859e9fcc9 git Not specified
CNA Linux Linux affected 831b624df1b420c8f9281ed1307a8db23afb72df 1da904e84de608907662ad8a51ba9c571d61e003 git Not specified
CNA Linux Linux affected 831b624df1b420c8f9281ed1307a8db23afb72df 8d849adfbc3e98417fb541620568db1a759ef441 git Not specified
CNA Linux Linux affected 831b624df1b420c8f9281ed1307a8db23afb72df 2c99326dc1c79b7ce3c8dd92929b5ce724ff70eb git Not specified
CNA Linux Linux affected 831b624df1b420c8f9281ed1307a8db23afb72df 88d5b28f63c7aac1271784e3b800ed405d1cde75 git Not specified
CNA Linux Linux affected 831b624df1b420c8f9281ed1307a8db23afb72df 05363abc7625cf18c96e67f50673cd07f11da5e9 git Not specified
CNA Linux Linux affected 9095f19baae92afb978f8df77d19280fe291b337 git Not specified
CNA Linux Linux affected 36a9916189b46b78dbf4fa542739b464444f0537 git Not specified
CNA Linux Linux affected 1cd01dba1355e291f636555b1920625ed58c1623 git Not specified
CNA Linux Linux affected 7026e2457c5b0c0e8a81e65a8209b8420a437b4d git Not specified
CNA Linux Linux affected 1e5b387747ba285a64348b9a96b246d0b9d52b03 git Not specified
CNA Linux Linux affected d0028f48b33086cf6d8f87831a650866107b5785 git Not specified
CNA Linux Linux affected 4.19 Not specified
CNA Linux Linux unaffected 4.19 semver Not specified
CNA Linux Linux unaffected 5.10.252 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.202 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.165 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.128 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.75 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.16 6.18.* semver Not specified
CNA Linux Linux unaffected 6.19.6 6.19.* semver Not specified
CNA Linux Linux unaffected 7.0 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/8baa234181f632cabacf73e4834a910859e9fcc9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/05363abc7625cf18c96e67f50673cd07f11da5e9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/d47234840aeb4182ed3ee795c578b1dfa9cbd25b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/1da904e84de608907662ad8a51ba9c571d61e003 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/2c99326dc1c79b7ce3c8dd92929b5ce724ff70eb 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/88d5b28f63c7aac1271784e3b800ed405d1cde75 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/49918dd52615097529811d21ec6074dd02ebe77c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/8d849adfbc3e98417fb541620568db1a759ef441 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report