In the Linux kernel, the following vulnerability has been resolved: power: sequencing: fix NULL-pointer dereference in pwrseq_unit_new() If memory allocation fails in pwrseq_unit_setup_deps(), pwrseq_unit_put() is called to release the partially initialized unit. However, we've never initialized unit->list and pwrseq_unit_release() will unconditionally call list_del() on it. Initialize unit->list right after allocating the unit struct.
https://git.kernel.org/stable/c/859880b07a75c7a29d141abfacbd750d25a8e920
https://git.kernel.org/stable/c/6e571aea60de7f4c62b77510495d1bcc7df406a1
https://git.kernel.org/stable/c/29e03670cc384561a2037c69b0a1cc5232d3c6c3
https://git.kernel.org/stable/c/115b303e8e093d964089ec6f3c40d984d77b33d0