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
Link | Resource |
---|---|
https://git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cd | Mailing List Patch |
https://git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548 | Mailing List Patch |
https://git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453 | Mailing List Patch |
https://git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cd | Mailing List Patch |
https://git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548 | Mailing List Patch |
https://git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453 | Mailing List Patch |
Configurations
Configuration 1 (hide)
|
History
21 Nov 2024, 07:34
Type | Values Removed | Values Added |
---|---|---|
References | () https://git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cd - Mailing List, Patch | |
References | () https://git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548 - Mailing List, Patch | |
References | () https://git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453 - Mailing List, Patch |
21 Aug 2024, 17:52
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-476 | |
Summary |
|
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.5 |
References | () https://git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cd - Mailing List, Patch | |
References | () https://git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548 - Mailing List, Patch | |
References | () https://git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453 - Mailing List, Patch | |
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
First Time |
Linux linux Kernel
Linux |
16 Jul 2024, 12:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-07-16 12:15
Updated : 2024-11-21 07:34
NVD link : CVE-2022-48777
Mitre link : CVE-2022-48777
CVE.ORG link : CVE-2022-48777
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference