Skip to main content
← All vulnerabilities
CVE-2026-43124

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.17, 3.19, 4.5, 4.10, 4.15, and 1 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 3.16.62 · fixed in 3.17; From 3.18.123 · fixed in 3.19; From 4.4.158 · fixed in 4.5; From 4.9.129 · fixed in 4.10; From 4.14.72 · fixed in 4.15; From 4.18.10 · fixed in 4.19

  • Linux Linux

    4.19

References 8

git.kernel.org