CVE-2022-48777

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
16/07/2024
Last modified:
21/08/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> mtd: parsers: qcom: Fix kernel panic on skipped partition<br /> <br /> In the event of a skipped partition (case when the entry name is empty)<br /> the kernel panics in the cleanup function as the name entry is NULL.<br /> Rework the parser logic by first checking the real partition number and<br /> then allocate the space and set the data for the valid partitions.<br /> <br /> The logic was also fundamentally wrong as with a skipped partition, the<br /> parts number returned was incorrect by not decreasing it for the skipped<br /> partitions.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.12 (including) 5.12.25 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.16.11 (excluding)