can: dev: can_tdc_fill_info(): don't read automatic TDCV if interface is down
- CVE-2026-143291
- GHSA-rh28-w8rx-4xm2
- EUVD-2026-142941
Description
In the Linux kernel, the following vulnerability has been resolved: can: dev: can_tdc_fill_info(): don't read automatic TDCV if interface is down The automatic TDCV readback calls into the driver via do_get_auto_tdcv(). Some drivers, such as xcan_get_auto_tdcv(), 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 do_get_auto_tdcv() on netif_running() in can_tdc_fill_info() and adjust can_tdc_get_size() and can_data_bittiming_get_size() 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]
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 5.16 none stated before 5.16: not affected none stated from 7.3.7 up to 7.3.*: not affected none stated from 7.4-rc2 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.