AppArmor Debug: Hook being called from interrupt context

Bug #350789 reported by Ludovico Cavedon
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
John Johansen
Jaunty
Fix Released
Medium
John Johansen

Bug Description

SRU Justification:

Impact: AppArmor will cause failures when socket_sendmsg is called from interrupt context. These failures have been reported to affect bluetooth for some people in Jaunty.

Testcase: This works in testing

---

Binary package hint: apparmor

I am testing Ubuntu 9.04 beta release on amd64.
I was trying to pair my bluetooth headset. I managed to insert the PIN code, but after a few second the headset disconnected and I saw this on syslog:

AppArmor Debug: Hook being called from interrupt context
Pid: 0, comm: swapper Not tainted 2.6.28-11-generic #37-Ubuntu
Call Trace:

See the attached syslog for more details

$ uname -a
Linux cavedon-laptop 2.6.28-11-generic #37-Ubuntu SMP Mon Mar 23 16:40:00 UTC 2009 x86_64 GNU/Linux

Revision history for this message
Ludovico Cavedon (cavedon) wrote :
Revision history for this message
Kees Cook (kees) wrote :

18:15 < jjohansen> kees: yeah, that is a broken driver
18:15 < jjohansen> okay, well that is just my opinion.
18:16 < jjohansen> call socket_sendmsg from interrupt context is just gross
18:20 < jjohansen> kees: I will throw together a small patch to fix

affects: apparmor (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Medium
milestone: none → ubuntu-9.04
Revision history for this message
Ludovico Cavedon (cavedon) wrote :

I tested the patches and it solves my problem.
Thank you!

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

Just making sure this is nominated for Jaunty (as well as milestoned) so that this gets on both the kernel team and release team's radar. I'll also ping the kernel team about this. Thanks.

Changed in linux (Ubuntu Jaunty):
status: New → Triaged
Revision history for this message
Steve Langasek (vorlon) wrote :

This fix missed the cutoff for 9.04; deferring until post-release SRU.

Changed in linux (Ubuntu Jaunty):
milestone: ubuntu-9.04 → jaunty-updates
Stefan Bader (smb)
Changed in linux (Ubuntu):
assignee: nobody → John Johansen (jjohansen)
Changed in linux (Ubuntu Jaunty):
assignee: nobody → John Johansen (jjohansen)
Changed in linux (Ubuntu Jaunty):
status: Triaged → Fix Committed
Changed in linux (Ubuntu):
status: Triaged → Fix Committed
status: Fix Committed → Fix Released
Andy Whitcroft (apw)
Changed in linux (Ubuntu):
milestone: jaunty-updates → none
Stefan Bader (smb)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted linux into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
mugginz (mugginz1) wrote :

As this is the first google hit on the subject;

Just to let general users know, the fix is included in the following packages:
     linux-image-2.6.28-15-generic 2.6.28-15.52
     linux-headers-2.6.28-15-generic 2.6.28-15.52

I had to manually download them as the prescribed method of enabling the proposed packages still didn't make the updates available on my system.

They are available from the following locations if you have trouble locating them:
32 bit versions
http://mirror.internode.on.net/pub/ubuntu/ubuntu/pool/main/l/linux/linux-headers-2.6.28-15-generic_2.6.28-15.52_i386.deb
http://mirror.internode.on.net/pub/ubuntu/ubuntu/pool/main/l/linux/linux-image-2.6.28-15-generic_2.6.28-15.52_i386.deb

64 bit versions
http://mirror.internode.on.net/pub/ubuntu/ubuntu/pool/main/l/linux/linux-headers-2.6.28-15-generic_2.6.28-15.52_amd64.deb
http://mirror.internode.on.net/pub/ubuntu/ubuntu/pool/main/l/linux/linux-image-2.6.28-15-generic_2.6.28-15.52_amd64.deb

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.28-15.52

---------------
linux (2.6.28-15.52) jaunty-proposed; urgency=low

  [ Stefan Bader ]

  * Revert "SAUCE: ACPI: Populate DIDL before registering ACPI video device
    on Intel"
    - LP: #423296
  * SAUCE: Allow less restrictive acpi video detection
    - LP: #333386

  [ Upstream Kernel Changes ]

  * include drivers/pci/hotplug/* in -virtual package
    - LP: #364916
  * ext4: don't call jbd2_journal_force_commit_nested without journal
    - LP: #418197
  * ext4: fix ext4_free_inode() vs. ext4_claim_inode() race
    - LP: #418197
  * ext4: fix bogus BUG_ONs in in mballoc code
    - LP: #418197
  * ext4: fix typo which causes a memory leak on error path
    - LP: #418197
  * ext4: Fix softlockup caused by illegal i_file_acl value in on-disk
    inode
    - LP: #418197
  * ext4: Fix sub-block zeroing for writes into preallocated extents
    - LP: #418197
  * jbd2: Call journal commit callback without holding j_list_lock
    - LP: #418197
  * ext4: Print the find_group_flex() warning only once
    - LP: #367065
  * ext4: really print the find_group_flex fallback warning only once
    - LP: #367065

linux (2.6.28-15.51) jaunty-proposed; urgency=low

  [ Colin Ian King ]

  * SAUCE: wireless: hostap, fix oops due to early probing interrupt
    - LP: #254837

  [ Leann Ogasawara ]

  * Add the atl1c driver to support Atheros AR8132
    - LP: #415358
  * Updating configs to enable the atl1c driver
    - LP: #415358

  [ Stefan Bader ]

  * Revert "SAUCE: input: Blacklist digitizers from joydev.c"
    - LP: #300143
  * SAUCE: Fix the exported name for e1000e-next
    - LP: #402890
  * SAUCE: Fix incorrect stable backport to bas_gigaset
    - LP: #417732
  * SAUCE: Remove the atl2 driver from the ubuntu subdirectory
    - LP: #419438

linux (2.6.28-15.50) jaunty-proposed; urgency=low

  [ Colin Ian King ]

  * SAUCE: radio-maestro: fix panics on probe failure
    - LP: #357724
  * SAUCE: HDA Intel, sigmatel: Enable speakers on HP Mini 1000
    - LP: #318942

  [ Jerone Young ]

  * SAUCE: Fix Soltech TA12 volume hotkeys not sending key release in
    Jaunty
    - LP: #397499

  [ John Johansen ]

  * SAUCE: remove AppArmor debug check for calls from interrupt context
    - LP: #350789

  [ Manoj Iyer ]

  * SAUCE: Fix kernel panic when SELinux is enabled.
    - LP: #395219

  [ Matthew Garrett ]

  * SAUCE: ACPI: Populate DIDL before registering ACPI video device on
    Intel

  [ Michael Frey (Senior Manager, MID ]

  * SAUCE: Fix for internal microphone for Dell Mini10V
    - LP: #394793

  [ Tim Gardner ]

  * SAUCE: Added e1000e from sourceforge.
    - LP: #402890

  [ Upstream Kernel Changes ]

  * Input: synaptics - report multi-taps only if supported by the device
    - LP: #399787
  * ftdi_sio: fix kref leak
    - LP: #396930, #376128
  * IPv6: add "disable" module parameter support to ipv6.ko
    - LP: #351656

 -- Stefan Bader <email address hidden> Thu, 27 Aug 2009 15:09:06 +0200

Changed in linux (Ubuntu Jaunty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.