In the Linux kernel, the following vulnerability has been resolved: media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal() The buffer in the loop should be released under the exception path, otherwise there may be a memory leak here. To mitigate this, free the buffer when allegro_alloc_buffer fails.
https://git.kernel.org/stable/c/cf642904be39ae0d441dbdfa8f485e0a46260be4
https://git.kernel.org/stable/c/891b5790bee8fc6ddba17874dd87a646128d0b99
https://git.kernel.org/stable/c/74a65313578b35e1239966adfa7ac2bdd60caf00
https://git.kernel.org/stable/c/6712a28a4f923ffdf51cff267ad05a634ee1babc
https://git.kernel.org/stable/c/64f72a738864b506ab50b4a6cb3ce3c3e04b71af
https://git.kernel.org/stable/c/17e5613666209be4e5be1f1894f1a6014a8a0658
https://git.kernel.org/stable/c/0f514068fbc5d4d189c817adc7c4e32cffdc2e47