Patchlings:面向汽车微控制器的安全保持型闪存热补丁技术
Patchlings: Safety-Preserving Flash-Based Hotpatching for Automotive Microcontrollers
AI总结:
提出首个符合汽车安全标准(ISO 26262)的闪存热补丁框架Patchlings,通过低开销、确定性的方法降低漏洞平均修复时间(MTTM),并在NXP S32K148EVB平台上验证其有效性与实用性。
摘要:
现代汽车中软件的日益普及,使得在整个车辆生命周期内提供软件更新的需求不断增长。传统的更新方法速度慢,且需要数月的重新验证以符合ISO 26262等严格的安全标准。尽管热补丁提供了一条更快的更新路径,但现有的实时嵌入式系统解决方案并不适用于汽车领域:它们忽视了法规合规性,要求大量的安全验证,并且缺乏对汽车电子控制单元(ECU)中常用的基于闪存的就地执行(XIP)架构的支持。我们提出了Patchlings,这是首个专为汽车系统的合规性、安全性和持久性而设计的热补丁框架。它填补了将热补丁应用于汽车系统的空白,并从根本上减少了漏洞和错误的平均修复时间(MTTM)。我们在汽车级硬件平台NXP S32K148EVB上实现并评估了Patchlings的完整原型,同时支持FreeRTOS和Zephyr。我们的结果表明,其开销低且具有确定性(例如,应用补丁时仅需3.3 μs),固件体积增加小(低至6.34%),并能成功修补不同类型的真实CVE,证明了其在现实世界中的适用性和有效性。
英文摘要:
The increasing presence of software in modern automobiles has created a growing need to deliver software updates throughout a vehicle's entire lifespan. Traditional update methods are slow and require months of re-validation to comply with stringent safety standards like ISO 26262. Although hotpatching offers a path to faster updates, existing solutions for real-time embedded systems are unsuitable for the automotive domain: they overlook regulatory compliance, demand extensive safety validation, and lack support for the flash-based Execute-in-Place (XIP) architecture commonly used in automotive electronic control units (ECUs). We introduce Patchlings, the first hotpatching framework designed for compliance, safety, and persistence in automotive systems. It fills the gap in applying hotpatching to automotive systems and fundamentally reduces the mean-time-to-mitigate (MTTM) for vulnerabilities and bugs. We implement and evaluate a complete prototype of Patchlings on an automotive-grade hardware platform, NXP S32K148EVB, with both FreeRTOS and Zephyr. Our results demonstrate low and deterministic overhead (e.g., 3.3 $μ$s when a patch is applied), small firmware size increase (e.g., as low as 6.34%), and successful patching of different types of real CVEs, proving its real-world applicability and effectiveness.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。