CVE-2024-50131

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxdec65d79fd269d05427c8167090bfc9c3d0b56c4 < 5e3231b352725ff4a3a0095e6035af674f2d8725affected
LinuxLinuxdec65d79fd269d05427c8167090bfc9c3d0b56c4 < 02874ca52df2ca2423ba6122039315ed61c25972affected
LinuxLinuxdec65d79fd269d05427c8167090bfc9c3d0b56c4 < b86b0d6eea204116e4185acc35041ca4ff11a642affected
LinuxLinuxdec65d79fd269d05427c8167090bfc9c3d0b56c4 < f4ed40d1c669bba1a54407d8182acdc405683f29affected
LinuxLinuxdec65d79fd269d05427c8167090bfc9c3d0b56c4 < a14a075a14af8d622c576145455702591bdde09daffected
LinuxLinuxdec65d79fd269d05427c8167090bfc9c3d0b56c4 < 5fd942598ddeed9a212d1ff41f9f5b47bcc990a7affected
LinuxLinuxdec65d79fd269d05427c8167090bfc9c3d0b56c4 < 0b6e2e22cb23105fcb171ab92f0f7516c69c8471affected
LinuxLinux5.1affected
LinuxLinux0 < 5.1unaffected
LinuxLinux5.4.285 <= 5.4.*unaffected
LinuxLinux5.10.229 <= 5.10.*unaffected
LinuxLinux5.15.170 <= 5.15.*unaffected
LinuxLinux6.1.115 <= 6.1.*unaffected
LinuxLinux6.6.59 <= 6.6.*unaffected
LinuxLinux6.11.6 <= 6.11.*unaffected
LinuxLinux6.12 <= *unaffected

Weaknesses

ADP Enrichment

CVE Program Container

Additional References

Additional References

References