CVEvulnerability
CVE-2026-97916
- Status
- Received
- Published
- 2026-09-25
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Description
In the Linux kernel, the following vulnerability has been resolved:
accel/ivpu: Validate firmware log buffer metadata
The tracing log headers parsed by fw_log_print_buffer() reside in
DMA-shared BOs that the NPU firmware can write to.
fw_log_from_bo() validated log->header_size and log->size, but
fw_log_print_buffer() re-read those same fields from shared memory
afterwards, allowing a TOCTOU where firmware changes them between the
check and the use, and making the host dereference out-of-bounds
addresses while printing logs.
Snapshot the validated values once with READ_ONCE() and pass them down
explicitly in a new struct ivpu_fw_log_desc instead of re-reading them
from the shared struct.
References
- https://git.kernel.org/stable/c/0724afc55c77c36c7feb9a7264b02aa7593c5c2d git.kernel.org
- https://git.kernel.org/stable/c/07d4190d75021c38b7994045179aa29131634d4f git.kernel.org
- https://git.kernel.org/stable/c/40868f80a89199630b03d4457876f9a1feba0660 git.kernel.org
- https://git.kernel.org/stable/c/8ec3d6972f1440fae6c8dadd1859892775208759 git.kernel.org
- https://git.kernel.org/stable/c/b1555f63ee1a680f280bc18e8dac416f250e2ec3 git.kernel.org