CVEvulnerability
CVE-2026-43124
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-05-06
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 3.16.62 < 5.10.252)
• linux linux kernel (>= 5.11 < 5.15.202)
• linux linux kernel (>= 5.16 < 6.1.165)
• linux linux kernel (>= 6.2 < 6.6.128)
• linux linux kernel (>= 6.7 < 6.12.75)
• linux linux kernel (>= 6.13 < 6.18.16)
• linux linux kernel (>= 6.19 < 6.19.6)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/05363abc7625cf18c96e67f50673cd07f11da5e9 Patch
- https://git.kernel.org/stable/c/1da904e84de608907662ad8a51ba9c571d61e003 Patch
- https://git.kernel.org/stable/c/2c99326dc1c79b7ce3c8dd92929b5ce724ff70eb Patch
- https://git.kernel.org/stable/c/49918dd52615097529811d21ec6074dd02ebe77c Patch
- https://git.kernel.org/stable/c/88d5b28f63c7aac1271784e3b800ed405d1cde75 Patch
- https://git.kernel.org/stable/c/8baa234181f632cabacf73e4834a910859e9fcc9 Patch
- https://git.kernel.org/stable/c/8d849adfbc3e98417fb541620568db1a759ef441 Patch
- https://git.kernel.org/stable/c/d47234840aeb4182ed3ee795c578b1dfa9cbd25b Patch