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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 20.04 | noarch | linux-intel-iotg-5.15 | < any | UNKNOWN |
git.kernel.org/linus/65d003cca335cabc0160d3cd7daa689eaa9dd3cd (5.17-rc5)
git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cd
git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548
git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453
launchpad.net/bugs/cve/CVE-2022-48777
nvd.nist.gov/vuln/detail/CVE-2022-48777
security-tracker.debian.org/tracker/CVE-2022-48777
www.cve.org/CVERecord?id=CVE-2022-48777