mtd: parsers: qcom: Fix kernel panic on skipped partition
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 65d003cca335cabc0160d3cd7daa689eaa9dd3cd, Kernel a2995fe23095ceda2dc382fbe057f5e164595548 and Kernel eb03cb6e03ffd9173e18e5fe87e4e3ce83820453.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.12, >=803eb124e1a64e42888542c3444bfe6dac412c7f <65d003cca335cabc0160d3cd7daa689eaa9dd3cd, >=803eb124e1a64e42888542c3444bfe6dac412c7f <a2995fe23095ceda2dc382fbe057f5e164595548, >=803eb124e1a64e42888542c3444bfe6dac412c7f <eb03cb6e03ffd9173e18e5fe87e4e3ce83820453 | 65d003cca335cabc0160d3cd7daa689eaa9dd3cd, a2995fe23095ceda2dc382fbe057f5e164595548, eb03cb6e03ffd9173e18e5fe87e4e3ce83820453 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket