[Paper Review] Towards Reliable and Scalable Linux Kernel CVE Attribution in Automated Static Firmware Analyses
This paper proposes a scalable, automated method to improve the reliability of Linux kernel CVE attribution in firmware analysis by enriching version-based matching with kernel build data extracted from binary images. By statically analyzing firmware to recover kernel configuration and target architecture, the approach reconstructs the kernel build and filters CVEs based on file-level references in CVE descriptions, reducing false positives by 68.37% in a case study of 127 router firmware images.
In vulnerability assessments, software component-based CVE attribution is a common method to identify possibly vulnerable systems at scale. However, such version-centric approaches yield high false-positive rates for binary distributed Linux kernels in firmware images. Not filtering included vulnerable components is a reason for unreliable matching, as heterogeneous hardware properties, modularity, and numerous development streams result in a plethora of vendor-customized builds. To make a step towards increased result reliability while retaining scalability of the analysis method, we enrich version-based CVE matching with kernel-specific build data from binary images using automated static firmware analysis. We open source an attribution pipeline that gathers kernel configuration and target architecture to dry build the present kernel version and filter CVEs based on affected file references in record descriptions. In a case study with 127 router firmware images, we show that in comparison to naive version matching, our approach identifies 68% of all version CVE matches as false-positives and reliably removes them from the result set. For 12% of all matches it provides additional evidence of issue applicability. For 19.4%, our approach does not improve reliability because required file references in CVEs are missing.
Motivation & Objective
- Address the high false-positive rate in large-scale firmware vulnerability analysis caused by naive version-based CVE matching for Linux kernels.
- Improve reliability of CVE attribution without sacrificing scalability in automated static firmware analysis.
- Enable automated filtering of CVEs based on actual component inclusion in binary kernels, rather than relying solely on version numbers.
- Provide a practical, open-source pipeline for security analysts to reduce manual verification effort in firmware security assessments.
Proposed method
- Extract kernel version, target instruction set architecture (ISA), and kernel configuration from binary firmware images using static analysis.
- Reconstruct the kernel build process via dry-build using the extracted configuration and version to infer which source files are included.
- Filter CVEs based on whether the CVE description explicitly references files that are not present in the reconstructed kernel build.
- Integrate the pipeline into the FACT firmware analysis framework and release it as open source for reproducibility.
- Use NVD and CVE database records to identify affected files and compare them against the reconstructed kernel's file set.
- Apply the method to a corpus of 127 home router firmware images to evaluate performance and reliability improvements.
Experimental results
Research questions
- RQ1To what extent does version-based CVE matching overestimate vulnerability exposure in firmware due to missing component presence checks?
- RQ2Can kernel build metadata extracted from binary firmware improve the reliability of CVE attribution in static analysis?
- RQ3How effective is file-level filtering based on CVE descriptions in reducing false-positive matches for Linux kernel vulnerabilities?
- RQ4What proportion of CVEs remain unfiltered due to missing file references in CVE records, and how does this affect the method’s applicability?
- RQ5How scalable and practical is the proposed pipeline in real-world firmware analysis scenarios with heterogeneous device builds?
Key findings
- The proposed method reduced the number of false-positive CVE matches by 68.37% compared to naive version-based matching in a case study of 127 router firmware images.
- For 68% of all version-based CVE matches, the method correctly identified them as false positives by detecting that the vulnerable components were not included in the kernel build.
- For 12% of matches, the method provided additional evidence of applicability through file-level consistency checks, increasing confidence in the attribution.
- For 19.4% of matches, the method could not improve reliability because the CVE descriptions lacked file references, limiting its filtering capability.
- The method is scalable and applicable to 34.64% of the 127 firmware images analyzed, as they met the technical requirements for kernel configuration extraction and build reconstruction.
- The approach significantly reduces manual verification effort for security analysts by systematically eliminating non-applicable CVEs based on actual kernel composition.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.