CVE-2025-71115
JSON

5.5medium

um: init cpu_tasks[] earlier

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: um: init cpu_tasks[] earlier This is currently done in uml_finishsetup(), but e.g. with KCOV enabled we'll crash because some init code can call into e.g. memparse(), which has coverage annotations, and then the checks in check_kcov_mode() crash because current is NULL. Simply initialize the cpu_tasks[] array statically, which fixes the crash. For the later SMP work, it seems to have not really caused any problems yet, but initialize all of the entries anyway.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 2f681ba4b352cdd5658ed2a96062375a12839755 before dbbf6d47130674640cd12a0781a0fb2a575d0e44, from 2f681ba4b352cdd5658ed2a96062375a12839755 before 7b5d4416964c07c902163822a30a622111172b01, 6.13
Not affected: before 6.13, from 6.18.3 up to 6.18.*, from 6.19 up to *
CVE List
linux linux_kernelfrom 6.13.1 before 6.18.3, 6.13, 6.19NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: um: init cpu_tasks[] earlier This is currently done in uml_finishsetup(), but e.g. with KCOV enabled we'll crash because some init code can call into e.g. memparse(), which has coverage annotations, and then the checks in check_kcov_mode() crash because current is NULL. Simply initialize the cpu_tasks[] array statically, which fixes the crash. For the later SMP work, it seems to have not really caused any problems yet, but initialize all of the entries anyway.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: um: inicializar cpu_tasks[] antes Esto se hace actualmente en uml_finishsetup(), pero, por ejemplo, con KCOV habilitado nos bloquearemos porque algún código de inicialización puede llamar, por ejemplo, a memparse(), que tiene anotaciones de cobertura, y luego las comprobaciones en check_kcov_mode() fallan porque current es NULL. Simplemente inicializar el array cpu_tasks[] estáticamente, lo que soluciona el fallo. Para el trabajo SMP posterior, parece no haber causado realmente ningún problema todavía, pero inicializar todas las entradas de todos modos.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71115 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-71115 changed 2026-06-17Public domain