{"id":"CVE-2022-48777","aliases":["CVE-2022-48777"],"related":[],"kind":"vulnerability","state":"published","title":"mtd: parsers: qcom: Fix kernel panic on skipped partition","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: parsers: qcom: Fix kernel panic on skipped partition\n\nIn the event of a skipped partition (case when the entry name is empty)\nthe kernel panics in the cleanup function as the name entry is NULL.\nRework the parser logic by first checking the real partition number and\nthen allocate the space and set the data for the valid partitions.\n\nThe logic was also fundamentally wrong as with a skipped partition, the\nparts number returned was incorrect by not decreasing it for the skipped\npartitions.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmtd: parsers: qcom: Fix kernel panic on skipped partition\n\nIn the event of a skipped partition (case when the entry name is empty)\nthe kernel panics in the cleanup function as the name entry is NULL.\nRework the parser logic by first checking the real partition number and\nthen allocate the space and set the data for the valid partitions.\n\nThe logic was also fundamentally wrong as with a skipped partition, the\nparts number returned was incorrect by not decreasing it for the skipped\npartitions.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mtd: parsers: qcom: corrige el pánico del kernel en la partición omitida En el caso de una partición omitida (caso cuando el nombre de la entrada está vacío), el kernel entra en pánico en la función de limpieza como el nombre la entrada es NULA. Vuelva a trabajar la lógica del analizador verificando primero el número de partición real y luego asigne el espacio y configure los datos para las particiones válidas. La lógica también era fundamentalmente errónea, ya que con una partición omitida, el número de pieza devuelto era incorrecto al no disminuirlo para las particiones omitidas.","source":"nvd"}],"published":"2024-07-16T11:13:15.869Z","modified":"2026-06-17T05:16:10.220Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"803eb124e1a64e42888542c3444bfe6dac412c7f","fixed":"eb03cb6e03ffd9173e18e5fe87e4e3ce83820453","status":"affected"},{"type":"git","introduced":"803eb124e1a64e42888542c3444bfe6dac412c7f","fixed":"a2995fe23095ceda2dc382fbe057f5e164595548","status":"affected"},{"type":"git","introduced":"803eb124e1a64e42888542c3444bfe6dac412c7f","fixed":"65d003cca335cabc0160d3cd7daa689eaa9dd3cd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.12","status":"unaffected"},{"type":"semver","introduced":"5.15.25","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.11","lastAffected":"5.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.12","fixed":"5.12.25"},{"status":"affected","introduced":"5.16","fixed":"5.16.11"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/eb03cb6e03ffd9173e18e5fe87e4e3ce83820453","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2995fe23095ceda2dc382fbe057f5e164595548","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65d003cca335cabc0160d3cd7daa689eaa9dd3cd","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:00:30.383Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48777","url":"https://www.cve.org/CVERecord?id=CVE-2022-48777","licence":"CVE Terms of Use","modified":"2026-05-11T18:46:44.738Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48777","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48777","licence":"Public domain","modified":"2026-06-17T05:16:10.220Z"}],"updatedAt":"2026-11-25T22:58:19.875Z","epss":{"score":0.00225,"percentile":0.14056,"date":"2026-12-01T12:00:22.000Z"}}