← CVE Intelligence

CVE-2022-49241

ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error path.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before 90ac679aa6a01841da90ec5a4aaa4b5e0badddf0; affected fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before f589063b585ac6dd2081bde6c145411cf48d8d92; affected fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before 14228225091a0854b1de23e5b4fe8bdeeca9683b; affected fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before f43ad5dc43240289f4cf13c16cc506f4f7087931; affected fdbcb3cba54b29a37dfe42acdc0e72c543e0807d before 740dc3e846537c3743da98bf106f376023fd085c
Linux / Linuxaffected 3.12; unaffected 0 before 3.12; unaffected 5.10.110 through 5.10.*; unaffected 5.15.33 through 5.15.*; unaffected 5.16.19 through 5.16.*; unaffected 5.17.2 through 5.17.*; unaffected 5.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.