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
7.8 HIGH (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
from f5c7310ac73ea270e3a1acdb73d1b4817f11fd67 before 2ef607ea103616aec0289f1b65d103d499fa903a; from f5c7310ac73ea270e3a1acdb73d1b4817f11fd67 before 0dc727a4e05400205358a22c3d01ccad2c8e1fe4; from f5c7310ac73ea270e3a1acdb73d1b4817f11fd67 before 76c2f4d426a5358fced5d5990744d46f10a4ccea; from f5c7310ac73ea270e3a1acdb73d1b4817f11fd67 before 81cf85ae4f2dd5fa3e43021782aa72c4c85558e8; from f5c7310ac73ea270e3a1acdb73d1b4817f11fd67 before 936a02b5a9630c5beb0353c3085cc49d86c57034; from f5c7310ac73ea270e3a1acdb73d1b4817f11fd67 before 46dad3c1e57897ab9228332f03e1c14798d2d3b9
from 5.1 before 5.10.216; from 5.11 before 5.15.157; from 5.16 before 6.1.88; from 6.2 before 6.6.29; from 6.7 before 6.8.8; 6.9; 6.9; 6.9; and 1 more ranges
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.
Printed from infosecsignals.com. Every record links back to the agency that published it.
Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.