power: sequencing: fix NULL-pointer dereference in pwrseq_unit_new()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.112, 6.18.54, 7.2.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c · fixed in 29e03670cc384561a2037c69b0a1cc5232d3c6c3; From 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c · fixed in 859880b07a75c7a29d141abfacbd750d25a8e920; From 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c · fixed in 6e571aea60de7f4c62b77510495d1bcc7df406a1; From 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c · fixed in 115b303e8e093d964089ec6f3c40d984d77b33d0
- Linux Linux
6.11
- KernelLinux
From 6.11.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8