#5318·syft

Kernel module parameters lose either their type/their description

Author: rezmossCreated Sep 22, 2026Updated Sep 22, 2026
Labelsbug

What happened:

kernel module parameters come from two separate .modinfo entries, parm=name:description & parmtype=name:type, syft only keeps t first one it parses & silently drops t second, so each parameter ends up with either a type or a description, never both

scanning img with 4 real debian modules found 23 parameters, but none had both fields

What you expected to happen:

both fields should be populated, as syfts own json schema declares for linuxkernelmoduleparameter, after t fix, t same scan had 20 of 23 parameters with both fields, while t other 3 genuinely declare only one entry.

Steps to reproduce the issue:

Dockerfile

   FROM debian:bookworm-slim AS build
   RUN apt-get update -qq && apt-get install -y -qq --no-install-recommends linux-image-amd64
   FROM debian:bookworm-slim
   COPY --from=build /lib/modules/6.1.0-53-amd64/kernel/net/netfilter/nf_conntrack.ko /lib/modules/6.1.0-53-amd64/kernel/net/netfilter/nf_conntrack.ko

Anything else we need to know?:

Environment:

  • Output of syft version: lates
  • OS (e.g: cat /etc/os-release or similar):