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

CVE-2026-43124
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.13 % · centile 2 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-476 — Déréférencement de pointeur nul

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 831b624df1b420c8f9281ed1307a8db23afb72df < d47234840aeb4182ed3ee795c578b1dfa9cbd25b ; affected 831b624df1b420c8f9281ed1307a8db23afb72df < 49918dd52615097529811d21ec6074dd02ebe77c ; affected 831b624df1b420c8f9281ed1307a8db23afb72df < 8baa234181f632cabacf73e4834a910859e9fcc9 ; affected 831b624df1b420c8f9281ed1307a8db23afb72df < 1da904e84de608907662ad8a51ba9c571d61e003 ; affected 831b624df1b420c8f9281ed1307a8db23afb72df < 8d849adfbc3e98417fb541620568db1a759ef441 ; affected 831b624df1b420c8f9281ed1307a8db23afb72df < 2c99326dc1c79b7ce3c8dd92929b5ce724ff70eb
Linux · Linuxaffected 4.19 ; unaffected 0 < 4.19 ; unaffected 5.10.252 ≤ 5.10.* ; unaffected 5.15.202 ≤ 5.15.* ; unaffected 6.1.165 ≤ 6.1.* ; unaffected 6.6.128 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD