[Bug 791019] Re: yama_ptracer_del lockdep warning
** Changed in: linux-ti-omap4 (Ubuntu Natty) Status: New => Fix Released ** Changed in: linux-ti-omap4 (Ubuntu Oneiric) Status: Fix Committed => Fix Released ** Changed in: linux-ti-omap4 (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
** Changed in: linux-ti-omap4 (Ubuntu Oneiric) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
This bug was fixed in the package linux - 2.6.38-11.48 --- linux (2.6.38-11.48) natty-proposed; urgency=low [Herton R. Krzesinski] * Release Tracking Bug - LP: #818175 [ Upstream Kernel Changes ] * Revert "HID: magicmouse: ignore 'ivalid report id' while switching modes" - LP: #814250 linux (2.6.38-11.47) natty-proposed; urgency=low [Steve Conklin] * Release Tracking Bug - LP: #811180 [ Keng-Yu Lin ] * SAUCE: Revert: "dell-laptop: Toggle the unsupported hardware killswitch" - LP: #775281 [ Ming Lei ] * SAUCE: fix yama_ptracer_del lockdep warning - LP: #791019 [ Stefan Bader ] * SAUCE: Re-enable RODATA for i386 virtual - LP: #809838 [ Tim Gardner ] * [Config] Add grub-efi as a recommended bootloader for server and generic - LP: #800910 * SAUCE: rtl8192se: Force a build for a 2.6/3.0 kernel - LP: #805494 [ Upstream Kernel Changes ] * Revert "bridge: Forward reserved group addresses if !STP" - LP: #793702 * Fix up ABI directory * bonding: Incorrect TX queue offset, CVE-2011-1581 - LP: #792312 - CVE-2011-1581 * fs/partitions/efi.c: corrupted GUID partition tables can cause kernel oops - LP: #795418 - CVE-2011-1577 * usbnet/cdc_ncm: add missing .reset_resume hook - LP: #793892 * ath5k: Disable fast channel switching by default - LP: #767192 * mm: vmscan: correctly check if reclaimer should schedule during shrink_slab - LP: #755066 * mm: vmscan: correct use of pgdat_balanced in sleeping_prematurely - LP: #755066 * ALSA: hda - Use LPIB for ATI/AMD chipsets as default - LP: #741825 * ALSA: hda - Enable snoop bit for AMD controllers - LP: #741825 * ALSA: hda - Enable sync_write workaround for AMD generically - LP: #741825 * cpuidle: menu: fixed wrapping timers at 4.294 seconds - LP: #774947 * drm/i915: Fix gen6 (SNB) missed BLT ring interrupts. - LP: #761065 * USB: ehci: remove structure packing from ehci_def - LP: #791552 * drm/i915: disable PCH ports if needed when disabling a CRTC - LP: #791752 * kmemleak: Do not return a pointer to an object that kmemleak did not get - LP: #793702 * kmemleak: Initialise kmemleak after debug_objects_mem_init() - LP: #793702 * Fix _OSC UUID in pcc-cpufreq - LP: #793702 * CPU hotplug, re-create sysfs directory and symlinks - LP: #793702 * Fix memory leak in cpufreq_stat - LP: #793702 * net: recvmmsg: Strip MSG_WAITFORONE when calling recvmsg - LP: #793702 * ftrace: Only update the function code on write to filter files - LP: #793702 * qla2xxx: Fix hang during driver unload when vport is active. - LP: #793702 * qla2xxx: Fix virtual port failing to login after chip reset. - LP: #793702 * qla2xxx: Fix vport delete hang when logins are outstanding. - LP: #793702 * powerpc/kdump64: Don't reference freed memory as pacas - LP: #793702 * powerpc/kexec: Fix memory corruption from unallocated slaves - LP: #793702 * x86, cpufeature: Fix cpuid leaf 7 feature detection - LP: #793702 * ath9k_hw: do noise floor calibration only on required chains - LP: #793702 * ath9k_hw: fix power for the HT40 duplicate frames - LP: #793702 * ath9k_hw: fix dual band assumption for XB113 - LP: #793702 * ath9k_hw: Fix STA connection issues with AR9380 (XB113). - LP: #793702 * powerpc: Set nr_cpu_ids early and use it to free PACAs - LP: #793702 * powerpc/oprofile: Handle events that raise an exception without overflowing - LP: #793702 * iwlagn: fix iwl_is_any_associated - LP: #793702 * block: rescan partitions on invalidated devices on -ENOMEDIA too - LP: #793702 * block: move bd_set_size() above rescan_partitions() in __blkdev_get() - LP: #793702 * paride: Convert to bdops->check_events() - LP: #793702 * gdrom,viocd: Convert to bdops->check_events() - LP: #793702 * ide: Convert to bdops->check_events() - LP: #793702 * block: don't block events on excl write for non-optical devices - LP: #793702 * block: Fix discard topology stacking and reporting - LP: #793702 * block: add proper state guards to __elv_next_request - LP: #793702 * block: always allocate genhd->ev if check_events is implemented - LP: #793702 * mtd: mtdconcat: fix NAND OOB write - LP: #793702 * mtd: return badblockbits back - LP: #793702 * x86, 64-bit: Fix copy_[to/from]_user() checks for the userspace address limit - LP: #793702 * ext4: fix possible use-after-free in ext4_remove_li_request() - LP: #793702 * iwlwifi: fix bugs in change_interface - LP: #793702 * nl80211: Fix set_key regression with some drivers - LP: #793702 * mac80211: fix a few RCU issues - LP: #793702 * wire up fanotify syscalls - LP: #793702 * wire up clock_adjtime syscall - LP: #793702 * drm: Send pending vblank events before disabling v
[Bug 791019] Re: yama_ptracer_del lockdep warning
SRU Justification against Ubuntu-2.6.38-11.47: - does fix the lockdep warning - normal function is good, and can boot well into natty see attachment dmesg ** Attachment added: "2.6.38-11-generic.dmsg" https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/791019/+attachment/2234095/+files/2.6.38-11-generic.dmsg ** Tags removed: verification-needed-natty ** Tags added: erification-done-natty ** Tags removed: erification-done-natty ** Tags added: verification-done-natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
In fact, I have done SRU Justification before submitting the patch into kernel-t...@lists.ubuntu.com. see https://lists.ubuntu.com/archives/kernel-team/2011-June/016037.html I am sure the patch did not affect normal function and only fixed the lockdep warning, and Tim already Acked it. thanks, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
SRU Justification Impact: yama_ptracer_del can be called in softirq context causing lockdep warnings Patch Description: Use spin_lock_bh/spin_unlock_bh to protect list manipulation against soft IRQ contexts. ** Patch added: "UBUNTU: SAUCE: fix yama_ptracer_del lockdep warning" https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/791019/+attachment/2219596/+files/0001-UBUNTU-SAUCE-fix-yama_ptracer_del-lockdep-warning.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
This bug misses SRU justification, please update this bug with it as explained on https://wiki.ubuntu.com/KernelTeam/StableHandbook/StableProcess#Workflow_for_SRU_Patches Also, this bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed- natty' to 'verification-done-natty'. If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you! ** Tags added: verification-needed-natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
This bug was fixed in the package linux - 3.0.0-4.5 --- linux (3.0.0-4.5) oneiric; urgency=low [ Ming Lei ] * SAUCE: fix yama_ptracer_del lockdep warning - LP: #791019 [ Seth Forshee ] * SAUCE: (drop after 3.0) asus-wmi: Add callback for hotkey filtering * SAUCE: (drop after 3.0) eeepc-wmi: Add support for T101MT Home/Express Gate key * SAUCE: (drop after 3.0) asus-wmi: Enable autorepeat for hotkey input device * [Config] CONFIG_{ASUS,ASUS_NB,EEEPC}_WMI=m - LP: #805218 [ Tim Gardner ] * [Config] updateconfigs after rebase to -rc6+ Rebased against 4dd1b49c6d215dc41ce50c80b4868388b93f31a3 * Adopt a 3 digit verion, e.g., 3.0.0-x.x * Revert "UBUNTU: add dependancies for module-init-tools" This dependency is no longer required for a 3 digit version. -- Tim GardnerTue, 05 Jul 2011 14:03:04 +0100 ** Changed in: linux (Ubuntu Oneiric) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
Now security_task_free is called from __put_task_struct in ubuntu kernel, and __put_task_struct c can surely be called in softirq context.In upstream, there are no security_task_free at all. If not calling security_task_free, where is it called from? Seems depending on security implementation, also more difficult fix will be involved than *_bh fix. Any way, using spin_[un]lock_bh is a easy fix, and no obvious performance degrade is introduced. I don't know security well, so let your guys decide how to fix this, :-) thanks, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
Thanks for catching this! Is this perhaps a problem at a higher level? (I.e. should security_task_free be called in a different way so that its hooks (like yama_ptracer_del) do not need to use the _bh locking mechanisms? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
** Also affects: linux-ti-omap4 (Ubuntu Natty) Importance: Undecided Status: New ** Also affects: linux-ti-omap4 (Ubuntu Oneiric) Importance: Medium Assignee: Ming Lei (tom-leiming) Status: Triaged ** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
The attachment patch does fix the warning, yama_ptracer_del can be called in softirq context, also can be run in common process context, so use spin_lock_bh to fix it. ** Attachment added: "fix_yama_lsm_lockdep_warning.log" https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/791019/+attachment/2184348/+files/fix_yama_lsm_lockdep_warning.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
attach another lockdep warning in yama_ptracer_del path. ** Attachment added: "yama_ptracer_del-lockdep-warning.log" https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/791019/+attachment/2184345/+files/yama_ptracer_del-lockdep-warning.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
** Changed in: linux-ti-omap4 (Ubuntu) Assignee: (unassigned) => Ming Lei (tom-leiming) ** Changed in: linux-ti-omap4 (Ubuntu) Importance: Undecided => Medium ** Changed in: linux-ti-omap4 (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/791019/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 791019] Re: yama_ptracer_del lockdep warning
** Attachment added: "yama-lockdep-warning.log" https://bugs.edge.launchpad.net/bugs/791019/+attachment/2149973/+files/yama-lockdep-warning.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/791019 Title: yama_ptracer_del lockdep warning -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs