7.8

CVE-2024-26988: init/main.c: Fix potential static_command_line memory overflow

Modified
AliasesUBUNTU-CVE-2024-26988DEBIAN-CVE-2024-26988
Published 01-05-2024Last modified 15-10-2026

Vulnerability summary

CVE-2024-26988 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in debian debian_linux. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 22% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
0.28%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 28 · Related 22

Timeline

  1. 01-05-2024
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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*()")

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.28%

Chance of exploitation in the next 30 days

Percentile

22%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.28% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu119 products
  • linuxAll versions (No fix recorded) | < 5.15.0-116.126 | < 6.8.0-38.38
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1065.71 | < 6.8.0-1011.12
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian2 products
Linux2 products
  • linux≥ f5c7310ac73ea270e3a1acdb73d1b4817f11fd67, < 2ef607ea103616aec0289f1b65d103d499fa903a | ≥ f5c7310ac73ea270e3a1acdb73d1b4817f11fd67, < 0dc727a4e05400205358a22c3d01ccad2c8e1fe4 | ≥ f5c7310ac73ea270e3a1acdb73d1b4817f11fd67, < 76c2f4d426a5358fced5d5990744d46f10a4ccea | ≥ f5c7310ac73ea270e3a1acdb73d1b4817f11fd67, < 81cf85ae4f2dd5fa3e43021782aa72c4c85558e8 | ≥ f5c7310ac73ea270e3a1acdb73d1b4817f11fd67, < 936a02b5a9630c5beb0353c3085cc49d86c57034 | ≥ f5c7310ac73ea270e3a1acdb73d1b4817f11fd67, < 46dad3c1e57897ab9228332f03e1c14798d2d3b9 | 5.1
  • linux_kernel≥ 5.1, < 5.10.216 | ≥ 5.11, < 5.15.157 | ≥ 5.16, < 6.1.88 | ≥ 6.2, < 6.6.29 | ≥ 6.7, < 6.8.8 | 6.9:rc1 | 6.9:rc2 | 6.9:rc3 | 6.9:rc4
Fedoraproject1 product

4 vendors · 124 products

References

29 links
Show all 29 references