PT-2025-42272 · Linux+3 · Linux Kernel+3

Published

2025-09-29

·

Updated

2026-05-26

·

CVE-2025-39998

CVSS v2.0

6.0

Medium

VectorAV:L/AC:H/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A buffer overflow issue exists in the Linux kernel’s SCSI target core configuration file system. The issue stems from the use of snprintf to write into a buffer named buf within the target lu gp members show function, located in /drivers/target/target core configfs.c. The snprintf function formats multiple strings, including the HBA name (hba->hba group.cg item), a slash character, a device name (dev->dev group.cg item), and a newline character, into the buffer. The combined length of these formatted strings can exceed the buffer’s allocated size of 256 bytes. The return value of snprintf is not checked, potentially leading to a buffer overflow when used with memcpy.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Unchecked Return Value

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-68504
BDU:2026-01278
CVE-2025-39998
DLA-4379-1
DLA-4404-1
DSA-6053-1
ECHO-07E1-A9CC-C76A
MGASA-2025-0309
MGASA-2025-0310
OESA-2025-2533
OESA-2025-2551
OESA-2025-2552
OESA-2025-2554
OESA-2025-2555
OESA-2025-2556
OPENSUSE-SU-2025:15671-1
OPENSUSE-SU-2026:10301-1
OPENSUSE-SU-2026:20572-1
SUSE-SU-2026:1078-1
SUSE-SU-2026:1573-1
SUSE-SU-2026:1643-1
SUSE-SU-2026:1661-1
SUSE-SU-2026:21114-1
SUSE-SU-2026:21123-1
SUSE-SU-2026:21237-1
SUSE-SU-2026:21255-1
SUSE-SU-2026:21352-1
SUSE-SU-2026:21361-1
USN-8033-1
USN-8033-2
USN-8033-3
USN-8033-4
USN-8033-5
USN-8033-6
USN-8033-7
USN-8033-8
USN-8034-1
USN-8034-2
USN-8095-1
USN-8095-2
USN-8095-3
USN-8095-4
USN-8095-5
USN-8100-1
USN-8125-1
USN-8126-1
USN-8141-1
USN-8163-1
USN-8163-2
USN-8165-1
USN-8243-1
USN-8261-1

Affected Products

Debian
Linuxmint
Linux Kernel
Ubuntu