tracing: Consider the NULL character when validating the event length
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 02874ca52df2ca2423ba6122039315ed61c25972, Kernel 0b6e2e22cb23105fcb171ab92f0f7516c69c8471, Kernel 5e3231b352725ff4a3a0095e6035af674f2d8725 and 4 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.1, >=dec65d79fd269d05427c8167090bfc9c3d0b56c4 <02874ca52df2ca2423ba6122039315ed61c25972, >=dec65d79fd269d05427c8167090bfc9c3d0b56c4 <0b6e2e22cb23105fcb171ab92f0f7516c69c8471, >=dec65d79fd269d05427c8167090bfc9c3d0b56c4 <5e3231b352725ff4a3a0095e6035af674f2d8725, >=dec65d79fd269d05427c8167090bfc9c3d0b56c4 <5fd942598ddeed9a212d1ff41f9f5b47bcc990a7, >=dec65d79fd269d05427c8167090bfc9c3d0b56c4 <a14a075a14af8d622c576145455702591bdde09d, >=dec65d79fd269d05427c8167090bfc9c3d0b56c4 <b86b0d6eea204116e4185acc35041ca4ff11a642, >=dec65d79fd269d05427c8167090bfc9c3d0b56c4 <f4ed40d1c669bba1a54407d8182acdc405683f29 | 02874ca52df2ca2423ba6122039315ed61c25972, 0b6e2e22cb23105fcb171ab92f0f7516c69c8471, 5e3231b352725ff4a3a0095e6035af674f2d8725, 5fd942598ddeed9a212d1ff41f9f5b47bcc990a7, a14a075a14af8d622c576145455702591bdde09d, b86b0d6eea204116e4185acc35041ca4ff11a642, f4ed40d1c669bba1a54407d8182acdc405683f29 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket