#1108225 RFS: kernel-hardening-checker/0.6.10.1-1 [ITP] -- Tool for checking Linux kernel security hardening options #1108225
- Package:
- sponsorship-requests
- Source:
- sponsorship-requests
- Submitter:
- Kirill Rekhov
- Date:
- 2025-07-09 17:05:01 UTC
- Severity:
- normal
- Tags:
Dear mentors, I am looking for a sponsor for my package "kernel-hardening-checker": * Package name: kernel-hardening-checker Version: 0.6.10.1-1 Upstream contact: Alexander Popov <alex.popov@linux.com> * URL: https://github.com/a13xp0p0v/kernel-hardening-checker * License: GPL-3 * Vcs: https://salsa.debian.org/krekhov/kernel-hardening-checker Section: admin The source builds the following binary packages: kernel-hardening-checker - Tool for checking Linux kernel security hardening options To access further information about this package, please visit the following URL: https://mentors.debian.net/package/kernel-hardening-checker/ Alternatively, you can download the package with 'dget' using this command: dget -x https://mentors.debian.net/debian/pool/main/k/kernel-hardening-checker/kernel-hardening-checker_0.6.10.1-1.dsc Changes for the initial release: kernel-hardening-checker (0.6.10.1-1) unstable; urgency=medium . * Initial release (Closes: #1108174) Regards, -- Kirill Rekhov
Kirill, Review of upload: 2025-06-23 15:42 For information about the tests run, see: https://wiki.debian.org/PhilWyett/DebianMentoring Test 6 (debian/watch): Information only philwyett@ks-tarkin:~/Development/builder/debian/kernel-hardening-checker- 0.6.10.1$ uscan --dehs <dehs> Newest version of kernel-hardening-checker on remote site is 2024.01.24, local version is 0.6.10.1 => Newer package available from: => https://github.com/vimwiki/vimwiki/archive/refs/tags/v2024.01.24.tar.gz Successfully renamed ../v2024.01.24.tar.gz to ../kernel-hardening- checker_2024.01.24.orig.tar.gz. <package>kernel-hardening-checker</package> <debian-uversion>0.6.10.1</debian-uversion> <debian-mangled-uversion>0.6.10.1</debian-mangled-uversion> <upstream-version>2024.01.24</upstream-version> <upstream- url>https://github.com/vimwiki/vimwiki/archive/refs/tags/v2024.01.24.tar.gz</ups tream-url> <status>newer package available</status> <target>kernel-hardening-checker_2024.01.24.orig.tar.gz</target> <target-path>../kernel-hardening-checker_2024.01.24.orig.tar.gz</target-path> <messages>Successfully downloaded upstream package: v2024.01.24.tar.gz </messages> </dehs> Summary ======= We seem to looking for vimwiki upstream packages rather tha the correct ones. I see a copy and paste here that was not edited to correct settings. :-)
Kirill, Review of upload: 2025-06-23 15:42 For information about the tests run, see: https://wiki.debian.org/PhilWyett/DebianMentoring Test 6 (debian/watch): Information only philwyett@ks-tarkin:~/Development/builder/debian/kernel-hardening-checker- 0.6.10.1$ uscan --dehs <dehs> Newest version of kernel-hardening-checker on remote site is 2024.01.24, local version is 0.6.10.1 => Newer package available from: => https://github.com/vimwiki/vimwiki/archive/refs/tags/v2024.01.24.tar.gz Successfully renamed ../v2024.01.24.tar.gz to ../kernel-hardening- checker_2024.01.24.orig.tar.gz. <package>kernel-hardening-checker</package> <debian-uversion>0.6.10.1</debian-uversion> <debian-mangled-uversion>0.6.10.1</debian-mangled-uversion> <upstream-version>2024.01.24</upstream-version> <upstream- url>https://github.com/vimwiki/vimwiki/archive/refs/tags/v2024.01.24.tar.gz</ups tream-url> <status>newer package available</status> <target>kernel-hardening-checker_2024.01.24.orig.tar.gz</target> <target-path>../kernel-hardening-checker_2024.01.24.orig.tar.gz</target-path> <messages>Successfully downloaded upstream package: v2024.01.24.tar.gz </messages> </dehs> Summary ======= We seem to looking for vimwiki upstream packages rather tha the correct ones. I see a copy and paste here that was not edited to correct settings. :-)
Phil, yes, thanks for noticing, it was funny =) --- Regards, Kirill Rekhov GPG Fingerprint: 2640 769D FDA1 AAA0 F863 D1AE 5F2C 5905 519C E0A0
Kirill, Review of upload: 2025-06-25 11:42 For information about the tests run, see: https://wiki.debian.org/PhilWyett/DebianMentoring Note: If test line removed, it indicates a test pass. Summary ======= Looks great now. Many thanks for the prompt response. Tagging as 'confirmed'. Hope a DD will find time soon to review and possibly upload.
Kirill, Review of upload: 2025-06-25 11:42 For information about the tests run, see: https://wiki.debian.org/PhilWyett/DebianMentoring Note: If test line removed, it indicates a test pass. Summary ======= Looks great now. Many thanks for the prompt response. Tagging as 'confirmed'. Hope a DD will find time soon to review and possibly upload.
Hello, thanks for packaging this. I was going to upload but when trying it I couldn't really get it to work: $ kernel-hardening-checker --mode verbose -a [+] Special report mode: verbose [+] Going to autodetect and check the security hardening options of the running kernel [-] ERROR: parsing /proc/version failed: failed to parse the version "6.12.35+deb13-amd64" Is this normal? Am I doing something wrong? Perhaps you want to add some examples of usage in the manpage before we upload it?
Hi, Salvo
Yes, we added man with upstream author, in version 0.6.10.2-1 you can do:
$ man kernel-hardening-checker
you are doing everything right, this command works for me:
$ sudo kernel-hardening-checker --mode verbose -a
[+] Special report mode: verbose
[+] Going to autodetect and check the security hardening options of the
running kernel
[+] Detected version of the running kernel: (6, 1, 0)
[+] Detected kconfig file of the running kernel: /boot/config-6.1.0-32-amd64
[+] Detected cmdline parameters of the running kernel: /proc/cmdline
[+] Saved sysctls to a temporary file /tmp/sysctl-pyrxvnl5
[+] Detected architecture: X86_64
[+] Detected compiler: GCC 120200
[?] No check for kconfig option CONFIG_CC_VERSION_TEXT ("gcc-12 (Debian
12.2.0-14) 12.2.0")
[?] No check for kconfig option CONFIG_GCC_VERSION (120200)
[?] No check for kconfig option CONFIG_CLANG_VERSION (0)
[?] No check for kconfig option CONFIG_AS_IS_GNU (y)
[?] No check for kconfig option CONFIG_AS_VERSION (24000)
[?] No check for kconfig option CONFIG_LD_IS_BFD (y)
...
but for some reason it doesn't work for you and I don't know why, you can
refer
to https://github.com/a13xp0p0v/kernel-hardening-checker/issues
---
Regards, Kirill Rekhov
GPG Fingerprint:
2640 769D FDA1 AAA0 F863 D1AE 5F2C 5905 519C E0A0
вт, 8 июл. 2025 г. в 20:52, Salvo Tomaselli <tiposchi@tiscali.it>:
Hello, well I have a completely default debian installed kernel so if it fails with debian kernels perhaps it needs some more work before being in debian? You could try with a sid vm in qemu maybe… In data mercoledì 9 luglio 2025 16:12:55 Ora legale dell’Europa centrale, Kirill Rekhov ha scritto:
A quick guess is that the change to include "+deb13" in the kernel version is what's causing the breakage: https://salsa.debian.org/kernel-team/linux/-/merge_requests/1524 Mathias