Not rated
CVE-2024-26988 In the Linux kernel, the following vulnerability has been resolved: init/main.c: Fix potential static_command_line…
Description
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*()")
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 6.9 | earliest → < 6.9 | 6.9 |
| Linux 6.8 | earliest → < 6.8.8 | 6.8.8 |
| Linux 6.6 | earliest → < 6.6.29 | 6.6.29 |
| Linux 6.1 | earliest → < 6.1.88 | 6.1.88 |
| Linux 5.15 | earliest → < 5.15.157 | 5.15.157 |
| Linux 5.10 | earliest → < 5.10.216 | 5.10.216 |
| Linux | 5.1 | No fix stated |
| RUGGEDCOM RST2428P 3.1 | earliest → < 3.1 | 3.1 |
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Versions not published |
Show the 2 other branches Hide the 2 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.1 | earliest → < 3.1 | 3.1 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 | earliest → < 1.1.1 | 1.1.1 |
Other CVEs of Linux
The 18300 CVEs of Linux →
CVE-2026-99284
net: skbuff: propagate shared-frag marker in skb_zerocopy()
Not rated
CVE-2026-99283
netfilter: conntrack: tcp: use UNACK timeout for non-closing RST packets
Not rated
CVE-2026-99282
net/sched: sch_teql: fix use-after-free on lower qdisc drop
Not rated
CVE-2026-99281
tun: Require CAP_NET_ADMIN to attach to an ownerless device
Not rated