Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-39998— scsi: target: target_core_configfs: Add length check to avoid buffer overflow

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于target_lu_gp_members_show函数中未检查snprintf返回值,可能导致缓冲区溢出。

CVSS 7.1 · High EPSS 0.17% · P6

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 20

VendorProduct Version RangeStatus
Linux Linux c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5< e6eeee5dc0d9221ff96d1b229b1d0222c8871b84 affected
c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5< 764a91e2fc9639e07aac93bc70e387e6b1e33084 affected
c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5< ddc79fba132b807ff775467acceaf48b456e008b affected
c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5< e73fe0eefac3e15bf88fb5b4afae4c76215ee4d4 affected
c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5< f03aa5e39da7d045615b3951d2a6ca1d7132f881 affected
c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5< 53c6351597e6a17ec6619f6f060d54128cb9a187 affected
c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5< 4b292286949588bd2818e66ff102db278de8dd26 affected
c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5< a150275831b765b0f1de8b8ff52ec5c6933ac15d affected
… +12 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-39998

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
scsi: target: target_core_configfs: Add length check to avoid buffer overflow
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于target_lu_gp_members_show函数中未检查snprintf返回值,可能导致缓冲区溢出。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux c66ac9db8d4ad9994a02b3e933ea2ccc643e1fe5 ~ e6eeee5dc0d9221ff96d1b229b1d0222c8871b84 -
Linux Linux 2.6.38 -

II. Public POCs for CVE-2025-39998

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-39998

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-39998 (2)

Same Patch Batch · Linux · 2025-10-15 · 34 CVEs total

CVE-2025-39975 9.8 CRITICAL smb: client: fix wrong index reference in smb2_compound_op()
CVE-2025-40000 8.8 HIGH wifi: rtw89: fix use-after-free in rtw89_core_tx_kick_off_and_wait()
CVE-2025-39969 8.8 HIGH i40e: fix validation of VF state in get resources
CVE-2025-39971 8.8 HIGH i40e: fix idx validation in config queues msg
CVE-2025-39970 8.8 HIGH i40e: fix input validation logic for action_meta
CVE-2025-39972 8.8 HIGH i40e: fix idx validation in i40e_validate_queue_map
CVE-2025-39973 8.8 HIGH i40e: add validation for ring_len param
CVE-2025-39983 8.8 HIGH Bluetooth: hci_event: Fix UAF in hci_conn_tx_dequeue
CVE-2025-39982 8.8 HIGH Bluetooth: hci_event: Fix UAF in hci_acl_create_conn_sync
CVE-2025-39966 7.8 HIGH iommufd: Fix race during abort for file descriptors
CVE-2025-39967 7.8 HIGH fbcon: fix integer overflow in fbcon_do_set_font
CVE-2025-39976 7.8 HIGH futex: Use correct exit on failure from futex_hash_allocate_default()
CVE-2025-39977 7.8 HIGH futex: Prevent use-after-free during requeue-PI
CVE-2025-39978 7.8 HIGH octeontx2-pf: Fix potential use after free in otx2_tc_add_flow()
CVE-2025-39979 7.8 HIGH net/mlx5: fs, fix UAF in flow counter release
CVE-2025-39981 7.8 HIGH Bluetooth: MGMT: Fix possible UAFs
CVE-2025-39985 7.8 HIGH can: mcba_usb: populate ndo_change_mtu() to prevent buffer overflow
CVE-2025-39986 7.8 HIGH can: sun4i_can: populate ndo_change_mtu() to prevent buffer overflow
CVE-2025-39987 7.8 HIGH can: hi311x: populate ndo_change_mtu() to prevent buffer overflow
CVE-2025-39988 7.8 HIGH can: etas_es58x: populate ndo_change_mtu() to prevent buffer overflow

Showing top 20 of 34 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2025-39998

No comments yet


Leave a comment