CVE-2024-50131

tracing: Consider the NULL character when validating the event length

State
Published
Severity
7.3 High
Published
Nov 5, 2024
Updated
Oct 15, 2026
Reserved
Oct 21, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dec65d79fd269d05427c8167090bfc9c3d0b56c4 to before 5e3231b352725ff4a3a0095e6035af674f2d8725Affected
  • dec65d79fd269d05427c8167090bfc9c3d0b56c4 to before 02874ca52df2ca2423ba6122039315ed61c25972Affected
  • dec65d79fd269d05427c8167090bfc9c3d0b56c4 to before b86b0d6eea204116e4185acc35041ca4ff11a642Affected
  • dec65d79fd269d05427c8167090bfc9c3d0b56c4 to before f4ed40d1c669bba1a54407d8182acdc405683f29Affected
  • dec65d79fd269d05427c8167090bfc9c3d0b56c4 to before a14a075a14af8d622c576145455702591bdde09dAffected
  • dec65d79fd269d05427c8167090bfc9c3d0b56c4 to before 5fd942598ddeed9a212d1ff41f9f5b47bcc990a7Affected
  • dec65d79fd269d05427c8167090bfc9c3d0b56c4 to before 0b6e2e22cb23105fcb171ab92f0f7516c69c8471Affected
LinuxLinux
  • 5.1Affected
  • before 5.1Not affected
  • 5.4.285 through 5.4.*Not affected
  • 5.10.229 through 5.10.*Not affected
  • 5.15.170 through 5.15.*Not affected
  • 6.1.115 through 6.1.*Not affected
  • 6.6.59 through 6.6.*Not affected
  • 6.11.6 through 6.11.*Not affected
  • 6.12 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.