Aller au contenu
Non notée

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

Produits et versions touchés

Produit Versions touchées Corrigé en
Linux 6.9 premières → < 6.9 6.9
Linux 6.8 premières → < 6.8.8 6.8.8
Linux 6.6 premières → < 6.6.29 6.6.29
Linux 6.1 premières → < 6.1.88 6.1.88
Linux 5.15 premières → < 5.15.157 5.15.157
Linux 5.10 premières → < 5.10.216 5.10.216
Linux 5.1 Pas de correctif indiqué
RUGGEDCOM RST2428P 3.1 premières → < 3.1 3.1
SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Versions non publiées
Afficher les 2 autres branches
Produit Versions touchées Corrigé en
SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.1 premières → < 3.1 3.1
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 premières → < 1.1.1 1.1.1

Références

Chronologie

  1. Publiée
  2. Dernière modification
Les 18283 CVE de Linux →
Suivre cette CVE