← CVE Intelligence

CVE-2021-47425

i2c: acpi: fix resource leak in reconfiguration device addition PUBLISHED

Description (CNA)

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]

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 525e6fabeae286848592363bda13bc34b59bb5ac before b8090a84d7758b929d348bafbd86bb7a10c5fb63; affected 525e6fabeae286848592363bda13bc34b59bb5ac before 3d9d458a8aaafa47268ea4f1b4114a9f12927989; affected 525e6fabeae286848592363bda13bc34b59bb5ac before 60bacf259e8c2eb2324f3e13275200baaee9494b; affected 525e6fabeae286848592363bda13bc34b59bb5ac before f86de018fd7a24ee07372d55ffa7824f0c674a95; affected 525e6fabeae286848592363bda13bc34b59bb5ac before 90f1077c9184ec2ae9989e4642f211263f301694; affected 525e6fabeae286848592363bda13bc34b59bb5ac before 6558b646ce1c2a872fe1c2c7cb116f05a2c1950f
Linux / Linuxaffected 4.8; unaffected 0 before 4.8; unaffected 4.14.251 through 4.14.*; unaffected 4.19.211 through 4.19.*; unaffected 5.4.153 through 5.4.*; unaffected 5.10.73 through 5.10.*; unaffected 5.14.12 through 5.14.*; unaffected 5.15 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.