-

CVE-2026-99670

can: dev: can_fill_info(): don't wake up controller if interface is down

In the Linux kernel, the following vulnerability has been resolved:

can: dev: can_fill_info(): don't wake up controller if interface is down

If the interface is down, the CAN controller might be powered down and
its clocks gated. Don't call do_get_berr_counter() to read the bus error
counters if the interface is down, and adjust can_get_size() to match.

This removes one trigger for a synchronous external abort seen on
i.MX8QXP when "ip link show" is run on a flexcan interface that was
never brought up. The underlying cause is platform-specific: on i.MX8QXP
the CAN clocks are gated through the SCU LPCG and the subsystem shares
the IMX_SC_R_CAN_0 power domain, and there is a window after
pm_runtime_resume_and_get() returns where the clock has not reached the
module yet. This patch avoids the netlink query path while the interface
is down, but does not root-cause the LPCG window itself.

As a result, IFLA_CAN_BERR_COUNTER is no longer reported for down
interfaces. Userspace must treat the attribute as optional.

The issue was triggered on an i.MX8QXP board by running "ip link show"
without ever bringing the interface up:

    Internal error: synchronous external abort: 0000000096000210

    pc : flexcan_read_le+0x0/0x18
    lr : flexcan_get_berr_counter+0x4c/0x8c
    Call trace:
     flexcan_read_le+0x0/0x18
     flexcan_get_berr_counter+0x4c/0x8c
     can_fill_info+0x1f8/0x434
     rtnl_fill_ifinfo+0x8fc/0xbb4
     rtnl_dump_ifinfo+0x364/0x448

This is the same class of problem fixed for m_can in
commit 91a55c72a821 ("can: m_can: m_can_get_berr_counter(): don't
wake up controller if interface is down").
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version ec56acfef2af184ca485ffeba16adbd56c110c94
Version < ff9776f252168e7c06f8b7bf5b23730dd15ae65e
Status affected
Version ec56acfef2af184ca485ffeba16adbd56c110c94
Version < 2c0f27f5a3175cba269b552283f8429fe18bba15
Status affected
Version ec56acfef2af184ca485ffeba16adbd56c110c94
Version < e7f62b7a9592f4eb2723c23ad69acb3fc3a17a28
Status affected
Version ec56acfef2af184ca485ffeba16adbd56c110c94
Version < 5715bdda4e192fff91f2bd09f35be39f8d62c772
Status affected
Version ec56acfef2af184ca485ffeba16adbd56c110c94
Version < d2fd689214afa0a983f4f0833075f167b9f4eddf
Status affected
Version ec56acfef2af184ca485ffeba16adbd56c110c94
Version < 07521636bb0cfeccb44125a7fc39ee97c36d2e37
Status affected
Version ec56acfef2af184ca485ffeba16adbd56c110c94
Version < 0a6f6dcf4c9c03c74de17453bef21697cbff4dc3
Status affected
Version ec56acfef2af184ca485ffeba16adbd56c110c94
Version < 75332c410c8190d61499001c5516af977ca426c3
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 3.18
Status affected
Version 0
Version < 3.18
Status unaffected
Version <= 5.10.*
Version 5.10.275
Status unaffected
Version <= 5.15.*
Version 5.15.226
Status unaffected
Version <= 6.1.*
Version 6.1.193
Status unaffected
Version <= 6.6.*
Version 6.6.163
Status unaffected
Version <= 6.12.*
Version 6.12.118
Status unaffected
Version <= 6.18.*
Version 6.18.64
Status unaffected
Version <= 7.3.*
Version 7.3.5
Status unaffected
Version <= *
Version 7.4-rc2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.17% 0.063
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/d2fd689214afa0a983f4f0833075f167b9f4eddf
https://git.kernel.org/stable/c/07521636bb0cfeccb44125a7fc39ee97c36d2e37
https://git.kernel.org/stable/c/0a6f6dcf4c9c03c74de17453bef21697cbff4dc3
https://git.kernel.org/stable/c/75332c410c8190d61499001c5516af977ca426c3
https://git.kernel.org/stable/c/2c0f27f5a3175cba269b552283f8429fe18bba15
https://git.kernel.org/stable/c/5715bdda4e192fff91f2bd09f35be39f8d62c772
https://git.kernel.org/stable/c/e7f62b7a9592f4eb2723c23ad69acb3fc3a17a28
https://git.kernel.org/stable/c/ff9776f252168e7c06f8b7bf5b23730dd15ae65e