DEBIAN-CVE-2025-39998
Record from OSV · Published October 15, 2025
In the Linux kernel, the following vulnerability has been resolved: scsi: target: target_core_configfs: Add length check to avoid buffer overflow A buffer overflow arises from the usage of snprintf to write into the buffer "buf" in target_lu_gp_members_show function located in /drivers/target/target_core_configfs.c. This buffer is allocated with size LU_GROUP_NAME_BUF (256 bytes). snprintf(...) formats multiple strings into buf with the HBA name (hba->hba_group.cg_item), a slash character, a devicename (dev-> dev_group.cg_item) and a newline character, the total formatted string length may exceed the buffer size of 256 bytes. Since snprintf() returns the total number of bytes that would have been written (the length of %s/%sn ), this value may exceed the buffer length (256 bytes) passed to memcpy(), this will ultimately cause function memcpy reporting a buffer overflow error. An additional check of the return value of snprintf() can avoid this buffer overflow.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux | Debian:14 | 6.16.11-1 |
| linux | Debian:13 | 6.12.57-1 |
| linux | Debian:12 | 6.1.158-1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:14 | linux | 6.12.90-1~bpo12+1, 6.12.100-1, 6.12.101-1 |
| Debian:13 | linux | 0, 6.12.38-1, 6.12.41-1 |
| Debian:12 | linux | 6.1.123-1, 6.1.124-1, 6.1.128-1 |
Timeline
- Oct 15, 2025 CVE Published
- Oct 23, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2025-39998
vulnetix vdb fixes DEBIAN-CVE-2025-39998
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/DEBIAN-CVE-2025-39998/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart