mbox series

[5.10/5.15/6.1,0/1] soundwire: stream: use consistent pattern for freeing buffers

Message ID 20240304095542.4799-1-d.dulov@aladdin.ru
Headers show
Series soundwire: stream: use consistent pattern for freeing buffers | expand

Message

Daniil Dulov March 4, 2024, 9:55 a.m. UTC
Svacer reports NULL-pointer dereference and double free issues in
do_bank_switch() in case sdw_ml_sync_bank_switch() returns an error
not on the first iteration of the list_for_each_entry() loop. These 
problems are present in 5.10, 5.15 and 6.1 stable releases. These problems
have been fixed by the following upstream patch that can be cleanly
applied to 5.10, 5.15 and 6.1 branches.