Linux Kernel up to 6.6.109/6.12.50/6.16.10/6.17.0 scsi target_core_configfs.c snprintf return value

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in Linux Kernel up to 6.6.109/6.12.50/6.16.10/6.17.0. Affected by this vulnerability is the function snprintf of the file /drivers/target/target_core_configfs.c of the component scsi. Performing a manipulation results in return value.
This vulnerability is reported as CVE-2025-39998. No exploit exists.
It is suggested to upgrade the affected component.
Details
A vulnerability, which was classified as critical, was found in Linux Kernel up to 6.6.109/6.12.50/6.16.10/6.17.0. This affects the function snprintf of the file /drivers/target/target_core_configfs.c of the component scsi. The manipulation with an unknown input leads to a return value vulnerability. CWE is classifying the issue as CWE-252. The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions. The impact remains unknown. The summary by CVE is:
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.
It is possible to read the advisory at git.kernel.org. This vulnerability is uniquely identified as CVE-2025-39998 since 04/16/2025. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 02/08/2026).
The vulnerability scanner Nessus provides a plugin with the ID 271557 (Linux Distros Unpatched Vulnerability : CVE-2025-39998), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 6.6.110, 6.12.51, 6.16.11, 6.17.1 or 6.18-rc1 eliminates this vulnerability. Applying the patch f03aa5e39da7d045615b3951d2a6ca1d7132f881/53c6351597e6a17ec6619f6f060d54128cb9a187/4b292286949588bd2818e66ff102db278de8dd26/a150275831b765b0f1de8b8ff52ec5c6933ac15d/27e06650a5eafe832a90fd2604f0c5e920857fae is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (271557), EUVD (EUVD-2025-34575) and CERT Bund (WID-SEC-2025-2298). Be aware that VulDB is the high quality source for vulnerability data.
Affected
- Google Container-Optimized OS
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- SUSE openSUSE
- RESF Rocky Linux
- Open Source Linux Kernel
- IBM QRadar SIEM
- Dell NetWorker
Product
Type
Vendor
Name
Version
- 6.0
- 6.1
- 6.2
- 6.3
- 6.4
- 6.5
- 6.6
- 6.6.109
- 6.7
- 6.8
- 6.9
- 6.10
- 6.11
- 6.12
- 6.12.0
- 6.12.1
- 6.12.2
- 6.12.3
- 6.12.4
- 6.12.5
- 6.12.6
- 6.12.7
- 6.12.8
- 6.12.9
- 6.12.10
- 6.12.11
- 6.12.12
- 6.12.13
- 6.12.14
- 6.12.15
- 6.12.16
- 6.12.17
- 6.12.18
- 6.12.19
- 6.12.20
- 6.12.21
- 6.12.22
- 6.12.23
- 6.12.24
- 6.12.25
- 6.12.26
- 6.12.27
- 6.12.28
- 6.12.29
- 6.12.30
- 6.12.31
- 6.12.32
- 6.12.33
- 6.12.34
- 6.12.35
- 6.12.36
- 6.12.37
- 6.12.38
- 6.12.39
- 6.12.40
- 6.12.41
- 6.12.42
- 6.12.43
- 6.12.44
- 6.12.45
- 6.12.46
- 6.12.47
- 6.12.48
- 6.12.49
- 6.12.50
- 6.13
- 6.14
- 6.15
- 6.16
- 6.16.0
- 6.16.1
- 6.16.2
- 6.16.3
- 6.16.4
- 6.16.5
- 6.16.6
- 6.16.7
- 6.16.8
- 6.16.9
- 6.16.10
- 6.17.0
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Return valueCWE: CWE-252 / CWE-253
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Partially
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 271557
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2025-39998
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Kernel 6.6.110/6.12.51/6.16.11/6.17.1/6.18-rc1
Patch: f03aa5e39da7d045615b3951d2a6ca1d7132f881/53c6351597e6a17ec6619f6f060d54128cb9a187/4b292286949588bd2818e66ff102db278de8dd26/a150275831b765b0f1de8b8ff52ec5c6933ac15d/27e06650a5eafe832a90fd2604f0c5e920857fae
Timeline
04/16/2025 CVE reserved10/15/2025 Advisory disclosed
10/15/2025 VulDB entry created
02/08/2026 VulDB entry last update
Sources
Vendor: kernel.orgAdvisory: git.kernel.org
Status: Confirmed
CVE: CVE-2025-39998 (🔒)
GCVE (CVE): GCVE-0-2025-39998
GCVE (VulDB): GCVE-100-328647
EUVD: 🔒
CERT Bund: WID-SEC-2025-2298 - Linux Kernel: Mehrere Schwachstellen
Entry
Created: 10/15/2025 12:09Updated: 02/08/2026 20:38
Changes: 10/15/2025 12:09 (60), 10/19/2025 19:00 (1), 10/27/2025 10:21 (2), 11/03/2025 19:33 (7), 11/22/2025 18:08 (1), 12/21/2025 09:10 (1), 02/08/2026 20:38 (1)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.