pstore: ram_core: fix incorrect success return when vmap() fails
Summary
| CVE | CVE-2026-43124 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-06 12:16:29 UTC |
| Updated | 2026-05-08 18:02:22 UTC |
| Description | In 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
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.