kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #127294
[Bug 1475428] Re: linux-lts-trusty: 3.13.0-57 introduced bad ELF layout for PIE
** Changed in: linux (Ubuntu)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu)
Status: Confirmed => Triaged
** Tags added: kernel-da-key
** Changed in: linux (Ubuntu)
Assignee: (unassigned) => Joseph Salisbury (jsalisbury)
** Changed in: linux (Ubuntu)
Status: Triaged => In Progress
** Also affects: linux (Ubuntu Trusty)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Utopic)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu Trusty)
Status: New => In Progress
** Changed in: linux (Ubuntu Utopic)
Status: New => In Progress
** Changed in: linux (Ubuntu Trusty)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Utopic)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Trusty)
Assignee: (unassigned) => Joseph Salisbury (jsalisbury)
** Changed in: linux (Ubuntu Utopic)
Assignee: (unassigned) => Joseph Salisbury (jsalisbury)
** Also affects: linux (Ubuntu Vivid)
Importance: Undecided
Status: New
** Changed in: linux (Ubuntu Vivid)
Status: New => In Progress
** Changed in: linux (Ubuntu Vivid)
Importance: Undecided => Medium
** Changed in: linux (Ubuntu Vivid)
Assignee: (unassigned) => Joseph Salisbury (jsalisbury)
--
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/1475428
Title:
linux-lts-trusty: 3.13.0-57 introduced bad ELF layout for PIE
Status in linux package in Ubuntu:
In Progress
Status in linux source package in Trusty:
In Progress
Status in linux source package in Utopic:
In Progress
Status in linux source package in Vivid:
In Progress
Bug description:
Since 3.13.0-57 there is the following patch applied:
"fs/binfmt_elf.c: fix bug in loading of PIE binaries" (https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a87938b2e246b81b4fb713edb371a9fa3c5c3c86)
But it is incomplete as its fix is missing:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b1d3ae940acd11be44c6eced5873d47c2e00ffa
And it completely messes up the PIE regions as it loads unrelated
stuff between .text and .rodata of the PIE binary.
See:
https://github.com/scanmem/scanmem/issues/122
Upstream fixed that by the following commit:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=d1fd836dcf00d2028c700c7e44d2c23404062c90
So there are two options here:
1. remove that patch
2. apply the other fixes as well
Also 3.16.0-41 is affected.
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1475428/+subscriptions
References