{"id":"CVE-2021-47054","aliases":["CVE-2021-47054"],"related":[],"kind":"vulnerability","state":"published","title":"bus: qcom: Put child node before return","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbus: qcom: Put child node before return\n\nPut child node before return to fix potential reference count leak.\nGenerally, the reference count of child is incremented and decremented\nautomatically in the macro for_each_available_child_of_node() and should\nbe decremented manually if the loop is broken in loop body.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbus: qcom: Put child node before return\n\nPut child node before return to fix potential reference count leak.\nGenerally, the reference count of child is incremented and decremented\nautomatically in the macro for_each_available_child_of_node() and should\nbe decremented manually if the loop is broken in loop body.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: bus: qcom: Colocar el nodo secundario antes del retorno. Colocar el nodo secundario antes del retorno para corregir una posible pérdida del recuento de referencias. Generalmente, el recuento de referencia del niño se incrementa y disminuye automáticamente en la macro for_each_available_child_of_node() y debe disminuirse manualmente si el bucle se rompe en el cuerpo del bucle.","source":"nvd"}],"published":"2024-02-29T22:37:29.140Z","modified":"2026-06-17T04:16:19.537Z","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":[],"affected":[{"ranges":[{"type":"git","introduced":"335a127548081322bd2b294d715418648912f20c","fixed":"a6191e91c10e50bd51db65a00e03d02b6b0cf8c4","status":"affected"},{"type":"git","introduced":"335a127548081322bd2b294d715418648912f20c","fixed":"94810fc52925eb122a922df7f9966cf3f4ba7391","status":"affected"},{"type":"git","introduced":"335a127548081322bd2b294d715418648912f20c","fixed":"a399dd80e697a02cfb23e2fc09b87849994043d9","status":"affected"},{"type":"git","introduced":"335a127548081322bd2b294d715418648912f20c","fixed":"3a76ec28824c01b57aa1f0927841d75e4f167cb8","status":"affected"},{"type":"git","introduced":"335a127548081322bd2b294d715418648912f20c","fixed":"00f6abd3509b1d70d0ab0fbe65ce5685cebed8be","status":"affected"},{"type":"git","introduced":"335a127548081322bd2b294d715418648912f20c","fixed":"6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c","status":"affected"},{"type":"git","introduced":"335a127548081322bd2b294d715418648912f20c","fixed":"c6f8e0dc8da1cd78d640dee392071cc2326ec1b2","status":"affected"},{"type":"git","introduced":"335a127548081322bd2b294d715418648912f20c","fixed":"ac6ad7c2a862d682bb584a4bc904d89fa7721af8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.9","status":"unaffected"},{"type":"semver","introduced":"4.9.269","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.233","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.191","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.119","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.37","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.11.21","lastAffected":"5.11.*","status":"unaffected"},{"type":"semver","introduced":"5.12.4","lastAffected":"5.12.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"5.13","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":"4.9","fixed":"4.9.269"},{"status":"affected","introduced":"4.10","fixed":"4.14.233"},{"status":"affected","introduced":"4.15","fixed":"4.19.191"},{"status":"affected","introduced":"4.20","fixed":"5.4.119"},{"status":"affected","introduced":"5.5","fixed":"5.10.37"},{"status":"affected","introduced":"5.11","fixed":"5.11.21"},{"status":"affected","introduced":"5.12","fixed":"5.12.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a6191e91c10e50bd51db65a00e03d02b6b0cf8c4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/94810fc52925eb122a922df7f9966cf3f4ba7391","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a399dd80e697a02cfb23e2fc09b87849994043d9","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a76ec28824c01b57aa1f0927841d75e4f167cb8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00f6abd3509b1d70d0ab0fbe65ce5685cebed8be","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6b68c03dfc79cd95a58dfd03f91f6e82829a1b0c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c6f8e0dc8da1cd78d640dee392071cc2326ec1b2","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac6ad7c2a862d682bb584a4bc904d89fa7721af8","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-06T19:38:43.241Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-47054","url":"https://www.cve.org/CVERecord?id=CVE-2021-47054","licence":"CVE Terms of Use","modified":"2026-05-11T13:47:11.336Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-47054","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47054","licence":"Public domain","modified":"2026-06-17T04:16:19.537Z"}],"updatedAt":"2026-11-25T22:58:08.638Z","epss":{"score":0.00238,"percentile":0.15959,"date":"2026-12-01T12:00:22.000Z"}}