Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c before 29e03670cc384561a2037c69b0a1cc5232d3c6c3; affected 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c before 859880b07a75c7a29d141abfacbd750d25a8e920; affected 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c before 6e571aea60de7f4c62b77510495d1bcc7df406a1; affected 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c before 115b303e8e093d964089ec6f3c40d984d77b33d0 |
| Linux / Linux | affected 6.11; unaffected 0 before 6.11; unaffected 6.12.112 through 6.12.*; unaffected 6.18.54 through 6.18.*; unaffected 7.2.8 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.