← Back to team overview

kernel-packages team mailing list archive

[Bug 1338883] Re: Yama PR_SET_PTRACER_ANY fails on 32-bit user with 64-bit kernel

 

** Changed in: linux (Ubuntu Precise)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Tags added: precise

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1338883

Title:
  Yama PR_SET_PTRACER_ANY fails on 32-bit user with 64-bit kernel

Status in “linux” package in Ubuntu:
  Fix Released
Status in “linux” source package in Precise:
  New

Bug description:
  This is an old bug that looks like the fix missed Precise since Yama
  was backported there. Yama was introduced in 3.4, but Precise is 3.2
  with Yama backported. The upstream fix for this bug is missing, which
  can cause problems when a Yama-aware program is running in 32-bit
  userspace (e.g. chroot) on a 64-bit kernel.

  Fixed upstream by 2e4930eb7c8fb20a39dfb5f8a8f80402710dcea8

  SRU Justification:
  - impact: Yama programs running in 32-bit chroots will fail to work correctly
  - test case: prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY, ...) shouldn't return EINVAL on 32-bit userspace
  - regression potential: nearly zero. this restores a missing function, and the patch is trivial and upstream for years.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1338883/+subscriptions


References