{"id":"CVE-2022-48723","aliases":["CVE-2022-48723"],"related":[],"kind":"vulnerability","state":"published","title":"spi: uniphier: fix reference count leak in uniphier_spi_probe()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: uniphier: fix reference count leak in uniphier_spi_probe()\n\nThe issue happens in several error paths in uniphier_spi_probe().\nWhen either dma_get_slave_caps() or devm_spi_register_master() returns\nan error code, the function forgets to decrease the refcount of both\n`dma_rx` and `dma_tx` objects, which may lead to refcount leaks.\n\nFix it by decrementing the reference count of specific objects in\nthose error paths.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: uniphier: fix reference count leak in uniphier_spi_probe()\n\nThe issue happens in several error paths in uniphier_spi_probe().\nWhen either dma_get_slave_caps() or devm_spi_register_master() returns\nan error code, the function forgets to decrease the refcount of both\n`dma_rx` and `dma_tx` objects, which may lead to refcount leaks.\n\nFix it by decrementing the reference count of specific objects in\nthose error paths.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: spi: uniphier: corrige la fuga del recuento de referencias en uniphier_spi_probe() El problema ocurre en varias rutas de error en uniphier_spi_probe(). Cuando dma_get_slave_caps() o devm_spi_register_master() devuelven un código de error, la función se olvida de disminuir el recuento de los objetos `dma_rx` y `dma_tx`, lo que puede provocar fugas de recuento. Corríjalo disminuyendo el recuento de referencias de objetos específicos en esas rutas de error.","source":"nvd"}],"published":"2024-06-20T11:13:13.965Z","modified":"2026-06-17T05:16:01.253Z","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":"28d1dddc59f6b7fc085093e7c1e978b33f0caf4c","fixed":"e895e067d73e154b1ebc84a124e00831e311d9b0","status":"affected"},{"type":"git","introduced":"28d1dddc59f6b7fc085093e7c1e978b33f0caf4c","fixed":"dd00b4f8f768d81c3788a8ac88fdb3d745e55ea3","status":"affected"},{"type":"git","introduced":"28d1dddc59f6b7fc085093e7c1e978b33f0caf4c","fixed":"447c3d4046d7b54052d07d8b27e15e6edea5662c","status":"affected"},{"type":"git","introduced":"28d1dddc59f6b7fc085093e7c1e978b33f0caf4c","fixed":"37c2c83ca4f1ef4b6908181ac98e18360af89b42","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.99","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.22","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.16.8","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.6","fixed":"5.10.99"},{"status":"affected","introduced":"5.11","fixed":"5.15.22"},{"status":"affected","introduced":"5.16","fixed":"5.16.8"},{"status":"affected","version":"5.17"},{"status":"affected","version":"5.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e895e067d73e154b1ebc84a124e00831e311d9b0","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dd00b4f8f768d81c3788a8ac88fdb3d745e55ea3","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/447c3d4046d7b54052d07d8b27e15e6edea5662c","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37c2c83ca4f1ef4b6908181ac98e18360af89b42","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T17:11:13.006Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-48723","url":"https://www.cve.org/CVERecord?id=CVE-2022-48723","licence":"CVE Terms of Use","modified":"2026-05-11T18:45:42.615Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-48723","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48723","licence":"Public domain","modified":"2026-06-17T05:16:01.253Z"}],"updatedAt":"2026-11-25T22:58:19.836Z","epss":{"score":0.00222,"percentile":0.13715,"date":"2026-12-01T12:00:22.000Z"}}