{"id":"CVE-2026-143386","summary":"scsi: core: Balance the pseudo target reap reference","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: core: Balance the pseudo target reap reference\n\nWith memory allocation profiling enabled, unloading scsi_debug reports\nallocations left at module unload. A stock Linux 7.2.11 VM without OpenZFS\nemitted the following on each of three load/unload cycles:\n\n[    1.644665] drivers/scsi/scsi_debug.c:8863 module scsi_debug func:sdebug_add_host_helper has 1024 allocated at module unload\n[    1.656260] drivers/scsi/scsi_debug.c:1261 module scsi_debug func:sdebug_target_alloc has 16 allocated at module unload\n\nscsi_alloc_target() supplies a reap reference for its caller. The SCSI\ndevice initializer takes another reference, which device removal drops.\nscsi_get_pseudo_sdev() drops its caller reference only when device\nallocation fails. On success the target cannot be destroyed, retaining its\ndriver-private data and its parent host and adapter.\n\nDrop the caller reference in the common cleanup path, as the other\nscsi_alloc_target() callers do.","modified":"2026-12-03T11:02:09.969054795Z","published":"2026-12-03T09:22:30.891Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143386.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8a832fb632da303cdf0704e0d56722ec47799f19"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9bee8b729f1b28bc9d66e216d7d95546c3cee5ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a468be14ecee522eec351c24039718ed5280953a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143386.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143386"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f6810557c37e47191c7d4015817567f84d066911"},{"fixed":"a468be14ecee522eec351c24039718ed5280953a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"d630fbf6fc8ce2fc95de7784de5499387b682dc1"},{"fixed":"9bee8b729f1b28bc9d66e216d7d95546c3cee5ed"},{"fixed":"8a832fb632da303cdf0704e0d56722ec47799f19"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143386.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143386.json"}}],"schema_version":"1.9.2"}