What’s Vulnerable › Vulnerabilities

CVE-2024-50131: tracing: Consider the NULL character when validating the event length

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.170, 6.1.115, 6.11.6, 6.6.59. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-50131 or the next vulnerability affects your stack