Show plain JSON{"dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": {"cveId": "CVE-2022-49242", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2025-02-26T01:49:39.294Z", "datePublished": "2025-02-26T01:56:03.812Z", "dateUpdated": "2025-05-04T08:33:11.352Z"}, "containers": {"cna": {"providerMetadata": {"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2025-05-04T08:33:11.352Z"}, "descriptions": [{"lang": "en", "value": "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."}], "affected": [{"product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": ["sound/soc/mxs/mxs-sgtl5000.c"], "versions": [{"version": "e968194b45c4e8077dada75c5bae5660b37628fe", "lessThan": "f16ad2c0e22687f80e5981c67374023f51c204b9", "status": "affected", "versionType": "git"}, {"version": "e968194b45c4e8077dada75c5bae5660b37628fe", "lessThan": "790d2628e3fcc819d8f5572eb5615113fb2e727a", "status": "affected", "versionType": "git"}, {"version": "e968194b45c4e8077dada75c5bae5660b37628fe", "lessThan": "f8d38056bcd220ea6f0802a5586d1a12ebcce849", "status": "affected", "versionType": "git"}, {"version": "e968194b45c4e8077dada75c5bae5660b37628fe", "lessThan": "67e12f1cb2f97468c12b59e21975eaa0f332e7d2", "status": "affected", "versionType": "git"}, {"version": "e968194b45c4e8077dada75c5bae5660b37628fe", "lessThan": "86b6cf989437e694fd0a15782b5a513853a739e0", "status": "affected", "versionType": "git"}, {"version": "e968194b45c4e8077dada75c5bae5660b37628fe", "lessThan": "44acdaf7acb60054d872bed18ce0e7db8ce900ce", "status": "affected", "versionType": "git"}, {"version": "e968194b45c4e8077dada75c5bae5660b37628fe", "lessThan": "d2923b48d99fe663cb93d8b481c93299fcd68656", "status": "affected", "versionType": "git"}, {"version": "e968194b45c4e8077dada75c5bae5660b37628fe", "lessThan": "8d880226c86f37624e2a5f3c6d92ac0ec3375f96", "status": "affected", "versionType": "git"}, {"version": "e968194b45c4e8077dada75c5bae5660b37628fe", "lessThan": "6ae0a4d8fec551ec581d620f0eb1fe31f755551c", "status": "affected", "versionType": "git"}]}, {"product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": ["sound/soc/mxs/mxs-sgtl5000.c"], "versions": [{"version": "3.5", "status": "affected"}, {"version": "0", "lessThan": "3.5", "status": "unaffected", "versionType": "semver"}, {"version": "4.9.311", "lessThanOrEqual": "4.9.*", "status": "unaffected", "versionType": "semver"}, {"version": "4.14.276", "lessThanOrEqual": "4.14.*", "status": "unaffected", "versionType": "semver"}, {"version": "4.19.238", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver"}, {"version": "5.4.189", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver"}, {"version": "5.10.110", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver"}, {"version": "5.15.33", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver"}, {"version": "5.16.19", "lessThanOrEqual": "5.16.*", "status": "unaffected", "versionType": "semver"}, {"version": "5.17.2", "lessThanOrEqual": "5.17.*", "status": "unaffected", "versionType": "semver"}, {"version": "5.18", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix"}]}], "cpeApplicability": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "4.9.311"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "4.14.276"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "4.19.238"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "5.4.189"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "5.10.110"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "5.15.33"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "5.16.19"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "5.17.2"}, {"vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.5", "versionEndExcluding": "5.18"}]}]}], "references": [{"url": "https://git.kernel.org/stable/c/f16ad2c0e22687f80e5981c67374023f51c204b9"}, {"url": "https://git.kernel.org/stable/c/790d2628e3fcc819d8f5572eb5615113fb2e727a"}, {"url": "https://git.kernel.org/stable/c/f8d38056bcd220ea6f0802a5586d1a12ebcce849"}, {"url": "https://git.kernel.org/stable/c/67e12f1cb2f97468c12b59e21975eaa0f332e7d2"}, {"url": "https://git.kernel.org/stable/c/86b6cf989437e694fd0a15782b5a513853a739e0"}, {"url": "https://git.kernel.org/stable/c/44acdaf7acb60054d872bed18ce0e7db8ce900ce"}, {"url": "https://git.kernel.org/stable/c/d2923b48d99fe663cb93d8b481c93299fcd68656"}, {"url": "https://git.kernel.org/stable/c/8d880226c86f37624e2a5f3c6d92ac0ec3375f96"}, {"url": "https://git.kernel.org/stable/c/6ae0a4d8fec551ec581d620f0eb1fe31f755551c"}], "title": "ASoC: mxs: Fix error handling in mxs_sgtl5000_probe", "x_generator": {"engine": "bippy-1.2.0"}}}}