CVE-2025-40124 (CNNVD-202511-1482)
中文标题:
Linux kernel 安全漏洞
英文标题:
sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC III
漏洞描述
中文描述:
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于异常处理计算错误,可能导致内存访问错误。
英文描述:
In the Linux kernel, the following vulnerability has been resolved: sparc: fix accurate exception reporting in copy_{from_to}_user for UltraSPARC III Anthony Yznaga tracked down that a BUG_ON in ext4 code with large folios enabled resulted from copy_from_user() returning impossibly large values greater than the size to be copied. This lead to __copy_from_iter() returning impossible values instead of the actual number of bytes it was able to copy. The BUG_ON has been reported in https://lore.kernel.org/r/b14f55642207e63e907965e209f6323a0df6dcee.camel@physik.fu-berlin.de The referenced commit introduced exception handlers on user-space memory references in copy_from_user and copy_to_user. These handlers return from the respective function and calculate the remaining bytes left to copy using the current register contents. The exception handlers expect that %o2 has already been masked during the bulk copy loop, but the masking was performed after that loop. This will fix the return value of copy_from_user and copy_to_user in the faulting case. The behaviour of memcpy stays unchanged.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| Linux | Linux | 1c7e17b1c4d60cc5aa575460f7efb73686dd3b39 | - | - |
cpe:2.3:a:linux:linux:1c7e17b1c4d60cc5aa575460f7efb73686dd3b39:*:*:*:*:*:*:*
|
| Linux | Linux | ac663c54f40b2830b1ca32d1ae9d683fe248b14c | - | - |
cpe:2.3:a:linux:linux:ac663c54f40b2830b1ca32d1ae9d683fe248b14c:*:*:*:*:*:*:*
|
| Linux | Linux | 4.9 | - | - |
cpe:2.3:a:linux:linux:4.9:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-40124 |
2025-12-03 03:24:31 | 2026-01-12 02:11:43 |
| NVD | nvd_CVE-2025-40124 |
2025-11-14 03:00:08 | 2026-01-12 02:27:46 |
| CNNVD | cnnvd_CNNVD-202511-1482 |
2026-01-15 01:52:30 | 2026-01-15 01:52:58 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- severity: SeverityLevel.MEDIUM -> SeverityLevel.UNKNOWN
- cvss_score: 未提取 -> 0.0
- cnnvd_id: 未提取 -> CNNVD-202511-1482
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']