CVE-2022-48777

mtd: parsers: qcom: Fix kernel panic on skipped partition

MEDIUM
5.5
CVSS Score
Published: July 16, 2024 at 11:13 AM UTC
Updated: June 17, 2026 at 05:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.12 ≤ v < 5.12.255.12 ≤ v < 5.15.255.12 ≤ v < 5.16.115.12 ≤ v < 5.175.16 ≤ v < 5.16.115.12803eb124e1a64e42888542c3444bfe6dac412c7f
Vendor states this is fixed in 65d003cca335cabc0160d3cd7daa689eaa9dd3cd (fixed)
Vendor states this is fixed in a2995fe23095ceda2dc382fbe057f5e164595548 (fixed)
Vendor states this is fixed in eb03cb6e03ffd9173e18e5fe87e4e3ce83820453 (fixed)
Vendor states this is fixed in 5.12 (unaffected)
Affected range stops below 5.12.25, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.15.25 (unaffected)
Vendor states this is fixed in 5.16.11 (unaffected)
Vendor states this is fixed in 5.17 (unaffected)

References (3)

Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cd
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548
Mailing ListPatch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card