CVE-2026-97916 PUBLISHED

accel/ivpu: Validate firmware log buffer metadata

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from d4e4257afa6ed5205eda993180401fc2c20e4b60 to 8ec3d6972f1440fae6c8dadd1859892775208759 (excl.)
  • affected from d4e4257afa6ed5205eda993180401fc2c20e4b60 to 40868f80a89199630b03d4457876f9a1feba0660 (excl.)
  • affected from d4e4257afa6ed5205eda993180401fc2c20e4b60 to b1555f63ee1a680f280bc18e8dac416f250e2ec3 (excl.)
  • affected from d4e4257afa6ed5205eda993180401fc2c20e4b60 to 0724afc55c77c36c7feb9a7264b02aa7593c5c2d (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 6.6 is affected
  • unaffected from 0 to 6.6 (excl.)
  • unaffected from 6.12.111 to 6.12.* (incl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc3 to * (incl.)

References