CVE-2024-50131: tracing: Consider the NULL character when validating the event length
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.
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 5.15.173.1-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.64.2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50131?
CVE-2024-50131 has a high severity rating due to its potential impact on system stability and security.
Which versions of the Linux kernel are affected by CVE-2024-50131?
CVE-2024-50131 affects multiple versions of the Linux kernel from 5.1 to 6.12-rc4.
How do I fix CVE-2024-50131?
To fix CVE-2024-50131, upgrade your Linux kernel to a version that is not affected, specifically higher than 6.12-rc4.
What is the exploitability of CVE-2024-50131?
CVE-2024-50131 is considered potentially exploitable, which could lead to unauthorized access or denial of service.
What are the symptoms of CVE-2024-50131 on affected systems?
Affected systems may experience unexpected behavior or crashes related to kernel tracing functions.