{"id":"CVE-2026-97916","state":"PUBLISHED","title":"accel/ivpu: Validate firmware log buffer metadata","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/ivpu: Validate firmware log buffer metadata\n\nThe tracing log headers parsed by fw_log_print_buffer() reside in\nDMA-shared BOs that the NPU firmware can write to.\n\nfw_log_from_bo() validated log->header_size and log->size, but\nfw_log_print_buffer() re-read those same fields from shared memory\nafterwards, allowing a TOCTOU where firmware changes them between the\ncheck and the use, and making the host dereference out-of-bounds\naddresses while printing logs.\n\nSnapshot the validated values once with READ_ONCE() and pass them down\nexplicitly in a new struct ivpu_fw_log_desc instead of re-reading them\nfrom the shared struct.","publishedAt":"2026-09-25T10:22:37.699Z","updatedAt":"2026-10-21T12:53:35.648Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"07d4190d75021c38b7994045179aa29131634d4f","versionType":"git"},{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"8ec3d6972f1440fae6c8dadd1859892775208759","versionType":"git"},{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"40868f80a89199630b03d4457876f9a1feba0660","versionType":"git"},{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"b1555f63ee1a680f280bc18e8dac416f250e2ec3","versionType":"git"},{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"0724afc55c77c36c7feb9a7264b02aa7593c5c2d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/ivpu/ivpu_fw_log.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/ivpu/ivpu_fw_log.c"]}],"references":["https://git.kernel.org/stable/c/07d4190d75021c38b7994045179aa29131634d4f","https://git.kernel.org/stable/c/8ec3d6972f1440fae6c8dadd1859892775208759","https://git.kernel.org/stable/c/40868f80a89199630b03d4457876f9a1feba0660","https://git.kernel.org/stable/c/b1555f63ee1a680f280bc18e8dac416f250e2ec3","https://git.kernel.org/stable/c/0724afc55c77c36c7feb9a7264b02aa7593c5c2d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/97xxx/CVE-2026-97916.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-97916","state":"PUBLISHED","datePublished":"2026-09-25T10:22:37.699Z","dateUpdated":"2026-10-21T12:53:35.648Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:18:58.201Z"},"containers":{"cna":{"title":"accel/ivpu: Validate firmware log buffer metadata","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\naccel/ivpu: Validate firmware log buffer metadata\n\nThe tracing log headers parsed by fw_log_print_buffer() reside in\nDMA-shared BOs that the NPU firmware can write to.\n\nfw_log_from_bo() validated log->header_size and log->size, but\nfw_log_print_buffer() re-read those same fields from shared memory\nafterwards, allowing a TOCTOU where firmware changes them between the\ncheck and the use, and making the host dereference out-of-bounds\naddresses while printing logs.\n\nSnapshot the validated values once with READ_ONCE() and pass them down\nexplicitly in a new struct ivpu_fw_log_desc instead of re-reading them\nfrom the shared struct."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"07d4190d75021c38b7994045179aa29131634d4f","versionType":"git"},{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"8ec3d6972f1440fae6c8dadd1859892775208759","versionType":"git"},{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"40868f80a89199630b03d4457876f9a1feba0660","versionType":"git"},{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"b1555f63ee1a680f280bc18e8dac416f250e2ec3","versionType":"git"},{"version":"d4e4257afa6ed5205eda993180401fc2c20e4b60","status":"affected","lessThan":"0724afc55c77c36c7feb9a7264b02aa7593c5c2d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/ivpu/ivpu_fw_log.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.111","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/accel/ivpu/ivpu_fw_log.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/07d4190d75021c38b7994045179aa29131634d4f"},{"url":"https://git.kernel.org/stable/c/8ec3d6972f1440fae6c8dadd1859892775208759"},{"url":"https://git.kernel.org/stable/c/40868f80a89199630b03d4457876f9a1feba0660"},{"url":"https://git.kernel.org/stable/c/b1555f63ee1a680f280bc18e8dac416f250e2ec3"},{"url":"https://git.kernel.org/stable/c/0724afc55c77c36c7feb9a7264b02aa7593c5c2d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:53:35.648Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.12.111"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}