395 Star 1.4K Fork 1.3K

GVPopenEuler / kernel

 / 详情

CVE-2021-4155

已完成
任务
创建于  
2022-01-18 19:08

CVSS v3 Score评分:5.5
https://access.redhat.com/security/cve/cve-2021-4155

漏洞描述
在XFS文件系统中的XFS_IOC_ALLOCSP IOCTL允许大小未对齐的文件增加的方式中发现了一个数据泄漏缺陷。本地攻击者可以利用这个漏洞来泄漏XFS文件系统上的数据。

打开CONFIG_XFS_FS

先执行truncate一个不对齐的size,然后调用xfs对应的ioctrl接口将文件size扩大到对齐4k;查看文件内容,会发现文件内容[2000,4096]范围内的数据不是全0;
#truncate -s 2000 new
# xfs_io new
xfs_io> allocsp 4096 0
xfs_io> q
# hexdump new

主线补丁:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=983d8e60f50806f90534cc5373d0ce867e5aaf79

评论 (2)

gxngit 创建了任务

Hi gxngit, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers: @YangYingliang , @pi3orama , @成坚 (CHENG Jian) , @Xie XiuQi

openeuler-ci-bot 添加了
 
sig/Kernel
标签
gxngit 修改了描述
gxngit 修改了描述
zhengzengkai 通过src-openeuler/kernel Pull Request !500任务状态待办的 修改为已完成

诚邀Issue的创建人,负责人,协作人以及评论人对此次Issue解决过程给予评价:

   0   1   2   3   4   5   6   7   8   9   10  

 不满意                        非常满意

openeuler-ci-bot 计划开始日期设置为2022-01-18
openeuler-ci-bot 计划截止日期设置为2022-02-17
openeuler-ci-bot 优先级设置为次要

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936 9968373 openeuler survey bot 1637036855
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助