CVE-2025-39887
Gravedad CVSS v3.1:
MEDIA
Tipo:
CWE-476
Desreferencia a puntero nulo (NULL)
Fecha de publicación:
23/09/2025
Última modificación:
11/12/2025
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
tracing/osnoise: Fix null-ptr-deref in bitmap_parselist()<br />
<br />
A crash was observed with the following output:<br />
<br />
BUG: kernel NULL pointer dereference, address: 0000000000000010<br />
Oops: Oops: 0000 [#1] SMP NOPTI<br />
CPU: 2 UID: 0 PID: 92 Comm: osnoise_cpus Not tainted 6.17.0-rc4-00201-gd69eb204c255 #138 PREEMPT(voluntary)<br />
RIP: 0010:bitmap_parselist+0x53/0x3e0<br />
Call Trace:<br />
<br />
osnoise_cpus_write+0x7a/0x190<br />
vfs_write+0xf8/0x410<br />
? do_sys_openat2+0x88/0xd0<br />
ksys_write+0x60/0xd0<br />
do_syscall_64+0xa4/0x260<br />
entry_SYSCALL_64_after_hwframe+0x77/0x7f<br />
<br />
<br />
This issue can be reproduced by below code:<br />
<br />
fd=open("/sys/kernel/debug/tracing/osnoise/cpus", O_WRONLY);<br />
write(fd, "0-2", 0);<br />
<br />
When user pass &#39;count=0&#39; to osnoise_cpus_write(), kmalloc() will return<br />
ZERO_SIZE_PTR (16) and cpulist_parse() treat it as a normal value, which<br />
trigger the null pointer dereference. Add check for the parameter &#39;count&#39;.
Impacto
Puntuación base 3.x
5.50
Gravedad 3.x
MEDIA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.16 (incluyendo) | 6.16.8 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página



