发布时间: 2024年8月9日
修改时间: 2025年1月24日
In the Linux kernel, the following vulnerability has been resolved: ftruncate: pass a signed offset The old ftruncate() syscall, using the 32-bit off_t misses a sign extension when called in compat mode on 64-bit architectures. As a result, passing a negative length accidentally succeeds in truncating to file size between 2GiB and 4GiB. Changing the type of the compat syscall to the signed compat_off_t changes the behavior so it instead returns -EINVAL. The native entry point, the truncate() syscall and the corresponding loff_t based variants are all correct already and do not suffer from this mistake.
NVD | openEuler | |
---|---|---|
Confidentiality | Low | |
Attack Vector | Adjacent | |
CVSS评分 | N/A | 5.5 |
Attack Complexity | Low | |
Privileges Required | Low | |
Scope | Unchanged | |
Integrity | Low | |
User Interaction | None | |
Availability | Low |
公告名 | 概要 | 发布时间 |
---|---|---|
KylinSec-SA-2024-4836 | kernel security update | 2025年2月17日 |
KylinSec-SA-2024-4973 | kernel security update | 2025年2月28日 |
产品 | 包 | 状态 |
---|---|---|
KY3.4-5 | kernel | Fixed |
KY3.5.2 | kernel | Fixed |
KY3.5.3 | kernel | Fixed |
V6 | kernel | Fixed |