CVE-2022-49150Published Feb 26, 2025 · Feb 26Updated Oct 28
rtc: gamecube: Fix refcount leak in gamecube_rtc_read_offset_from_sram
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
rtc: gamecube: Fix refcount leak in gamecube_rtc_read_offset_from_sram
The of_find_compatible_node() function returns a node pointer with refcount incremented, We should use of_node_put() on it when done Add the missing of_node_put() to release the refcount.
From the CVE record · Linux
The Linux kernel’s GameCube RTC code fails to release a device-tree node reference when reading the offset from SRAM, causing a refcount leak. The input does not describe an attacker action or specify access or user-interaction requirements.
Engineers running the Linux kernel with the GameCube RTC component should check their versions; affected versions are not specified.