apparmor kernel BUG kills firefox
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | linux (Ubuntu) |
Medium
|
John Johansen | ||
Bug Description
I got this kernel BUG last night and its happened a couple of times
now since I upgraded to Utopic. When it happens one of my firefoxs
will becomes non-functional and I have to reboot to get it unstuck.
I'm using encrypted home dir (ecryptfs) and the packaged firefox
profile in enforce mode with a small
/etc/apparmor.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: linux-image-
ProcVersionSign
Uname: Linux 3.16.0-31-generic x86_64
ApportVersion: 2.14.7-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/pcmC0D0p: james 3599 F...m pulseaudio
/dev/snd/
CurrentDesktop: Unity
Date: Tue Mar 10 21:38:33 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2011-10-20 (1237 days ago)
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: TOSHIBA TECRA R840
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.138.1
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to utopic on 2015-01-05 (64 days ago)
dmi.bios.date: 07/12/2011
dmi.bios.vendor: TOSHIBA
dmi.bios.version: Version 2.90
dmi.board.
dmi.board.name: Portable PC
dmi.board.vendor: TOSHIBA
dmi.board.version: Version A0
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: TOSHIBA
dmi.chassis.
dmi.modalias: dmi:bvnTOSHIBA:
dmi.product.name: TECRA R840
dmi.product.
dmi.sys.vendor: TOSHIBA
Related branches
| James Troup (elmo) wrote : | #1 |
| James Troup (elmo) wrote : | #2 |
| Changed in linux (Ubuntu): | |
| status: | New → Confirmed |
| tags: | added: bios-outdated-4.10 |
| tags: | added: regression-release |
| Changed in linux (Ubuntu): | |
| importance: | Undecided → Medium |
| status: | Confirmed → Incomplete |
| Changed in linux (Ubuntu): | |
| status: | Incomplete → Confirmed |
| tags: | added: kernel-da-key |
| John Johansen (jjohansen) wrote : | #6 |
Christopher,
Testing upstream kernels will not help with this issue as Ubuntu carries a newer version of apparmor than is currently upstream. From the back trace it is clear to me that the bug is in the newer code that ubuntu is carrying. I am working on a patch and have a test kernel building.
| Changed in linux (Ubuntu): | |
| status: | Confirmed → Triaged |
| John Johansen (jjohansen) wrote : | #7 |
Can you please install the following test kernel and report whether it fixes the issue
| John Johansen (jjohansen) wrote : | #8 |
After looking at this some bug some more the above fix, addresses a different issue.
There is something else going on here, either there is a hardware problem, or something at some point is scribbling on kernel memory resulting in an invalid op code.
James,
If you hit any more oops please attach them so we can compare and try and figure out what is going on
| Tyler Hicks (tyhicks) wrote : | #9 |
I've hit this bug in Vivid while attempting to join a Google Hangout. Just before attempting to join the Hangout, I reloaded the Firefox profile in complain mode while Firefox was already running.
| Changed in linux (Ubuntu): | |
| assignee: | nobody → John Johansen (jjohansen) |
| John Johansen (jjohansen) wrote : | #10 |
So this is failing because the task->cred does not equal the task->real_cred during the update of the cred on the task
| John Johansen (jjohansen) wrote : | #11 |
There is a new test kernel for this issue at
| Tyler Hicks (tyhicks) wrote : | #12 |
The test kernel linked in comment #11 has been solid for me. I've not hit this oops while running it. I accidentally rebooted into the latest Vivid kernel and the kernel oopsed upon joining a Google Hangout.
| Launchpad Janitor (janitor) wrote : | #13 |
This bug was fixed in the package linux - 4.4.0-9.24
---------------
linux (4.4.0-9.24) xenial; urgency=low
[ Tim Gardner ]
* Release Tracking Bug
- LP: #1551319
* AppArmor logs denial for when the device path is ENOENT (LP: #1482943)
- SAUCE: apparmor: fix log of apparmor audit message when kern_path() fails
* BUG: unable to handle kernel NULL pointer dereference (aa_label_merge) (LP:
#1448912)
- SAUCE: apparmor: Fix: insert race between label_update and label_merge
- SAUCE: apparmor: Fix: ensure aa_get_newest will trip debugging if the
replacedby is not setup
- SAUCE: apparmor: Fix: label merge handling of marking unconfined and stale
- SAUCE: apparmor: Fix: refcount race between locating in labelset and get
- SAUCE: apparmor: Fix: ensure new labels resulting from merge have a
replacedby
- SAUCE: apparmor: Fix: label_vec_merge insertion
- SAUCE: apparmor: Fix: deadlock in aa_put_label() call chain
- SAUCE: apparmor: Fix: add required locking of __aa_update_
merge path
- SAUCE: apparmor: Fix: convert replacedby update to be protected by the
labelset lock
- SAUCE: apparmor: Fix: update replacedby allocation to take a gfp parameter
* apparmor kernel BUG kills firefox (LP: #1430546)
- SAUCE: apparmor: Disallow update of cred when then subjective != the
objective cred
- SAUCE: apparmor: rework retrieval of the current label in the profile update
case
* sleep from invalid context in aa_move_mount (LP: #1539349)
- SAUCE: apparmor: fix sleep from invalid context
* s390x: correct restore of high gprs on signal return (LP: #1550468)
- s390/compat: correct restore of high gprs on signal return
* missing SMAP support (LP: #1550517)
- x86/entry/compat: Add missing CLAC to entry_INT80_32
* Floating-point exception handler receives empty Data-Exception Code in
Floating Point Control register (LP: #1548414)
- s390/fpu: signals vs. floating point control register
* kvm fails to boot GNU Hurd kernels with 4.4 Xenial kernel (LP: #1550596)
- KVM: x86: fix conversion of addresses to linear in 32-bit protected mode
* Surelock GA2 SP1: capiredp01: cxl_init_adapter fails for CAPI devices
0000:01:00.0 and 0005:01:00.0 after upgrading to 840.10 Platform firmware
build fips840/
- cxl: Fix PSL timebase synchronization detection
* [Feature]EDAC support for Knights Landing (LP: #1519631)
- EDAC, sb_edac: Set fixed DIMM width on Xeon Knights Landing
* Various failures of kernel_security suite on Xenial kernel on s390x arch
(LP: #1531327)
- [config] s390x -- CONFIG_
* Unable to install VirtualBox Guest Service in 15.04 (LP: #1434579)
- [Config] Provides: virtualbox-
* linux is missing provides for virtualbox-
#1507588)
- [Config] Provides: virtualbox-
* Backport more recent driver for SKL, KBL and BXT graphics (LP: #1540390)
- SAUCE: i915_bpo: Provide a backport driver for SKL, KBL & BXT graphics
- SA...
| Changed in linux (Ubuntu): | |
| status: | Triaged → Fix Released |


This change was made by a bot.