CVE-2026-143291: can: dev: can_tdc_fill_info(): don't read automatic TDCV if interface is down
In the Linux kernel, the following vulnerability has been resolved:
can: dev: cantdcfillinfo(): don't read automatic TDCV if interface is down
The automatic TDCV readback calls into the driver via dogetautotdcv(). Some drivers, such as xcangetautotdcv(), read controller registers without taking a runtime PM reference, so calling this while the interface is down can touch registers whose clocks are gated.
Gate dogetautotdcv() on netifrunning() in cantdcfillinfo() and adjust cantdcgetsize() and candatabittiminggetsize() so that only the automatic TDCV size is skipped when the interface is down. The other TDC parameters are still reported, as they are meaningful while the interface is down.
This is a defensive hardening based on code inspection; the automatic TDCV path has not been triggered on hardware.
[mkl: fix open parenthesis alignment]
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7 - Compensating control
In can_tdc_fill_info(), gate do_get_auto_tdcv() on netif_running(); when the interface is down, skip automatic TDCV readback and its size in can_tdc_get_size() and can_data_bittiming_get_size().
Event History
Frequently Asked Questions
Which systems are realistically exposed to this issue?
Systems using a CAN driver that implements automatic TDCV readback and accesses controller registers without acquiring a runtime PM reference are the relevant population. The issue requires the CAN network interface to be down, when controller clocks may be gated.
What action triggers the unsafe register access?
The automatic TDCV readback path calls the driver's do_get_auto_tdcv() callback while reporting CAN TDC information. Before the fix, this could occur even when the interface was not running.
Does this affect other TDC parameters when the CAN interface is down?
Other TDC parameters remain meaningful and are still reported while the interface is down. The change skips only the automatic TDCV value in that state.
Has the issue been observed on hardware?
No hardware trigger was reported. The change is described as defensive hardening based on code inspection.