[Bug 567956] Re: ARM: Incorrect prefetch abort handling can cause a spin instead of SIGSEGV
Dave Martin
Dave.Martin at arm.com
Thu Apr 22 11:11:19 UTC 2010
** Description changed:
http://article.gmane.org/gmane.linux.kernel.commits.head/213639
" ARM: 5728/1: Proper prefetch abort handling on ARMv6 and ARMv7
Currently, on ARMv6 and ARMv7, if an application tries to execute
code (or garbage) on non-executable page it hangs. It caused by
incorrect prefetch abort handling. Now every prefetch abort
processes as a translation fault. "
- I believe the patch was merges in 2.6.32, so it is _probably_ already
- applied in the dove tree (but it might be worth checking)
+ I believe the patch was merges in 2.6.32, so it is _probably_ already applied in the dove tree (but it might be worth checking)
+ [update: This bug does *not* affect the dove tree— confirmed]
This patch doesn't appear critical; it just affects cases where
processes are already crashing by trying to execute in invalid address
space. I'm not aware of any real problems in lucid caused by this at
present.
Test case:
int main(void)
{
((void (*)(void))0xc0000000)();
}
Desired result is SIGSEGV.
--
ARM: Incorrect prefetch abort handling can cause a spin instead of SIGSEGV
https://bugs.launchpad.net/bugs/567956
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-fsl-imx51 in ubuntu.
More information about the kernel-bugs
mailing list