# CVE-2026-43124: pstore: ram_core: fix incorrect success return when vmap() fails

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-05-06T11:27:10.221Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 831b624df1b420c8f9281ed1307a8db23afb72df before d47234840aeb4182ed3ee795c578b1dfa9cbd25b; from 831b624df1b420c8f9281ed1307a8db23afb72df before 49918dd52615097529811d21ec6074dd02ebe77c; from 831b624df1b420c8f9281ed1307a8db23afb72df before 8baa234181f632cabacf73e4834a910859e9fcc9; from 831b624df1b420c8f9281ed1307a8db23afb72df before 1da904e84de608907662ad8a51ba9c571d61e003; from 831b624df1b420c8f9281ed1307a8db23afb72df before 8d849adfbc3e98417fb541620568db1a759ef441; from 831b624df1b420c8f9281ed1307a8db23afb72df before 2c99326dc1c79b7ce3c8dd92929b5ce724ff70eb; from 831b624df1b420c8f9281ed1307a8db23afb72df before 88d5b28f63c7aac1271784e3b800ed405d1cde75; from 831b624df1b420c8f9281ed1307a8db23afb72df before 05363abc7625cf18c96e67f50673cd07f11da5e9; 9095f19baae92afb978f8df77d19280fe291b337; 36a9916189b46b78dbf4fa542739b464444f0537; 1cd01dba1355e291f636555b1920625ed58c1623; 7026e2457c5b0c0e8a81e65a8209b8420a437b4d; and 9 more (not affected: before 4.19; from 5.10.252 up to 5.10.*; from 5.15.202 up to 5.15.*; from 6.1.165 up to 6.1.*; from 6.6.128 up to 6.6.*; from 6.12.75 up to 6.12.*; from 6.18.16 up to 6.18.*; from 6.19.6 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 3.16.62 before 5.10.252; from 5.11 before 5.15.202; from 5.16 before 6.1.165; from 6.2 before 6.6.128; from 6.7 before 6.12.75; from 6.13 before 6.18.16; from 6.19 before 6.19.6

## References

- <https://git.kernel.org/stable/c/d47234840aeb4182ed3ee795c578b1dfa9cbd25b> (patch)
- <https://git.kernel.org/stable/c/49918dd52615097529811d21ec6074dd02ebe77c> (patch)
- <https://git.kernel.org/stable/c/8baa234181f632cabacf73e4834a910859e9fcc9> (patch)
- <https://git.kernel.org/stable/c/1da904e84de608907662ad8a51ba9c571d61e003> (patch)
- <https://git.kernel.org/stable/c/8d849adfbc3e98417fb541620568db1a759ef441> (patch)
- <https://git.kernel.org/stable/c/2c99326dc1c79b7ce3c8dd92929b5ce724ff70eb> (patch)
- <https://git.kernel.org/stable/c/88d5b28f63c7aac1271784e3b800ed405d1cde75> (patch)
- <https://git.kernel.org/stable/c/05363abc7625cf18c96e67f50673cd07f11da5e9> (patch)

## Sources

- CVE List: [CVE-2026-43124](https://www.cve.org/CVERecord?id=CVE-2026-43124), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-43124](https://nvd.nist.gov/vuln/detail/CVE-2026-43124), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-43124 · Whole record: https://cve.day/CVE-2026-43124.json · Rebuilt by cve.day 2026-11-25T22:59:20.688Z
