CVE-2024-50131
JSON

7.3high

tracing: Consider the NULL character when validating the event length

Severity
7.3high CVSS:3.1 by Linux
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: tracing: Consider the NULL character when validating the event length strlen() returns a string length excluding the null byte. If the string length equals to the maximum buffer length, the buffer will have no space for the NULL terminating character. This commit checks this condition and returns failure for it.

Affected

Product or packageVersionsReported by
Linux Linuxfrom dec65d79fd269d05427c8167090bfc9c3d0b56c4 before 5e3231b352725ff4a3a0095e6035af674f2d8725, from dec65d79fd269d05427c8167090bfc9c3d0b56c4 before 02874ca52df2ca2423ba6122039315ed61c25972, from dec65d79fd269d05427c8167090bfc9c3d0b56c4 before b86b0d6eea204116e4185acc35041ca4ff11a642, from dec65d79fd269d05427c8167090bfc9c3d0b56c4 before f4ed40d1c669bba1a54407d8182acdc405683f29, from dec65d79fd269d05427c8167090bfc9c3d0b56c4 before a14a075a14af8d622c576145455702591bdde09d, from dec65d79fd269d05427c8167090bfc9c3d0b56c4 before 5fd942598ddeed9a212d1ff41f9f5b47bcc990a7, from dec65d79fd269d05427c8167090bfc9c3d0b56c4 before 0b6e2e22cb23105fcb171ab92f0f7516c69c8471, 5.1
Not affected: before 5.1, from 5.4.285 up to 5.4.*, from 5.10.229 up to 5.10.*, from 5.15.170 up to 5.15.*, from 6.1.115 up to 6.1.*, from 6.6.59 up to 6.6.*
CVE List
linux linux_kernelfrom 5.1 before 5.15.170, from 5.16 before 6.1.115, from 6.2 before 6.6.59, from 6.7 before 6.11.6, 6.12NVD

All scores

Linux7.3high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: tracing: Consider the NULL character when validating the event length strlen() returns a string length excluding the null byte. If the string length equals to the maximum buffer length, the buffer will have no space for the NULL terminating character. This commit checks this condition and returns failure for it.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rastreo: considerar el carácter NULL al validar la longitud del evento strlen() devuelve una longitud de cadena que excluye el byte nulo. Si la longitud de la cadena es igual a la longitud máxima del búfer, el búfer no tendrá espacio para el carácter de terminación NULL. Esta confirmación verifica esta condición y devuelve un error.

References

Sources

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