Bug 205265

Summary: gpio_generic: module verification failed: signature and/or required key missing - tainting kernel
Product: Drivers Reporter: ilkka.prusi
Component: OtherAssignee: drivers_other
Status: NEW ---    
Severity: low    
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.4.0-rc3+ Subsystem:
Regression: No Bisected commit-id:

Description ilkka.prusi 2019-10-19 11:20:10 UTC
On a newly built kernel, gpio_generic module causes "tainting": module signature is not applied correctly when building?

$ file gpio-generic.ko 
gpio-generic.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=cbc4cea4ea876ca157e6172d7ea47429c302dff4, with debug_info, not stripped
Comment 1 ilkka.prusi 2019-10-19 11:31:03 UTC
gpio_generic is used by gpio_amdpt on x86-64:
gpio_amdpt             20480  0
gpio_generic           16384  1 gpio_amdpt
Comment 2 ilkka.prusi 2019-10-20 18:06:21 UTC
Taint appears on newer kernel (5.4.0-rc3+) as well with Debian/testing.

gcc (Debian 9.2.1-8) 9.2.1 20190909

CPU: 1 PID: 465 Comm: systemd-udevd Tainted: G            E     5.4.0-rc3+ #3