{"id":"CVE-2026-99670","summary":"can: dev: can_fill_info(): don't wake up controller if interface is down","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: dev: can_fill_info(): don't wake up controller if interface is down\n\nIf the interface is down, the CAN controller might be powered down and\nits clocks gated. Don't call do_get_berr_counter() to read the bus error\ncounters if the interface is down, and adjust can_get_size() to match.\n\nThis removes one trigger for a synchronous external abort seen on\ni.MX8QXP when \"ip link show\" is run on a flexcan interface that was\nnever brought up. The underlying cause is platform-specific: on i.MX8QXP\nthe CAN clocks are gated through the SCU LPCG and the subsystem shares\nthe IMX_SC_R_CAN_0 power domain, and there is a window after\npm_runtime_resume_and_get() returns where the clock has not reached the\nmodule yet. This patch avoids the netlink query path while the interface\nis down, but does not root-cause the LPCG window itself.\n\nAs a result, IFLA_CAN_BERR_COUNTER is no longer reported for down\ninterfaces. Userspace must treat the attribute as optional.\n\nThe issue was triggered on an i.MX8QXP board by running \"ip link show\"\nwithout ever bringing the interface up:\n\n    Internal error: synchronous external abort: 0000000096000210\n\n    pc : flexcan_read_le+0x0/0x18\n    lr : flexcan_get_berr_counter+0x4c/0x8c\n    Call trace:\n     flexcan_read_le+0x0/0x18\n     flexcan_get_berr_counter+0x4c/0x8c\n     can_fill_info+0x1f8/0x434\n     rtnl_fill_ifinfo+0x8fc/0xbb4\n     rtnl_dump_ifinfo+0x364/0x448\n\nThis is the same class of problem fixed for m_can in\ncommit 91a55c72a821 (\"can: m_can: m_can_get_berr_counter(): don't\nwake up controller if interface is down\").","modified":"2026-11-20T07:01:11.005211732Z","published":"2026-11-20T05:50:19.599Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99670.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/07521636bb0cfeccb44125a7fc39ee97c36d2e37"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0a6f6dcf4c9c03c74de17453bef21697cbff4dc3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75332c410c8190d61499001c5516af977ca426c3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d2fd689214afa0a983f4f0833075f167b9f4eddf"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99670.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99670"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ec56acfef2af184ca485ffeba16adbd56c110c94"},{"fixed":"d2fd689214afa0a983f4f0833075f167b9f4eddf"},{"fixed":"07521636bb0cfeccb44125a7fc39ee97c36d2e37"},{"fixed":"0a6f6dcf4c9c03c74de17453bef21697cbff4dc3"},{"fixed":"75332c410c8190d61499001c5516af977ca426c3"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99670.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.18.0"},{"fixed":"6.12.118"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.64"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99670.json"}}],"schema_version":"1.9.2"}