powerpc/powernv: Add a null pointer check to scom_debug_init_one()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1eefa93faf69188540b08b024794fa90b1d82e8b, Kernel 2a82c4439b903639e0a1f21990cd399fb0a49c19, Kernel 9a260f2dd827bbc82cc60eb4f4d8c22707d80742 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: powerpc/powernv: Add a null pointer check to scom_debug_init_one() kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Add a null pointer check, and release 'ent' to avoid memory leaks.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.4, >=bfd2f0d49aef8abfe6bf58f12719f39912993cc6 <1eefa93faf69188540b08b024794fa90b1d82e8b, >=bfd2f0d49aef8abfe6bf58f12719f39912993cc6 <2a82c4439b903639e0a1f21990cd399fb0a49c19, >=bfd2f0d49aef8abfe6bf58f12719f39912993cc6 <9a260f2dd827bbc82cc60eb4f4d8c22707d80742, >=bfd2f0d49aef8abfe6bf58f12719f39912993cc6 <a9c05cbb6644a2103c75b6906e9dafb9981ebd13, >=bfd2f0d49aef8abfe6bf58f12719f39912993cc6 <dd8422ff271c22058560832fc3006324ded895a9, >=bfd2f0d49aef8abfe6bf58f12719f39912993cc6 <ed8d023cfa97b559db58c0e1afdd2eec7a83d8f2, >=bfd2f0d49aef8abfe6bf58f12719f39912993cc6 <f84c1446daa552e9699da8d1f8375eac0f65edc7 | 1eefa93faf69188540b08b024794fa90b1d82e8b, 2a82c4439b903639e0a1f21990cd399fb0a49c19, 9a260f2dd827bbc82cc60eb4f4d8c22707d80742, a9c05cbb6644a2103c75b6906e9dafb9981ebd13, dd8422ff271c22058560832fc3006324ded895a9, ed8d023cfa97b559db58c0e1afdd2eec7a83d8f2, f84c1446daa552e9699da8d1f8375eac0f65edc7 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket