[OpenWrt] add fallback detection for /boot/vmlinuz#1748
Open
graysky2 wants to merge 1 commit into
Open
Conversation
Some systems (e.g. OpenWrt) trigger a false positive exception in KRNL-5830 when Lynis cannot determine the kernel version from /boot/vmlinuz. Add a fallback via file when FINDVERSION remains empty. This avoids unnecessary exceptions while preserving current behavior for existing distributions.
This was referenced May 24, 2026
graysky2
added a commit
to graysky2/packages
that referenced
this pull request
May 24, 2026
Lynis is a security auditing tool for Unix/Linux systems. It performs an in-depth security scan to detect software and security issues, installed packages, and configuration errors. This commit includes pending PRs which provide basic support for OpenWrt version 23.05 --> SNAPSHOT thanks to issue 1600[1] which includes four pending PRs[2-6]. 1. CISOfy/lynis#1600 2. CISOfy/lynis#1601 3. CISOfy/lynis#1602 4. CISOfy/lynis#1620 5. CISOfy/lynis#1621 6. CISOfy/lynis#1748 Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc Signed-off-by: John Audia <therealgraysky@proton.me>
graysky2
added a commit
to graysky2/packages
that referenced
this pull request
May 24, 2026
Lynis is a security auditing tool for Unix/Linux systems. It performs an in-depth security scan to detect software and security issues, installed packages, and configuration errors. This commit includes pending PRs which provide basic support for OpenWrt version 23.05 --> SNAPSHOT thanks to issue 1600[1] which includes five pending PRs[2-6]. 1. CISOfy/lynis#1600 2. CISOfy/lynis#1601 3. CISOfy/lynis#1602 4. CISOfy/lynis#1620 5. CISOfy/lynis#1621 6. CISOfy/lynis#1748 Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc Signed-off-by: John Audia <therealgraysky@proton.me>
graysky2
added a commit
to graysky2/packages
that referenced
this pull request
May 24, 2026
Lynis is a security auditing tool for Unix/Linux systems. It performs an in-depth security scan to detect software and security issues, installed packages, and configuration errors. This commit includes pending PRs which provide basic support for OpenWrt version 23.05 --> SNAPSHOT thanks to issue 1600[1] which includes five pending PRs[2-6]. 1. CISOfy/lynis#1600 2. CISOfy/lynis#1601 3. CISOfy/lynis#1602 4. CISOfy/lynis#1620 5. CISOfy/lynis#1621 6. CISOfy/lynis#1748 Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc Signed-off-by: John Audia <therealgraysky@proton.me>
graysky2
added a commit
to graysky2/packages
that referenced
this pull request
May 25, 2026
Lynis is a security auditing tool for Unix/Linux systems. It performs an in-depth security scan to detect software and security issues, installed packages, and configuration errors. This commit includes pending PRs which provide basic support for OpenWrt version 23.05 --> SNAPSHOT thanks to issue 1600[1] which includes five pending PRs[2-6]. 1. CISOfy/lynis#1600 2. CISOfy/lynis#1601 3. CISOfy/lynis#1602 4. CISOfy/lynis#1620 5. CISOfy/lynis#1621 6. CISOfy/lynis#1748 Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc Signed-off-by: John Audia <therealgraysky@proton.me>
graysky2
added a commit
to graysky2/packages
that referenced
this pull request
May 25, 2026
Lynis is a security auditing tool for Unix/Linux systems. It performs an in-depth security scan to detect software and security issues, installed packages, and configuration errors. This commit includes pending PRs which provide basic support for OpenWrt version 23.05 --> SNAPSHOT thanks to issue 1600[1] which includes five pending PRs[2-6]. 1. CISOfy/lynis#1600 2. CISOfy/lynis#1601 3. CISOfy/lynis#1602 4. CISOfy/lynis#1620 5. CISOfy/lynis#1621 6. CISOfy/lynis#1748 Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc Signed-off-by: John Audia <therealgraysky@proton.me>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some systems (e.g. OpenWrt) trigger a false positive exception in KRNL-5830 when Lynis cannot determine the kernel version from /boot/vmlinuz.
Add a fallback via file when FINDVERSION remains empty. This avoids unnecessary exceptions while preserving current behavior for existing distributions.