CVEvulnerability
CVE-2024-50131
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-11-05
- Last modified
- 2026-10-15
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.3 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-120
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 configurations
• linux linux kernel (>= 5.1 < 5.15.170)
• linux linux kernel (>= 5.16 < 6.1.115)
• linux linux kernel (>= 6.2 < 6.6.59)
• linux linux kernel (>= 6.7 < 6.11.6)
• linux linux kernel 6.12
Related
Weakness · CWE (1)
- CWE-120 Buffer Copy without Checking Size of Input weakness
References
- https://git.kernel.org/stable/c/02874ca52df2ca2423ba6122039315ed61c25972 git.kernel.org
- https://git.kernel.org/stable/c/0b6e2e22cb23105fcb171ab92f0f7516c69c8471 Patch
- https://git.kernel.org/stable/c/5e3231b352725ff4a3a0095e6035af674f2d8725 git.kernel.org
- https://git.kernel.org/stable/c/5fd942598ddeed9a212d1ff41f9f5b47bcc990a7 Patch
- https://git.kernel.org/stable/c/a14a075a14af8d622c576145455702591bdde09d Patch
- https://git.kernel.org/stable/c/b86b0d6eea204116e4185acc35041ca4ff11a642 Patch
- https://git.kernel.org/stable/c/f4ed40d1c669bba1a54407d8182acdc405683f29 Patch
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com