Device halt via IRQ-context sleep during bus-off
Published Oct 12, 2023 · Updated Sep 17, 2024
Denial of service in Zephyr RTOS 3.3 through 3.4 allows remote attackers on the CAN bus to halt devices by inducing an SJA1000 bus-off event. The can_sja1000_handle_error_warning_irq() handler calls can_sja1000_leave_reset_mode(), whose register-polling loop invokes k_sleep() while still in interrupt context. Exposure requires the SJA1000 backend and CONFIG_CAN_AUTO_BUS_OFF_RECOVERY=y; the resulting fatal exception halts the device.
Summary
What happened
Denial of service in Zephyr RTOS 3.3 through 3.4 allows remote attackers on the CAN bus to halt devices by inducing an SJA1000 bus-off event. The can_sja1000_handle_error_warning_irq() handler calls can_sja1000_leave_reset_mode(), whose register-polling loop invokes k_sleep() while still in interrupt context. Exposure requires the SJA1000 backend and CONFIG_CAN_AUTO_BUS_OFF_RECOVERY=y; the resulting fatal exception halts the device.
The record
- CVE
- CVE-2023-5563
- Published
- Oct 12, 2023
- Updated
- Sep 17, 2024
- Vendor
- Zephyr Project
- Product
- Zephyr RTOS
- Classifications
- CWE-703, T1499
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Oct 12, 2023CVE publishedPublication date reported by the CVE source.
- Sep 17, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.3 <=3.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- SJA1000 bus-off reproduction in issue 63712proof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo