一、 漏洞 CVE-2024-46688 基础信息
漏洞标题
erofs:修复当z_erofs_gbuf_growsize()部分失败时越界的访问问题
来源:AIGC 神龙大模型
漏洞描述信息
在Linux内核中,已解决以下漏洞: erofs:修复当z_erofs_gbuf_growsize()部分失败时的越界访问 如果由于内存分配失败或注入故障(如syzbot报告的那样 [1])导致全局缓冲区上z_erofs_gbuf_growsize()部分失败,那么需要通过比较现有页面来释放新页面,以防止内存泄露。 然而,旧的gbuf->pages[]数组可能不够大,这可能导致null-ptr-deref或越界访问。 通过提前检查gbuf->nrpages来修复此问题。 [1] https://lore.kernel.org/r/000000000000f7b96e062018c6e3@google.com
来源:AIGC 神龙大模型
CVSS信息
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
来源:AIGC 神龙大模型
漏洞类别
跨界内存读
来源:AIGC 神龙大模型
漏洞标题
erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails
来源:美国国家漏洞数据库 NVD
漏洞描述信息
In the Linux kernel, the following vulnerability has been resolved: erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails If z_erofs_gbuf_growsize() partially fails on a global buffer due to memory allocation failure or fault injection (as reported by syzbot [1]), new pages need to be freed by comparing to the existing pages to avoid memory leaks. However, the old gbuf->pages[] array may not be large enough, which can lead to null-ptr-deref or out-of-bound access. Fix this by checking against gbuf->nrpages in advance. [1] https://lore.kernel.org/r/000000000000f7b96e062018c6e3@google.com
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
N/A
来源:美国国家漏洞数据库 NVD
漏洞标题
Linux kernel 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于在z_erofs_gbuf_growsize函数部分失败时未能正确释放新页面,可能导致内存泄漏或越界访问。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2024-46688 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2024-46688 的情报信息
  • 标题: erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • 标题: erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails - kernel/git/stable/linux.git - Linux kernel stable tree -- 🔗来源链接

    标签:

    神龙速读
  • https://nvd.nist.gov/vuln/detail/CVE-2024-46688