CVE-2021-47425

i2c: acpi: fix resource leak in reconfiguration device addition

State
Published
Severity
Not scored
Published
May 21, 2024
Updated
May 11, 2026
Reserved
May 21, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

i2c: acpi: fix resource leak in reconfiguration device addition

acpi_i2c_find_adapter_by_handle() calls bus_find_device() which takes a reference on the adapter which is never released which will result in a reference count leak and render the adapter unremovable. Make sure to put the adapter after creating the client in the same manner that we do for OF.

[wsa: fixed title]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 525e6fabeae286848592363bda13bc34b59bb5ac to before b8090a84d7758b929d348bafbd86bb7a10c5fb63Affected
  • 525e6fabeae286848592363bda13bc34b59bb5ac to before 3d9d458a8aaafa47268ea4f1b4114a9f12927989Affected
  • 525e6fabeae286848592363bda13bc34b59bb5ac to before 60bacf259e8c2eb2324f3e13275200baaee9494bAffected
  • 525e6fabeae286848592363bda13bc34b59bb5ac to before f86de018fd7a24ee07372d55ffa7824f0c674a95Affected
  • 525e6fabeae286848592363bda13bc34b59bb5ac to before 90f1077c9184ec2ae9989e4642f211263f301694Affected
  • 525e6fabeae286848592363bda13bc34b59bb5ac to before 6558b646ce1c2a872fe1c2c7cb116f05a2c1950fAffected
LinuxLinux
  • 4.8Affected
  • before 4.8Not affected
  • 4.14.251 through 4.14.*Not affected
  • 4.19.211 through 4.19.*Not affected
  • 5.4.153 through 5.4.*Not affected
  • 5.10.73 through 5.10.*Not affected
  • 5.14.12 through 5.14.*Not affected
  • 5.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.