← Database

CVE-2026-43124

MEDIUM CVSS: 5.5 Published: 2026-05-06 Modified: 2026-06-17

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.

Affected Platforms

Linux Linux Kernel

Weakness Type

CWE-476

References