gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7349a74ea75ca27606ead81df3ed67f1b32a94ba · < 2ac5b58e645c66932438bb021cb5b52097ce70b0| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
gianfar: ethtool: Fix refcount leak in gfar_get_ts_info
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 gianfar ethtool code in the Linux kernel fails to release a device-tree node reference in gfar_get_ts_info, causing a refcount leak. The input does not establish what an attacker could do or whether exploitation requires network access, local access, authentication, or user interaction.
Engineers running Linux kernels with the gianfar driver should check their versions; affected versions were not provided.