tracing: Consider the NULL character when validating the event length
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.4.285, 5.10.229, 5.15.170, 6.1.115, 6.6.59, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From dec65d79fd269d05427c8167090bfc9c3d0b56c4 · fixed in 5e3231b352725ff4a3a0095e6035af674f2d8725; From dec65d79fd269d05427c8167090bfc9c3d0b56c4 · fixed in 02874ca52df2ca2423ba6122039315ed61c25972; From dec65d79fd269d05427c8167090bfc9c3d0b56c4 · fixed in b86b0d6eea204116e4185acc35041ca4ff11a642; From dec65d79fd269d05427c8167090bfc9c3d0b56c4 · fixed in f4ed40d1c669bba1a54407d8182acdc405683f29; From dec65d79fd269d05427c8167090bfc9c3d0b56c4 · fixed in a14a075a14af8d622c576145455702591bdde09d; From dec65d79fd269d05427c8167090bfc9c3d0b56c4 · fixed in 5fd942598ddeed9a212d1ff41f9f5b47bcc990a7; From dec65d79fd269d05427c8167090bfc9c3d0b56c4 · fixed in 0b6e2e22cb23105fcb171ab92f0f7516c69c8471
- Linux Linux
5.1
- KernelLinux
From 5.1.0 · fixed in 5.4.285; From 5.5.0 · fixed in 5.10.229; From 5.11.0 · fixed in 5.15.170; From 5.16.0 · fixed in 6.1.115; From 6.2.0 · fixed in 6.6.59; From 6.7.0 · fixed in 6.11.6
References 7
git.kernel.org
- stable/c/5e3231b352725ff4a3a0095e6035af674f2d8725
- stable/c/02874ca52df2ca2423ba6122039315ed61c25972
- stable/c/b86b0d6eea204116e4185acc35041ca4ff11a642
- stable/c/f4ed40d1c669bba1a54407d8182acdc405683f29
- stable/c/a14a075a14af8d622c576145455702591bdde09d
- stable/c/5fd942598ddeed9a212d1ff41f9f5b47bcc990a7
- stable/c/0b6e2e22cb23105fcb171ab92f0f7516c69c8471