CVE-2022-48777
Last modified
CVE-2022-48777 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.12, < 5.12.25 |
| Linux | Linux Kernel | >= 5.16, < 5.16.11 |
References
- https://git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cdMailing List, Patch
- https://git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548Mailing List, Patch
- https://git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453Mailing List, Patch
- https://git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cdMailing List, Patch
- https://git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548Mailing List, Patch
- https://git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453Mailing List, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-48777?
How severe is CVE-2022-48777?
How do I fix CVE-2022-48777?
Are you affected by CVE-2022-48777?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
