CVE
CVE-2024-50131
CNA 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 versions
All Linux kernel vulnerabilities →
- 6.12-rc4This version only
- 6.12-rc3This version only
- 6.12-rc2This version only
- 6.12-rc1This version only
- ≥ 6.7, < 6.11.6Fixed in 6.11.6
- ≥ 6.2, < 6.6.59Fixed in 6.6.59
- ≥ 5.16, < 6.1.115Fixed in 6.1.115
- ≥ 5.1, < 5.15.170Fixed in 5.15.170
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/0b6e2e22cb23105fcb171ab92f0f7516c69c8471 · Patch
- git.kernel.org/stable/c/5fd942598ddeed9a212d1ff41f9f5b47bcc990a7 · Patch
- git.kernel.org/stable/c/a14a075a14af8d622c576145455702591bdde09d · Patch
- git.kernel.org/stable/c/b86b0d6eea204116e4185acc35041ca4ff11a642 · Patch
- git.kernel.org/stable/c/f4ed40d1c669bba1a54407d8182acdc405683f29 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.