CVE-2026-31740 Details
Description
In the Linux kernel, the following vulnerability has been resolved: counter: rz-mtu3-cnt: do not use struct rz_mtu3_channel's dev member The counter driver can use HW channels 1 and 2, while the PWM driver can use HW channels 0, 1, 2, 3, 4, 6, 7. The dev member is assigned both by the counter driver and the PWM driver for channels 1 and 2, to their own struct device instance, overwriting the previous value. The sub-drivers race to assign their own struct device pointer to the same struct rz_mtu3_channel's dev member. The dev member of struct rz_mtu3_channel is used by the counter sub-driver for runtime PM. Depending on the probe order of the counter and PWM sub-drivers, the dev member may point to the wrong struct device instance, causing the counter sub-driver to do runtime PM actions on the wrong device. To fix this, use the parent pointer of the counter, which is assigned during probe to the correct struct device, not the struct device pointer inside the shared struct rz_mtu3_channel.
A vulnerability exists in the Linux kernel's handling of device pointers within the counter driver for the Renesas RZ/G2L MTU3a hardware. This issue arises because both the counter and PWM drivers assign their own device pointers to a shared channel structure, leading to a race condition. The counter driver may inadvertently perform runtime power management actions on the wrong device, depending on the order in which the drivers are probed. This vulnerability affects the Linux kernel stable tree.
The vulnerability has been addressed by modifying the counter driver to use the correct device pointer, thereby preventing the mismanagement of power operations. Users should apply the latest patches available in the Linux kernel stable tree to mitigate this issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/28a371be901ef44ee03726c2575d7d6795521fe0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/2932095c114b98cbb40ccf34fc00d613cb17cead | kernel.org | Patch |
| https://git.kernel.org/stable/c/633dfbf0eb2766c597c1a59dd83035c82e14791d | kernel.org | Patch |
| https://git.kernel.org/stable/c/63be324c795262f0e316c6fe9b329d83afa1ec93 | kernel.org | Patch |
| https://git.kernel.org/stable/c/6562290225c197e2e193a53de2a517815288dcd1 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.4, < 6.6.134 >= 6.7, < 6.12.81 >= 6.13, < 6.18.22 >= 6.19, < 6.19.12 7.0 rc1 7.0 rc2 7.0 rc3 7.0 rc4 7.0 rc5 7.0 rc6 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| May 7, 2026 | Initial Analysis | [email protected] |
| May 1, 2026 | New CVE Received | kernel.org |