همهٔ گزارش‌ها
متوسط

kernel: firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit()

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-68401

احتمال بهره‌برداری در ۳۰ روز آینده: 0.14%

FIRST EPSS · ۱۴۰۵/۰۸/۲۶

شرح آسیب‌پذیری

In the Linux kernel, the following vulnerability has been resolved: firmware: arm_ffa: Fix out-of-bound writes in ffa_setup_and_transmit() Sashiko (locally) reports multiple out-of-bound issues in ffa_setup_and_transmit:

  1. Writing ep_mem_access->reserved can write out of bounds for FFA versions < 1.2 as ffa_emad_size_get() returns 16 bytes in that case while reserved has an offset of 24. Instead of zeroing fields, memset the struct to zero first based on the FFA version.

  2. Make sure there is enough size to write constituents. While at it, convert the only sizeof() in the driver that uses a type instead of variable.

A flaw was found in the ARM Firmware Framework for Arm (FFA) driver within the Linux kernel. This vulnerability, specifically in the ffa_setup_and_transmit() function, allows for out-of-bounds writes due to incorrect size handling when writing to memory descriptors and constituents. An attacker could potentially exploit this to corrupt memory, which may lead to system instability or a denial of service.