Since last week I am experiencing a problem which seems related to apparmor. Kernel is crashing at aa_dfa_match_len+0xd9/0xf0, and a trace like the the following appears on my system logs:
Sometimes it does not seem to have visible effects, other times it renders the system unusable. When that happens, I often need to reboot several times, as the issue appears again on the next boot process. My system is an up-to-date lucid, installation mostly by default but with several dm_crypt partitions over LVM, and virtualbox-ose installed. I have also enabled the firefox apparmor profile and several other custom profiles.
Note that I am sometimes experienced another extrange apparmor behavior, as it attaches (randomly) a profile to a process that has not a profile defined (lets say, for example, it attaches the firefox profile to gedit). I experienced that 2 or 3 times, I will try to give you more information next time I see it, maybe it is related to this.
Finally, just note that this problem seems related to bug #529288.
Hi,
Since last week I am experiencing a problem which seems related to apparmor. Kernel is crashing at aa_dfa_ match_len+ 0xd9/0xf0, and a trace like the the following appears on my system logs:
May 17 01:57:04 mplaptop kernel: [ 6430.314093] PGD 1002063 PUD 0 codec_realtek ipt_REJECT ipt_LOG xt_limit xt_tcpudp ipt_addrtype xt_state dell_wmi arc4 snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm ip6table_filter ip6_tables snd_seq_dummy nf_nat_irc snd_seq_oss nf_conntrack_irc snd_seq_midi nf_nat_ftp snd_rawmidi nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 snd_seq_midi_event nf_conntrack_ftp snd_seq nf_conntrack iwlagn iptable_filter snd_timer snd_seq_device iwlcore ip_tables snd uvcvideo videodev v4l1_compat v4l2_compat_ioctl32 x_tables mac80211 sdhci_pci dell_laptop dcdbas sdhci led_class nvidia(P) soundcore snd_page_alloc cfg80211 psmouse serio_raw uinput lp parport usbhid hid fbcon tileblit font bitblit ohci1394 softcursor ieee1394 r8169 mii ahci vga16fb vgastate intel_agp video output ffffffff8127dc4 9>] [<ffffffff8127d c49>] aa_dfa_ match_len+ 0xd9/0xf0 649d20 EFLAGS: 00010216 0(0000) GS:ffff88002830 0000(0000) knlGS:000000000 0000000 c9a>] aa_dfa_ match+0x3a/ 0x50 7d3>] aa_find_ attach+ 0x93/0xf0 80b>] apparmor_ bprm_set_ creds+0x36b/ 0x530 98e>] ? up_write+0xe/0x10 7e3>] security_ bprm_set_ creds+0x13/ 0x20 431>] prepare_ binprm+ 0xb1/0x110 29c>] do_execve+ 0x1ac/0x300 dda>] ? strncpy_ from_user+ 0x4a/0x90 5ba>] sys_execve+ 0x4a/0x80 60a>] stub_execve+ 0x6a/0xc0
May 17 01:57:04 mplaptop kernel: [ 6430.314101] CPU 1
May 17 01:57:04 mplaptop kernel: [ 6430.314103] Modules linked in: xts gf128mul binfmt_misc ppdev vboxnetadp vboxnetflt vboxdrv sha256_generic cryptd aes_x86_64 aes_generic dm_crypt joydev snd_hda_
May 17 01:57:04 mplaptop kernel: [ 6430.314159] Pid: 5065, comm: gnome-panel Tainted: P D 2.6.32-22-generic #33-Ubuntu Vostro1710
May 17 01:57:04 mplaptop kernel: [ 6430.314161] RIP: 0010:[<
May 17 01:57:04 mplaptop kernel: [ 6430.314170] RSP: 0018:ffff880116
May 17 01:57:04 mplaptop kernel: [ 6430.314172] RAX: 0000000000000039 RBX: ffff880051285a8c RCX: 0000000000000039
May 17 01:57:04 mplaptop kernel: [ 6430.314174] RDX: ffff88011e65a4f1 RSI: 0000000053726599 RDI: ffff88011e65a4f1
May 17 01:57:04 mplaptop kernel: [ 6430.314176] RBP: ffff880116649d38 R08: 0000000000000000 R09: ffff88012bbfc40c
May 17 01:57:04 mplaptop kernel: [ 6430.314177] R10: ffff88009697606c R11: ffff88011e65a4ff R12: ffff88012bbfc20c
May 17 01:57:04 mplaptop kernel: [ 6430.314179] R13: ffff88011e65a4de R14: ffff88011e65a4de R15: 0000000000000000
May 17 01:57:04 mplaptop kernel: [ 6430.314181] FS: 00007f689ffe17e
May 17 01:57:04 mplaptop kernel: [ 6430.314183] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 17 01:57:04 mplaptop kernel: [ 6430.314185] CR2: ffff8801d2a48f3e CR3: 0000000111c91000 CR4: 00000000000026e0
May 17 01:57:04 mplaptop kernel: [ 6430.314187] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
May 17 01:57:04 mplaptop kernel: [ 6430.314189] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
May 17 01:57:04 mplaptop kernel: [ 6430.314191] Process gnome-panel (pid: 5065, threadinfo ffff880116648000, task ffff8801360a8000)
May 17 01:57:04 mplaptop kernel: [ 6430.314194] ffff880096976ea0 0000000000000001 ffff88011e65a4de ffff880116649d68
May 17 01:57:04 mplaptop kernel: [ 6430.314197] <0> ffffffff8127dc9a ffff880116649db8 ffff88012e58b800 0000000000000000
May 17 01:57:04 mplaptop kernel: [ 6430.314200] <0> ffff88013fc022a8 ffff880116649db8 ffffffff8127e7d3 ffff88012e58b818
May 17 01:57:04 mplaptop kernel: [ 6430.314206] [<ffffffff8127d
May 17 01:57:04 mplaptop kernel: [ 6430.314209] [<ffffffff8127e
May 17 01:57:04 mplaptop kernel: [ 6430.314211] [<ffffffff8127f
May 17 01:57:04 mplaptop kernel: [ 6430.314215] [<ffffffff81089
May 17 01:57:04 mplaptop kernel: [ 6430.314219] [<ffffffff81250
May 17 01:57:04 mplaptop kernel: [ 6430.314223] [<ffffffff81149
May 17 01:57:04 mplaptop kernel: [ 6430.314225] [<ffffffff8114a
May 17 01:57:04 mplaptop kernel: [ 6430.314229] [<ffffffff812bb
May 17 01:57:04 mplaptop kernel: [ 6430.314233] [<ffffffff81011
May 17 01:57:04 mplaptop kernel: [ 6430.314236] [<ffffffff81013
May 17 01:57:04 mplaptop kernel: [ 6430.314265] RSP <ffff880116649d20>
May 17 01:57:04 mplaptop kernel: [ 6430.314268] ---[ end trace 2b51de9f06402b92 ]---
Sometimes it does not seem to have visible effects, other times it renders the system unusable. When that happens, I often need to reboot several times, as the issue appears again on the next boot process. My system is an up-to-date lucid, installation mostly by default but with several dm_crypt partitions over LVM, and virtualbox-ose installed. I have also enabled the firefox apparmor profile and several other custom profiles.
Note that I am sometimes experienced another extrange apparmor behavior, as it attaches (randomly) a profile to a process that has not a profile defined (lets say, for example, it attaches the firefox profile to gedit). I experienced that 2 or 3 times, I will try to give you more information next time I see it, maybe it is related to this.
Finally, just note that this problem seems related to bug #529288.