CVE-2024-50131

tracing: Consider the NULL character when validating the event length

HIGH
7.8
CVSS Score
Published: November 5, 2024 at 05:10 PM UTC
Updated: October 15, 2026 at 01:19 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.1 ≤ v < 5.15.1705.16 ≤ v < 6.1.1156.2 ≤ v < 6.6.596.7 ≤ v < 6.11.66.126.12 rc16.12 rc26.12 rc36.12 rc4dec65d79fd269d05427c8167090bfc9c3d0b56c4
Vendor states this is fixed in 02874ca52df2ca2423ba6122039315ed61c25972 (fixed)
Vendor states this is fixed in 0b6e2e22cb23105fcb171ab92f0f7516c69c8471 (fixed)
Vendor states this is fixed in 5e3231b352725ff4a3a0095e6035af674f2d8725 (fixed)
Vendor states this is fixed in 5fd942598ddeed9a212d1ff41f9f5b47bcc990a7 (fixed)
Vendor states this is fixed in a14a075a14af8d622c576145455702591bdde09d (fixed)
Vendor states this is fixed in b86b0d6eea204116e4185acc35041ca4ff11a642 (fixed)
Vendor states this is fixed in f4ed40d1c669bba1a54407d8182acdc405683f29 (fixed)
Vendor states this is fixed in 5.1 (unaffected)
Vendor states this is fixed in 5.10.229 (unaffected)
Vendor states this is fixed in 5.15.170 (unaffected)
Vendor states this is fixed in 5.4.285 (unaffected)
Vendor states this is fixed in 6.1.115 (unaffected)
Vendor states this is fixed in 6.11.6 (unaffected)
Vendor states this is fixed in 6.12 (unaffected)
Vendor states this is fixed in 6.6.59 (unaffected)

References (10)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-120

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card