CVE-2026-143386

Source
https://cve.org/CVERecord?id=CVE-2026-143386
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143386.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143386
Downstream
Published
2026-12-03T09:22:30Z
Modified
2026-12-03T11:02:09Z
Summary
scsi: core: Balance the pseudo target reap reference
Details

In the Linux kernel, the following vulnerability has been resolved:

scsi: core: Balance the pseudo target reap reference

With memory allocation profiling enabled, unloading scsi_debug reports allocations left at module unload. A stock Linux 7.2.11 VM without OpenZFS emitted the following on each of three load/unload cycles:

[ 1.644665] drivers/scsi/scsi_debug.c:8863 module scsi_debug func:sdebug_add_host_helper has 1024 allocated at module unload [ 1.656260] drivers/scsi/scsi_debug.c:1261 module scsi_debug func:sdebug_target_alloc has 16 allocated at module unload

scsi_alloc_target() supplies a reap reference for its caller. The SCSI device initializer takes another reference, which device removal drops. scsi_get_pseudo_sdev() drops its caller reference only when device allocation fails. On success the target cannot be destroyed, retaining its driver-private data and its parent host and adapter.

Drop the caller reference in the common cleanup path, as the other scsi_alloc_target() callers do.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143386.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

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"

Linux / Kernel

Package

Name
Kernel

Affected 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"