Thomas Gleixner <tglx@linutronix.de> writes:Well it was worked around, not properly fixed. This patch fixes it properly. The problem of the original workaround is that it wouldn't print the vma now in many cases because it couldn't take the semaphore. The workaround was right back then because it was shortly before the release, but it was always a ward that needed fixing properly. I believe it was a good idea anyways because there were always some possible problems with not being able to sleep in these exception handlers. Yes, but that's fine. That's not possible generally. None of these interrupts can nest in a normal kernel. Do you refer to the DEBUG_STACK ist add/dec? That is not needed for anything in tree to my knowledge. The IST is restored again after the handler. You're right that strictly wouldn't be needed and could be avoided, but i don't think it's exploitable in any ways. Regarding user controlled pt_regs: I think you're forgetting that x86-64 doesn't have vm86 mode and that we can always trust pt_regs segment indexes. On i386 you would be right, but not here. -Andi --
| Alan Cox | [PATCH 00/76] Queued TTY Patches |
| Nick Piggin | [patch 1/6] mm: debug check for the fault vs invalidate race |
| Andi Kleen | [PATCH] [1/22] x86_64: dma_ops as const |
| Linus Torvalds | Linux 2.6.27-rc8 |
git: | |
| Jeff King | Re: What's cooking in git/spearce.git (topics) |
| Jeff King | Re: [RFC] origin link for cherry-pick and revert |
| Matt Seitz (matseitz) | Symbolic link documentation |
| Jon Smirl | Huge win, compressing a window of delta runs as a unit |
| Richard Stallman | Real men don't attack straw men |
| Leon Dippenaar | New tcp stack attack |
| Nuno Magalhães | Can't scp, ssh is slow to authenticate. |
| Brandon Lee | DELL PERC 5iR slow performance |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Denys Vlasenko | Re: bnx2 dirver's firmware images |
| Pavel Emelyanov | [PATCH 0/8] Cleanup/fix the sk_alloc() call |
| Kok, Auke | Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM |
