pstore: ram_core: fix incorrect success return when vmap() fails
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d47234840aeb4182ed3ee795c578b1dfa9cbd25b, Kernel 5.15.202, Kernel 6.1.165 and 18 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=831b624df1b420c8f9281ed1307a8db23afb72df <d47234840aeb4182ed3ee795c578b1dfa9cbd25b, >=5.11 <5.15.202, >=5.16 <6.1.165, >=6.13 <6.18.16, >=6.19 <6.19.6, >=6.2 <6.6.128, >=6.7 <6.12.75, >=3.18.123 <3.19, >=4.14.72 <4.15, >=4.18.10 <4.19, >=4.4.158 <4.5, >=4.9.129 <4.10, >=831b624df1b420c8f9281ed1307a8db23afb72df <05363abc7625cf18c96e67f50673cd07f11da5e9, >=831b624df1b420c8f9281ed1307a8db23afb72df <1da904e84de608907662ad8a51ba9c571d61e003, >=831b624df1b420c8f9281ed1307a8db23afb72df <2c99326dc1c79b7ce3c8dd92929b5ce724ff70eb, >=831b624df1b420c8f9281ed1307a8db23afb72df <49918dd52615097529811d21ec6074dd02ebe77c, >=831b624df1b420c8f9281ed1307a8db23afb72df <88d5b28f63c7aac1271784e3b800ed405d1cde75, >=831b624df1b420c8f9281ed1307a8db23afb72df <8baa234181f632cabacf73e4834a910859e9fcc9, >=831b624df1b420c8f9281ed1307a8db23afb72df <8d849adfbc3e98417fb541620568db1a759ef441, >=3.16.62 <5.10.252, =1cd01dba1355e291f636555b1920625ed58c1623, =1e5b387747ba285a64348b9a96b246d0b9d52b03, =36a9916189b46b78dbf4fa542739b464444f0537, =4.19, =7026e2457c5b0c0e8a81e65a8209b8420a437b4d, =9095f19baae92afb978f8df77d19280fe291b337, =d0028f48b33086cf6d8f87831a650866107b5785, >=3.16.62 <3.17 | d47234840aeb4182ed3ee795c578b1dfa9cbd25b, 5.15.202, 6.1.165, 6.18.16, 6.19.6, 6.6.128, 6.12.75, 3.19, 4.15, 4.19, 4.5, 4.10, 05363abc7625cf18c96e67f50673cd07f11da5e9, 1da904e84de608907662ad8a51ba9c571d61e003, 2c99326dc1c79b7ce3c8dd92929b5ce724ff70eb, 49918dd52615097529811d21ec6074dd02ebe77c, 88d5b28f63c7aac1271784e3b800ed405d1cde75, 8baa234181f632cabacf73e4834a910859e9fcc9, 8d849adfbc3e98417fb541620568db1a759ef441, 5.10.252, 3.17 |
| linux-kernel: Kernel | >=3.16.62 <3.17, >=3.18.123 <3.19, >=4.14.72 <4.15, >=4.18.10 <4.19, >=4.19.0 <5.10.252, >=4.4.158 <4.5, >=4.9.129 <4.10, >=5.11.0 <5.15.202, >=5.16.0 <6.1.165, >=6.13.0 <6.18.16, >=6.19.0 <6.19.6, >=6.2.0 <6.6.128, >=6.7.0 <6.12.75 | 3.17, 3.19, 4.15, 4.19, 5.10.252, 4.5, 4.10, 5.15.202, 6.1.165, 6.18.16, 6.19.6, 6.6.128, 6.12.75 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket