i2c: mux: Fix channel node leak on adapter add failure
- 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 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 more
- 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: i2c: mux: Fix channel node leak on adapter add failure i2c_mux_add_adapter() takes a reference to the Device Tree channel node before registering the new adapter. If adapter registration fails, the error path frees the private data without dropping that reference. Release the channel node before freeing the private data.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From bc45449b1444611d68466ae7f45f235420d79019 · fixed in 4f42f70afd2447f3c82ca69d1e03466a75348ba9; From bc45449b1444611d68466ae7f45f235420d79019 · fixed in 4c9bc46a2a4afb7a11c48d33bdf19febab431015; From bc45449b1444611d68466ae7f45f235420d79019 · fixed in dd2c1e6747b17b24ecddd48a7bb6bb964c2793d1; From bc45449b1444611d68466ae7f45f235420d79019 · fixed in 0927153f2abf48b6cc3e5f27063a17f7a8d47f38; From bc45449b1444611d68466ae7f45f235420d79019 · fixed in b580f062b24c4eef562f08f210c028adb34ef14e; From bc45449b1444611d68466ae7f45f235420d79019 · fixed in 2b3b06cb709c4bf75a3fe3da3a0ca368ee3b40e5; From bc45449b1444611d68466ae7f45f235420d79019 · fixed in 694e7e6edf249723ca7d3ef77c2ca1badfc78dc4; From bc45449b1444611d68466ae7f45f235420d79019 · fixed in 385c7af4e3b95d0769fd211831674e83b16a2ebf
- Linux Linux
3.5
- KernelLinux
From 3.5.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.5
References 8
git.kernel.org
- stable/c/4f42f70afd2447f3c82ca69d1e03466a75348ba9
- stable/c/4c9bc46a2a4afb7a11c48d33bdf19febab431015
- stable/c/dd2c1e6747b17b24ecddd48a7bb6bb964c2793d1
- stable/c/0927153f2abf48b6cc3e5f27063a17f7a8d47f38
- stable/c/b580f062b24c4eef562f08f210c028adb34ef14e
- stable/c/2b3b06cb709c4bf75a3fe3da3a0ca368ee3b40e5
- stable/c/694e7e6edf249723ca7d3ef77c2ca1badfc78dc4
- stable/c/385c7af4e3b95d0769fd211831674e83b16a2ebf