Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1088763

Bug#1003210: Linux kernel module loading failing with "failed to validate module" error

From Fabian Grünbichler <fabian.gruenbichler@student.tuwien.ac.at>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1003210: Linux kernel module loading failing with "failed to validate module" error
Date 2022-01-09 10:00 +0100
Message-ID <DDCdr-6EU-3@gated-at.bofh.it> (permalink)
References <DCyvf-72n-3@gated-at.bofh.it> <DCyvf-72n-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Thu, Jan 06, 2022 at 10:18:23AM +0000, Ben Dooks wrote:
> Package: linux-image-5.15.0-2-amd64
> Version: 5.15.5-2
> 
> Dmesg output when mmc card is inserted:
> 
> 
> [137854.880467] mmc0: cannot verify signal voltage switch
> [137855.004774] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
> [137855.009414] BPF:     type_id=6 bits_offset=416
> [137855.009418] BPF:
> [137855.009419] BPF:Invalid name
> [137855.009420] BPF:
> [137855.009422] failed to validate module [mmc_block] BTF: -22
> 
> # cat /etc/debian_version
> bookworm/sid

see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998716 for more
info.

the workaround: ensure the booted kernel and the on-disk kernel modules
are from the same build: either reboot (possibly needs to regenerate
initrd first) or downgrade the on-disk kernel to the booted version.

TL;DRL: Debian either needs to start bumping ABI for every upload, or
hard-disable generating split BTF info for kernel modules

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1003210: Linux kernel module loading failing with "failed to validate module" error Ben Dooks <ben.dooks@codethink.co.uk> - 2022-01-06 11:50 +0100
  Bug#1003210: Module loading also fails on boot Martijn van de Streek <martijn@vandestreek.xyz> - 2022-01-06 18:50 +0100
  Bug#1003210: Wi-Fi, tun, and USB Hard Disks Jan Hasebos <jan@hasebos.net> - 2022-01-08 00:20 +0100
  Bug#1003210: Linux kernel module loading failing with "failed to validate module" error Fabian Grünbichler <fabian.gruenbichler@student.tuwien.ac.at> - 2022-01-09 10:00 +0100
    Bug#1003210: Linux kernel module loading failing with "failed to validate module" error Jan Hasebos <jan@hasebos.net> - 2022-01-09 21:00 +0100

csiph-web