CVE Catalog

CVE-2026-97916

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel accel/ivpu driver, fw_log_print_buffer() re-read the log header fields from shared memory after they had been validated. This allowed a TOCTOU attack where the NPU firmware changes the values between check and use, causing out-of-bounds reads while printing logs.

Risk Assessment

This can lead to out-of-bounds memory reads and data exposure or a system crash. It affects systems with an NPU where firmware can write to DMA-shared buffers.

Recommendation

Update the Linux kernel to a version with the fix that snapshots the validated values once with READ_ONCE() and passes them explicitly in a struct ivpu_fw_log_desc.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS