CVE
CVE-2024-26988
CNA 原文 · 原文(英文)
In the Linux kernel, the following vulnerability has been resolved: init/main.c: Fix potential static_command_line memory overflow We allocate memory of size 'xlen + strlen(boot_command_line) + 1' for static_command_line, but the strings copied into static_command_line are extra_command_line and command_line, rather than extra_command_line and boot_command_line. When strlen(command_line) > strlen(boot_command_line), static_command_line will overflow. This patch just recovers strlen(command_line) which was miss-consolidated with strlen(boot_command_line) in the commit f5c7310ac73e ("init/main: add checks for the return value of memblock_alloc*()")
受影响版本
- 6.9-rc4仅此版本
- 6.9-rc3仅此版本
- 6.9-rc2仅此版本
- 6.9-rc1仅此版本
- ≥ 6.7, < 6.8.8修复版本 6.8.8
- ≥ 6.2, < 6.6.29修复版本 6.6.29
- ≥ 5.16, < 6.1.88修复版本 6.1.88
- ≥ 5.11, < 5.15.157修复版本 5.15.157
- ≥ 5.1, < 5.10.216修复版本 5.10.216
发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。
公告与补丁
- git.kernel.org/stable/c/0dc727a4e05400205358a22c3d01ccad2c8e1fe4 · Patch
- git.kernel.org/stable/c/2ef607ea103616aec0289f1b65d103d499fa903a · Patch
- git.kernel.org/stable/c/46dad3c1e57897ab9228332f03e1c14798d2d3b9 · Patch
- git.kernel.org/stable/c/76c2f4d426a5358fced5d5990744d46f10a4ccea · Patch
- git.kernel.org/stable/c/81cf85ae4f2dd5fa3e43021782aa72c4c85558e8 · Patch
- git.kernel.org/stable/c/936a02b5a9630c5beb0353c3085cc49d86c57034 · Patch
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html · Third Party Advisory
数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。