{"id":"CVE-2023-53436","aliases":["CVE-2023-53436"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: snic: Fix possible memory leak if device_add() fails","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: snic: Fix possible memory leak if device_add() fails\n\nIf device_add() returns error, the name allocated by dev_set_name() needs\nbe freed. As the comment of device_add() says, put_device() should be used\nto give up the reference in the error path. So fix this by calling\nput_device(), then the name can be freed in kobject_cleanp().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: snic: Fix possible memory leak if device_add() fails\n\nIf device_add() returns error, the name allocated by dev_set_name() needs\nbe freed. As the comment of device_add() says, put_device() should be used\nto give up the reference in the error path. So fix this by calling\nput_device(), then the name can be freed in kobject_cleanp().","source":"cvelist"}],"published":"2025-09-18T16:04:15.138Z","modified":"2026-06-17T06:45:19.787Z","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":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa","fixed":"789275f7c0544374d40bc8d9c81f96751a41df45","status":"affected"},{"type":"git","introduced":"c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa","fixed":"f830968d464f55e11bc9260a132fc77daa266aa3","status":"affected"},{"type":"git","introduced":"c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa","fixed":"cea09922f5f75652d55b481ee34011fc7f19868b","status":"affected"},{"type":"git","introduced":"c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa","fixed":"58889d5ad74cbc1c9595db74e13522b58b69b0ec","status":"affected"},{"type":"git","introduced":"c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa","fixed":"461f8ac666fa232afee5ed6420099913ec4e4ba2","status":"affected"},{"type":"git","introduced":"c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa","fixed":"7723a5d5d187626c4c640842e522cf4e9e39492e","status":"affected"},{"type":"git","introduced":"c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa","fixed":"ed0acb1ee2e9322b96611635a9ca9303d15ac76c","status":"affected"},{"type":"git","introduced":"c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa","fixed":"41320b18a0e0dfb236dba4edb9be12dba1878156","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"4.14.323","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.292","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.254","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.191","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.127","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.46","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.11","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","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.2","fixed":"4.14.323"},{"status":"affected","introduced":"4.15","fixed":"4.19.292"},{"status":"affected","introduced":"4.20","fixed":"5.4.254"},{"status":"affected","introduced":"5.5","fixed":"5.10.191"},{"status":"affected","introduced":"5.11","fixed":"5.15.127"},{"status":"affected","introduced":"5.16","fixed":"6.1.46"},{"status":"affected","introduced":"6.2","fixed":"6.4.11"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/789275f7c0544374d40bc8d9c81f96751a41df45","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f830968d464f55e11bc9260a132fc77daa266aa3","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cea09922f5f75652d55b481ee34011fc7f19868b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58889d5ad74cbc1c9595db74e13522b58b69b0ec","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/461f8ac666fa232afee5ed6420099913ec4e4ba2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7723a5d5d187626c4c640842e522cf4e9e39492e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed0acb1ee2e9322b96611635a9ca9303d15ac76c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/41320b18a0e0dfb236dba4edb9be12dba1878156","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T19:16:38.570Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53436","url":"https://www.cve.org/CVERecord?id=CVE-2023-53436","licence":"CVE Terms of Use","modified":"2026-05-11T19:44:56.849Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53436","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53436","licence":"Public domain","modified":"2026-06-17T06:45:19.787Z"}],"updatedAt":"2026-11-25T22:58:34.882Z","epss":{"score":0.00155,"percentile":0.0484,"date":"2026-12-01T12:00:22.000Z"}}