Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Fix memory leak of BO array in hang state The hang state's BO array is allocated separately with kzalloc() in vc4_save_hang_state() but never freed in vc4_free_hang_state(). Add the missing kfree() for the BO array before freeing the hang state struct.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 214613656b5179f0daab6e0a080814b5100d45f0 before 7235fc096ece53211bd2c0e958c65f9b802aeb98; affected 214613656b5179f0daab6e0a080814b5100d45f0 before 686bb2fce082f043db50db02b5de5c64ca4dc4c4; affected 214613656b5179f0daab6e0a080814b5100d45f0 before 9c092941fc1d00933bcb46ecac1cb930db3abf5d; affected 214613656b5179f0daab6e0a080814b5100d45f0 before a812008fe3a0aebb778d277b35717f64e23d0302; affected 214613656b5179f0daab6e0a080814b5100d45f0 before 0d3c014a84396a147705f523a8fd6fc873e76502; affected 214613656b5179f0daab6e0a080814b5100d45f0 before 421cea4f71f7cf65abaae878562ee4aa2b684628; affected 214613656b5179f0daab6e0a080814b5100d45f0 before b8138567c4a80fd76a647849ebd4284996cf4b17; affected 214613656b5179f0daab6e0a080814b5100d45f0 before f4dfd6847b3e5d24e336bca6057485116d17aea4 |
| Linux / Linux | affected 4.5; unaffected 0 before 4.5; unaffected 5.10.258 through 5.10.*; unaffected 5.15.209 through 5.15.*; unaffected 6.1.175 through 6.1.*; unaffected 6.6.136 through 6.6.*; unaffected 6.12.83 through 6.12.*; unaffected 6.18.24 through 6.18.*; unaffected 6.19.14 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/7235fc096ece53211bd2c0e958c65f9b802aeb98
- https://git.kernel.org/stable/c/686bb2fce082f043db50db02b5de5c64ca4dc4c4
- https://git.kernel.org/stable/c/9c092941fc1d00933bcb46ecac1cb930db3abf5d
- https://git.kernel.org/stable/c/a812008fe3a0aebb778d277b35717f64e23d0302
- https://git.kernel.org/stable/c/0d3c014a84396a147705f523a8fd6fc873e76502
- https://git.kernel.org/stable/c/421cea4f71f7cf65abaae878562ee4aa2b684628
- https://git.kernel.org/stable/c/b8138567c4a80fd76a647849ebd4284996cf4b17
- https://git.kernel.org/stable/c/f4dfd6847b3e5d24e336bca6057485116d17aea4