CVE-2025-39683 (CNNVD-202509-768)

UNKNOWN
中文标题:
Linux kernel 安全漏洞
英文标题:
tracing: Limit access to parser->buffer when trace_get_user failed
CVSS分数: N/A
发布时间: 2025-09-05 17:20:49
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v4
漏洞描述
中文描述:

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于tracing模块在trace_get_user失败时未限制对parser->buffer的访问。

英文描述:

In the Linux kernel, the following vulnerability has been resolved: tracing: Limit access to parser->buffer when trace_get_user failed When the length of the string written to set_ftrace_filter exceeds FTRACE_BUFF_MAX, the following KASAN alarm will be triggered: BUG: KASAN: slab-out-of-bounds in strsep+0x18c/0x1b0 Read of size 1 at addr ffff0000d00bd5ba by task ash/165 CPU: 1 UID: 0 PID: 165 Comm: ash Not tainted 6.16.0-g6bcdbd62bd56-dirty Hardware name: linux,dummy-virt (DT) Call trace: show_stack+0x34/0x50 (C) dump_stack_lvl+0xa0/0x158 print_address_description.constprop.0+0x88/0x398 print_report+0xb0/0x280 kasan_report+0xa4/0xf0 __asan_report_load1_noabort+0x20/0x30 strsep+0x18c/0x1b0 ftrace_process_regex.isra.0+0x100/0x2d8 ftrace_regex_release+0x484/0x618 __fput+0x364/0xa58 ____fput+0x28/0x40 task_work_run+0x154/0x278 do_notify_resume+0x1f0/0x220 el0_svc+0xec/0xf0 el0t_64_sync_handler+0xa0/0xe8 el0t_64_sync+0x1ac/0x1b0 The reason is that trace_get_user will fail when processing a string longer than FTRACE_BUFF_MAX, but not set the end of parser->buffer to 0. Then an OOB access will be triggered in ftrace_regex_release-> ftrace_process_regex->strsep->strpbrk. We can solve this problem by limiting access to parser->buffer when trace_get_user failed.

CWE类型:
CWE-125
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
Linux Linux 24cd31752f47699b89b4b3471155c8e599a1a23a - - cpe:2.3:a:linux:linux:24cd31752f47699b89b4b3471155c8e599a1a23a:*:*:*:*:*:*:*
Linux Linux e9cb474de7ff7a970c2a3951c12ec7e3113c0c35 - - cpe:2.3:a:linux:linux:e9cb474de7ff7a970c2a3951c12ec7e3113c0c35:*:*:*:*:*:*:*
Linux Linux 6ab671191f64b0da7d547e2ad4dc199ca7e5b558 - - cpe:2.3:a:linux:linux:6ab671191f64b0da7d547e2ad4dc199ca7e5b558:*:*:*:*:*:*:*
Linux Linux 3d9281a4ac7171c808f9507f0937eb236b353905 - - cpe:2.3:a:linux:linux:3d9281a4ac7171c808f9507f0937eb236b353905:*:*:*:*:*:*:*
Linux Linux 0b641b25870f02e2423e494365fc5243cc1e2759 - - cpe:2.3:a:linux:linux:0b641b25870f02e2423e494365fc5243cc1e2759:*:*:*:*:*:*:*
Linux Linux ffd51dbfd2900e50c71b5c069fe407957e52d61f - - cpe:2.3:a:linux:linux:ffd51dbfd2900e50c71b5c069fe407957e52d61f:*:*:*:*:*:*:*
Linux Linux cdd107d7f18158d966c2bc136204fe826dac445c - - cpe:2.3:a:linux:linux:cdd107d7f18158d966c2bc136204fe826dac445c:*:*:*:*:*:*:*
Linux Linux 5.13 - - cpe:2.3:a:linux:linux:5.13:*:*:*:*:*:*:*
linux linux_kernel * - - cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
linux linux_kernel 6.17 - - cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
debian debian_linux 11.0 - - cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
无标题 OTHER
cve.org
访问
af854a3a-2127-422b-91ae-364da2661108 OTHER
nvd.nist.gov
访问
af854a3a-2127-422b-91ae-364da2661108 OTHER
nvd.nist.gov
访问
CVSS评分详情
暂无CVSS评分信息
时间信息
发布时间:
2025-09-05 17:20:49
修改时间:
2025-11-03 17:42:15
创建时间:
2025-11-11 15:40:29
更新时间:
2026-01-12 02:27:45
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-39683 2025-11-11 15:23:19 2025-11-11 07:40:29
NVD nvd_CVE-2025-39683 2025-11-11 15:01:01 2025-11-11 07:48:18
CNNVD cnnvd_CNNVD-202509-768 2025-11-11 15:12:56 2025-11-11 08:00:15
版本与语言
当前版本: v4
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v4 NVD
2026-01-12 02:27:45
affected_products_count: 8 → 11
查看详细变更
  • affected_products_count: 8 -> 11
v3 CNNVD
2025-11-11 16:00:15
vulnerability_type: 未提取 → 其他; severity: SeverityLevel.MEDIUM → SeverityLevel.UNKNOWN; cvss_score: 未提取 → 0.0; cnnvd_id: 未提取 → CNNVD-202509-768; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • severity: SeverityLevel.MEDIUM -> SeverityLevel.UNKNOWN
  • cvss_score: 未提取 -> 0.0
  • cnnvd_id: 未提取 -> CNNVD-202509-768
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:18
references_count: 7 → 9; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • references_count: 7 -> 9
  • data_sources: ['cve'] -> ['cve', 'nvd']