{"id":"CVE-2022-49780","published":"2025-05-01T14:09:15Z","modified":"2026-11-05T19:49:47Z","title":"scsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: target: tcm_loop: Fix possible name leak in tcm_loop_setup_hba_bus()\n\nIf device_register() fails in tcm_loop_setup_hba_bus(), the name allocated\nby dev_set_name() need be freed. As comment of device_register() says, it\nshould use put_device() to give up the reference in the error path. So fix\nthis by calling put_device(), then the name can be freed in kobject_cleanup().\nThe 'tl_hba' will be freed in tcm_loop_release_adapter(), so it don't need\ngoto error label in this case.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00216,"percentile":0.12253,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/41a6b8b527a5957fab41c3c05e25ad125268e2e9","tags":[]},{"url":"https://git.kernel.org/stable/c/28f7ff5e7559d226e63c7c5de74eb075a83d8c53","tags":[]},{"url":"https://git.kernel.org/stable/c/75205f1b47a88c3fac4f30bd7567e89b2887c7fd","tags":[]},{"url":"https://git.kernel.org/stable/c/a636772988bafab89278e7bb3420d8e8eacfe912","tags":[]},{"url":"https://git.kernel.org/stable/c/dce0589a3faec9e2e543e97bca7e62592ec85585","tags":[]},{"url":"https://git.kernel.org/stable/c/bc68e428d4963af0201e92159629ab96948f0893","tags":[]}],"priority":{"score":2.5,"factors":[{"name":"EPSS percentile","points":2.45}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 3703b2c5d041a68095cdd22380c23ce27d449ad7, < 41a6b8b527a5957fab41c3c05e25ad125268e2e9",">= 3703b2c5d041a68095cdd22380c23ce27d449ad7, < 28f7ff5e7559d226e63c7c5de74eb075a83d8c53",">= 3703b2c5d041a68095cdd22380c23ce27d449ad7, < 75205f1b47a88c3fac4f30bd7567e89b2887c7fd",">= 3703b2c5d041a68095cdd22380c23ce27d449ad7, < a636772988bafab89278e7bb3420d8e8eacfe912",">= 3703b2c5d041a68095cdd22380c23ce27d449ad7, < dce0589a3faec9e2e543e97bca7e62592ec85585",">= 3703b2c5d041a68095cdd22380c23ce27d449ad7, < bc68e428d4963af0201e92159629ab96948f0893"]},{"vendor":"Linux","product":"Linux","versions":["2.6.39"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-05T19:47:35.495862Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-12974","exploited":false,"provenance":"source"}}