CVE-2026-31740
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
01/05/2026
Last modified:
07/05/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
counter: rz-mtu3-cnt: do not use struct rz_mtu3_channel&#39;s dev member<br />
<br />
The counter driver can use HW channels 1 and 2, while the PWM driver can<br />
use HW channels 0, 1, 2, 3, 4, 6, 7.<br />
<br />
The dev member is assigned both by the counter driver and the PWM driver<br />
for channels 1 and 2, to their own struct device instance, overwriting<br />
the previous value.<br />
<br />
The sub-drivers race to assign their own struct device pointer to the<br />
same struct rz_mtu3_channel&#39;s dev member.<br />
<br />
The dev member of struct rz_mtu3_channel is used by the counter<br />
sub-driver for runtime PM.<br />
<br />
Depending on the probe order of the counter and PWM sub-drivers, the<br />
dev member may point to the wrong struct device instance, causing the<br />
counter sub-driver to do runtime PM actions on the wrong device.<br />
<br />
To fix this, use the parent pointer of the counter, which is assigned<br />
during probe to the correct struct device, not the struct device pointer<br />
inside the shared struct rz_mtu3_channel.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.4 (including) | 6.6.134 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.81 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.18.22 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (including) | 6.19.12 (excluding) |
| cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/28a371be901ef44ee03726c2575d7d6795521fe0
- https://git.kernel.org/stable/c/2932095c114b98cbb40ccf34fc00d613cb17cead
- https://git.kernel.org/stable/c/633dfbf0eb2766c597c1a59dd83035c82e14791d
- https://git.kernel.org/stable/c/63be324c795262f0e316c6fe9b329d83afa1ec93
- https://git.kernel.org/stable/c/6562290225c197e2e193a53de2a517815288dcd1



