CVE-2024-42292
JSON

7.1high

kobject_uevent: Fix OOB access within zap_modalias_env()

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: kobject_uevent: Fix OOB access within zap_modalias_env() zap_modalias_env() wrongly calculates size of memory block to move, so will cause OOB memory access issue if variable MODALIAS is not the last one within its @env parameter, fixed by correcting size to memmove.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 9b3fa47d4a76b1d606a396455f9bbeee083ef008 before 81a15d28f32af01493ae8c5457e0d55314a4167d, from 9b3fa47d4a76b1d606a396455f9bbeee083ef008 before b59a5e86a3934f1b6a5bd1368902dbc79bdecc90, from 9b3fa47d4a76b1d606a396455f9bbeee083ef008 before 648d5490460d38436640da0812bf7f6351c150d2, from 9b3fa47d4a76b1d606a396455f9bbeee083ef008 before c5ee8adc8d98a49703320d13878ba2b923b142f5, from 9b3fa47d4a76b1d606a396455f9bbeee083ef008 before 68d63ace80b76395e7935687ecdb86421adc2168, from 9b3fa47d4a76b1d606a396455f9bbeee083ef008 before 57fe01d3d04276875c7e3a6dc763517fc05b8762, from 9b3fa47d4a76b1d606a396455f9bbeee083ef008 before d4663536754defff75ff1eca0aaebc41da165a8d, from 9b3fa47d4a76b1d606a396455f9bbeee083ef008 before dd6e9894b451e7c85cceb8e9dc5432679a70e7dc and 1 more
Not affected: before 4.15, from 4.19.320 up to 4.19.*, from 5.4.282 up to 5.4.*, from 5.10.224 up to 5.10.*, from 5.15.165 up to 5.15.*, from 6.1.103 up to 6.1.*
CVE List
linux linux_kernelfrom 4.15.1 before 4.19.320, from 4.20 before 5.4.282, from 5.5 before 5.10.224, from 5.11 before 5.15.165, from 5.16 before 6.1.103, from 6.2 before 6.6.44, from 6.7 before 6.10.3, 4.15NVD

Classification

CWE-125

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: kobject_uevent: Fix OOB access within zap_modalias_env() zap_modalias_env() wrongly calculates size of memory block to move, so will cause OOB memory access issue if variable MODALIAS is not the last one within its @env parameter, fixed by correcting size to memmove.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: kobject_uevent: corrige el acceso OOB dentro de zap_modalias_env() zap_modalias_env() calcula incorrectamente el tamaño del bloque de memoria a mover, por lo que causará un problema de acceso a la memoria OOB si la variable MODALIAS no es la última dentro de su Parámetro @env, corregido corrigiendo el tamaño a memmove.

References

https://git.kernel.org/stable/c/81a15d28f32af01493ae8c5457e0d55314a4167dpatch
https://git.kernel.org/stable/c/b59a5e86a3934f1b6a5bd1368902dbc79bdecc90patch
https://git.kernel.org/stable/c/648d5490460d38436640da0812bf7f6351c150d2patch
https://git.kernel.org/stable/c/c5ee8adc8d98a49703320d13878ba2b923b142f5patch
https://git.kernel.org/stable/c/68d63ace80b76395e7935687ecdb86421adc2168patch
https://git.kernel.org/stable/c/57fe01d3d04276875c7e3a6dc763517fc05b8762patch
https://git.kernel.org/stable/c/d4663536754defff75ff1eca0aaebc41da165a8dpatch
https://git.kernel.org/stable/c/dd6e9894b451e7c85cceb8e9dc5432679a70e7dcpatch
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html
https://cert-portal.siemens.com/productcert/html/ssa-265688.html

Sources

SourceRecordLicence
CVE ListCVE-2024-42292 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-42292 changed 2026-10-15Public domain