Security mailing lists by PureSourceCode

CVE-2024-26988

HIGH 7.8CVSS 3.1

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

Published
1 May 2024
Last modified
15 Oct 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Modified
Weakness
CWE-787
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.1, < 5.10.216 5.10.216
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.11, < 5.15.157 5.15.157
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 5.16, < 6.1.88 6.1.88
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.2, < 6.6.29 6.6.29
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
>= 6.7, < 6.8.8 6.8.8
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*
= 6.9
NVD linux linux_kernel
cpe:2.3:o:linux:linux_kernel:6.9:rc4:*:*:*:*:*:*
= 6.9
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
= 39
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*
= 40

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 1 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.