{"id":"CVE-2022-49242","aliases":["CVE-2022-49242"],"related":[],"kind":"vulnerability","state":"published","title":"ASoC: mxs: Fix error handling in mxs_sgtl5000_probe","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: mxs: Fix error handling in mxs_sgtl5000_probe\n\nThis function only calls of_node_put() in the regular path.\nAnd it will cause refcount leak in error paths.\nFor example, when codec_np is NULL, saif_np[0] and saif_np[1]\nare not NULL, it will cause leaks.\n\nof_node_put() will check if the node pointer is NULL, so we can\ncall it directly to release the refcount of regular pointers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: mxs: Fix error handling in mxs_sgtl5000_probe\n\nThis function only calls of_node_put() in the regular path.\nAnd it will cause refcount leak in error paths.\nFor example, when codec_np is NULL, saif_np[0] and saif_np[1]\nare not NULL, it will cause leaks.\n\nof_node_put() will check if the node pointer is NULL, so we can\ncall it directly to release the refcount of regular pointers.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: mxs: Corregir la gestión de errores en mxs_sgtl5000_probe Esta función solo llama a of_node_put() en la ruta regular. Y provocará una fuga de refcount en las rutas de error. Por ejemplo, cuando codec_np es NULL, saif_np[0] y saif_np[1] no son NULL, provocará fugas. of_node_put() comprobará si el puntero del nodo es NULL, por lo que podemos llamarlo directamente para liberar el refcount de los punteros regulares.","source":"nvd"}],"published":"2025-02-26T01:56:03.812Z","modified":"2026-06-17T05:17:29.517Z","severity":{"scorer":"CISA-ADP","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":"CISA-ADP","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"},{"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":[],"affected":[{"ranges":[{"type":"git","introduced":"e968194b45c4e8077dada75c5bae5660b37628fe","fixed":"f16ad2c0e22687f80e5981c67374023f51c204b9","status":"affected"},{"type":"git","introduced":"e968194b45c4e8077dada75c5bae5660b37628fe","fixed":"790d2628e3fcc819d8f5572eb5615113fb2e727a","status":"affected"},{"type":"git","introduced":"e968194b45c4e8077dada75c5bae5660b37628fe","fixed":"f8d38056bcd220ea6f0802a5586d1a12ebcce849","status":"affected"},{"type":"git","introduced":"e968194b45c4e8077dada75c5bae5660b37628fe","fixed":"67e12f1cb2f97468c12b59e21975eaa0f332e7d2","status":"affected"},{"type":"git","introduced":"e968194b45c4e8077dada75c5bae5660b37628fe","fixed":"86b6cf989437e694fd0a15782b5a513853a739e0","status":"affected"},{"type":"git","introduced":"e968194b45c4e8077dada75c5bae5660b37628fe","fixed":"44acdaf7acb60054d872bed18ce0e7db8ce900ce","status":"affected"},{"type":"git","introduced":"e968194b45c4e8077dada75c5bae5660b37628fe","fixed":"d2923b48d99fe663cb93d8b481c93299fcd68656","status":"affected"},{"type":"git","introduced":"e968194b45c4e8077dada75c5bae5660b37628fe","fixed":"8d880226c86f37624e2a5f3c6d92ac0ec3375f96","status":"affected"},{"type":"git","introduced":"e968194b45c4e8077dada75c5bae5660b37628fe","fixed":"6ae0a4d8fec551ec581d620f0eb1fe31f755551c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"4.9.311","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.276","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.238","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.189","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.110","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.33","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.19","lastAffected":"5.16.*","status":"unaffected"},{"type":"semver","introduced":"5.17.2","lastAffected":"5.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.18","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":"3.5","fixed":"4.9.311"},{"status":"affected","introduced":"4.10","fixed":"4.14.276"},{"status":"affected","introduced":"4.15","fixed":"4.19.238"},{"status":"affected","introduced":"4.20","fixed":"5.4.189"},{"status":"affected","introduced":"5.5","fixed":"5.10.110"},{"status":"affected","introduced":"5.11","fixed":"5.15.33"},{"status":"affected","introduced":"5.16","fixed":"5.16.19"},{"status":"affected","introduced":"5.17","fixed":"5.17.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/f16ad2c0e22687f80e5981c67374023f51c204b9","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/790d2628e3fcc819d8f5572eb5615113fb2e727a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f8d38056bcd220ea6f0802a5586d1a12ebcce849","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/67e12f1cb2f97468c12b59e21975eaa0f332e7d2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86b6cf989437e694fd0a15782b5a513853a739e0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44acdaf7acb60054d872bed18ce0e7db8ce900ce","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2923b48d99fe663cb93d8b481c93299fcd68656","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8d880226c86f37624e2a5f3c6d92ac0ec3375f96","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ae0a4d8fec551ec581d620f0eb1fe31f755551c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:45:41.640Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-49242","url":"https://www.cve.org/CVERecord?id=CVE-2022-49242","licence":"CVE Terms of Use","modified":"2026-05-11T18:55:53.825Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-49242","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49242","licence":"Public domain","modified":"2026-06-17T05:17:29.517Z"}],"updatedAt":"2026-11-25T22:58:20.319Z","epss":{"score":0.00268,"percentile":0.20224,"date":"2026-12-01T12:00:22.000Z"}}