CWE-1164: Irrelevant Code, published in 2026
Filter
The product contains code that is not essential for execution, i.e., makes no state changes and has no side effects that alter data or control flow - or is unreachable under any circumstances - such that removal of the code would have no impact to intended functionality or correctness.
What the weakness is: CWE-1164 at MITRE. All weaknesses
Ask an AI about CWE-1164
Show the prompt
Explain CWE-1164: Irrelevant Code and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/1164.html and https://cve.bz/cve/cwe/1164?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.8CVE-2026-53356linux kernelEPSS 0.1%
In the Linux kernel, the following vulnerability has been resolved: drm/i915/gem: Fix phys BO pread/pwrite with offset sg_page() returns struct page pointer not (void *) so the scaling of pread/pwrite is wrong for phys BO and wrong parts…