CVE-2022-48777
MEDIUMLinux Kernel 5.12-5.12.24, 5.15-5.15.24, 5.16-5.16.10 - NULL Pointer Dereference in MTD Partition Parser
Title source: llmDescription
In the Linux kernel, the following vulnerability has been resolved: mtd: parsers: qcom: Fix kernel panic on skipped partition In the event of a skipped partition (case when the entry name is empty) the kernel panics in the cleanup function as the name entry is NULL. Rework the parser logic by first checking the real partition number and then allocate the space and set the data for the valid partitions. The logic was also fundamentally wrong as with a skipped partition, the parts number returned was incorrect by not decreasing it for the skipped partitions.
References (3)
Core 3
Core References
Mailing List, Patch
https://git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453
Mailing List, Patch
https://git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548
Mailing List, Patch
https://git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cd
Scores
CVSS v3
5.5
EPSS
0.0022
EPSS Percentile
13.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-476
Status
published
Products (11)
linux/Kernel
5.12.0 - 5.15.25linux
linux/Kernel
5.16.0 - 5.16.11linux
Linux/Linux
< 5.12
Linux/Linux
5.12
Linux/Linux
5.15.25 - 5.15.*
Linux/Linux
5.16.11 - 5.16.*
Linux/Linux
5.17
Linux/Linux
803eb124e1a64e42888542c3444bfe6dac412c7f - 65d003cca335cabc0160d3cd7daa689eaa9dd3cd
Linux/Linux
803eb124e1a64e42888542c3444bfe6dac412c7f - a2995fe23095ceda2dc382fbe057f5e164595548
Linux/Linux
803eb124e1a64e42888542c3444bfe6dac412c7f - eb03cb6e03ffd9173e18e5fe87e4e3ce83820453
... and 1 more
Published
Jul 16, 2024
Tracked Since
Feb 18, 2026