High severity · published Nov 5, 2024
CVE-2024-50131
tracing: Consider the NULL character when validating the event length
7.8
CVSS
0.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 16% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
5.1 before 5.15.170; 5.16 before 6.1.115; 6.2 before 6.6.59; 6.7 before 6.11.6; 6.12; 6.12; +2 more · source: NVD
LI
Linux · Linux
dec65d79fd269d05427c8167090bfc9c3d0b56c4 before 5e3231b352725ff4a3a0095e6035af674f2d8725; dec65d79fd269d05427c8167090bfc9c3d0b56c4 before 02874ca52df2ca2423ba6122039315ed61c25972; dec65d79fd269d05427c8167090bfc9c3d0b56c4 before b86b0d6eea204116e4185acc35041ca4ff11a642; dec65d79fd269d05427c8167090bfc9c3d0b56c4 before f4ed40d1c669bba1a54407d8182acdc405683f29; dec65d79fd269d05427c8167090bfc9c3d0b56c4 before a14a075a14af8d622c576145455702591bdde09d; dec65d79fd269d05427c8167090bfc9c3d0b56c4 before 5fd942598ddeed9a212d1ff41f9f5b47bcc990a7; +2 more · source: vendor
SS
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem · Siemens
before V1.1.1 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-50131
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-50131
git.kernel.org
https://git.kernel.org/stable/c/02874ca52df2ca2423ba6122039315ed61c25972
Patch
https://git.kernel.org/stable/c/0b6e2e22cb23105fcb171ab92f0f7516c69c8471
git.kernel.org
https://git.kernel.org/stable/c/5e3231b352725ff4a3a0095e6035af674f2d8725
Patch
https://git.kernel.org/stable/c/5fd942598ddeed9a212d1ff41f9f5b47bcc990a7
Patch
https://git.kernel.org/stable/c/a14a075a14af8d622c576145455702591bdde09d
Patch
https://git.kernel.org/stable/c/b86b0d6eea204116e4185acc35041ca4ff11a642
More from Kernel
9.8
CVE-2025-39682
tls: fix handling of zero-length records on the rx_list
8.8
CVE-2026-53266
netfilter: bridge: make ebt_snat ARP rewrite writable
8.8
CVE-2013-6282
Linux Kernel Improper Input Validation Vulnerability
8.4
CVE-2022-0185
Linux Kernel Heap-Based Buffer Overflow Vulnerability
8.4
CVE-2013-2094
Linux Kernel Privilege Escalation Vulnerability
