Unsigned oot modules are wrongly tainted and trace events disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Trusty |
Fix Released
|
Medium
|
Andy Whitcroft | ||
Utopic |
Fix Released
|
Medium
|
Andy Whitcroft |
Bug Description
[Impact]
Developers are unable to unable to use kernel tracing functions on kernel modules they have themselves compiled. This makes Ubuntu a poor platform for module developement and debugging.
[Test Case]
Build an OOT or modified version of a module, insert it and notice that tracing becomes disabled. Apply updated kernel and confirm the same does not occur.
[Regression Potential]
This only changes the taint infrastructure to introduce a single new flag. Should be very low risk.
===
The issue is explained in detail at http://
I am trying to load a backported drm module using dkms.
It is not signed so is listed as tainted and trace points are disabled.
As explained in the above article this is because the TAINT_FORCED MODULE flag is incorrectly set for unsigned modules.
The final patch to fix this and add a TAINT_UNSIGNED_
Please consider shipping this patch.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-
ProcVersionSign
Uname: Linux 3.13.0-34-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: Unity
Date: Thu Aug 21 11:28:15 2014
HibernationDevice: RESUME=
InstallationDate: Installed on 2014-06-30 (51 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: LENOVO 0301CTO
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.127.5
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/14/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 80ET42WW (1.19 )
dmi.board.name: 0301CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 0301CTO
dmi.product.
dmi.sys.vendor: LENOVO
description: | updated |
Changed in linux (Ubuntu Trusty): | |
status: | In Progress → Fix Committed |
tags: |
added: verification-done-trusty removed: verification-needed-trusty |
This was fixed up in:
commit 66cc69e34e86a23 1fbe68d8918c611 9e3b7549a3
Author: Mathieu Desnoyers <email address hidden>
Date: Thu Mar 13 12:11:30 2014 +1030
Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_ MODULE
In: v3.15-rc1~67^2~6