tomoyo:修复 tomoyo_write_control() 中的 UAF 写入错误 (CVE-2024-26622)

CVE编号

CVE-2024-26622

利用情况

暂无

补丁情况

N/A

披露时间

2024-03-04
漏洞描述
In the Linux kernel, the following vulnerability has been resolved:

tomoyo: fix UAF write bug in tomoyo_write_control()

Since tomoyo_write_control() updates head->write_buf when write()
of long lines is requested, we need to fetch head->write_buf after
head->io_sem is held. Otherwise, concurrent write() requests can
cause use-after-free-write and double-free problems.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 fedora_38 kernel * Up to
(excluding)
6.7.9-100.fc38
运行在以下环境
系统 fedora_39 kernel * Up to
(excluding)
6.7.9-200.fc39
CVSS3评分
N/A
  • 攻击路径
    N/A
  • 攻击复杂度
    N/A
  • 权限要求
    N/A
  • 影响范围
    N/A
  • 用户交互
    N/A
  • 可用性
    N/A
  • 保密性
    N/A
  • 完整性
    N/A
CWE-ID 漏洞类型
阿里云安全产品覆盖情况