Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-143291

can: dev: can_tdc_fill_info(): don't read automatic TDCV if interface is down

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]

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • e8060f08cd69d1d692cfb9f0a2808477a501f35a to < 6a64bb3dc5284db14a5603156a919a48c732c3f9affected
  • e8060f08cd69d1d692cfb9f0a2808477a501f35a to < f5128a76726105f398d7ee70ee523dd4f68d62f4affected

Linux Linux

Default version status: affected

  • 5.16affected
  • 0 to < 5.16unaffected
  • 7.3.7 to ≤ 7.3.*unaffected
  • 7.4-rc2 to ≤ *unaffected

References