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.
CVSS
5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
from 831b624df1b420c8f9281ed1307a8db23afb72df before d47234840aeb4182ed3ee795c578b1dfa9cbd25b; from 831b624df1b420c8f9281ed1307a8db23afb72df before 49918dd52615097529811d21ec6074dd02ebe77c; 831b624df1b420c8f9281ed1307a8db23afb72df builds before 8baa234181f632cabacf73e4834a910859e9fcc9; 831b624df1b420c8f9281ed1307a8db23afb72df builds before 1da904e84de608907662ad8a51ba9c571d61e003; 831b624df1b420c8f9281ed1307a8db23afb72df builds before 8d849adfbc3e98417fb541620568db1a759ef441; 831b624df1b420c8f9281ed1307a8db23afb72df builds before 2c99326dc1c79b7ce3c8dd92929b5ce724ff70eb; 831b624df1b420c8f9281ed1307a8db23afb72df builds before 88d5b28f63c7aac1271784e3b800ed405d1cde75; from 831b624df1b420c8f9281ed1307a8db23afb72df before 05363abc7625cf18c96e67f50673cd07f11da5e9; and 12 more ranges
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
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.
Printed from infosecsignals.com. Every record links back to the agency that published it.
Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.