AZL-115480: CVE-2026-99670 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
can: dev: canfillinfo(): 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 dogetberrcounter() to read the bus error counters if the interface is down, and adjust cangetsize() 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 IMXSCRCAN0 power domain, and there is a window after pmruntimeresumeandget() 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, IFLACANBERRCOUNTER 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 : flexcanreadle+0x0/0x18 lr : flexcangetberrcounter+0x4c/0x8c Call trace: flexcanreadle+0x0/0x18 flexcangetberrcounter+0x4c/0x8c canfillinfo+0x1f8/0x434 rtnlfillifinfo+0x8fc/0xbb4 rtnldumpifinfo+0x364/0x448
This is the same class of problem fixed for mcan in commit 91a55c72a821 ("can: mcan: mcangetberrcounter(): don't wake up controller if interface is down").
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Update userspace handling to treat IFLA_CAN_BERR_COUNTER as optional, since it is no longer reported when the CAN interface is down.