CVE-2019-25160

In the Linux kernel, the following vulnerability has been resolved: netlabel: fix out-of-bounds memory accesses There are two array out-of-bounds memory accesses, one in cipso_v4_map_lvl_valid(), the other in netlbl_bitmap_walk(). Both errors are embarassingly simple, and the fixes are straightforward. As a FYI for anyone backporting this patch to kernels prior to v4.8, you'll want to apply the netlbl_bitmap_walk() patch to cipso_v4_bitmap_walk() as netlbl_bitmap_walk() doesn't exist before Linux v4.8.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

17 Apr 2024, 17:43

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.1
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CWE CWE-125
First Time Linux linux Kernel
Linux
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netlabel: corrige accesos a memoria fuera de los límites Hay dos accesos a memoria fuera de los límites de matriz, uno en cipso_v4_map_lvl_valid() y el otro en netlbl_bitmap_walk(). Ambos errores son vergonzosamente simples y las soluciones son sencillas. Para su información, cualquiera que esté implementando este parche en kernels anteriores a v4.8, querrá aplicar el parche netlbl_bitmap_walk() a cipso_v4_bitmap_walk() ya que netlbl_bitmap_walk() no existe antes de Linux v4.8.
References () https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000 - () https://git.kernel.org/stable/c/1c973f9c7cc2b3caae93192fdc8ecb3f0b4ac000 - Patch
References () https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f - () https://git.kernel.org/stable/c/5578de4834fe0f2a34fedc7374be691443396d1f - Patch
References () https://git.kernel.org/stable/c/97bc3683c24999ee621d847c9348c75d2fe86272 - () https://git.kernel.org/stable/c/97bc3683c24999ee621d847c9348c75d2fe86272 - Patch
References () https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950 - () https://git.kernel.org/stable/c/c61d01faa5550e06794dcf86125ccd325bfad950 - Patch
References () https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e - () https://git.kernel.org/stable/c/dc18101f95fa6e815f426316b8b9a5cee28a334e - Patch
References () https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb - () https://git.kernel.org/stable/c/e3713abc4248aa6bcc11173d754c418b02a62cbb - Patch
References () https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78 - () https://git.kernel.org/stable/c/fbf9578919d6c91100ec63acf2cba641383f6c78 - Patch
References () https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c - () https://git.kernel.org/stable/c/fcfe700acdc1c72eab231300e82b962bac2b2b2c - Patch

26 Feb 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-02-26 18:15

Updated : 2024-04-17 17:43


NVD link : CVE-2019-25160

Mitre link : CVE-2019-25160

CVE.ORG link : CVE-2019-25160


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-125

Out-of-bounds Read