Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49241

ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_probe

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to < 90ac679aa6a01841da90ec5a4aaa4b5e0badddf0affected
  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to < f589063b585ac6dd2081bde6c145411cf48d8d92affected
  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to < 14228225091a0854b1de23e5b4fe8bdeeca9683baffected
  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to < f43ad5dc43240289f4cf13c16cc506f4f7087931affected
  • fdbcb3cba54b29a37dfe42acdc0e72c543e0807d to < 740dc3e846537c3743da98bf106f376023fd085caffected

Linux Linux

Default version status: affected

  • 3.12affected
  • 0 to < 3.12unaffected
  • 5.10.110 to ≤ 5.10.*unaffected
  • 5.15.33 to ≤ 5.15.*unaffected
  • 5.16.19 to ≤ 5.16.*unaffected
  • 5.17.2 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References