On Fri, 2 May 2008, Andi Kleen wrote:The print_vma_addr() bug was introduced by commit 03252919 (by you) in the 2.6.25 merge window and we fixed it before 25-rc2 via commit e8bff74a. Do you know about any other breakage in that code? If not, why do you claim that we ignored a bug fix? + MCE Aside of the fact, that it has been fixed long time ago in a simple and non dangerous way already, your "fix" adds a far more serious regression: This introduces two security bugs in one go: 1.) The IST stack pointer is elevated unconditionaly and with your change we can now schedule away in the handler. Then another task on this same CPU triggers the same trap and elevates it again. This can nest multiple times and there is no protection against an IST stack overflow at all! This is probably a nice fat user-triggerable root hole in fact! Exploitable because user-space has control over the pt_regs data, so by nesting enough such overflows a critical kernel data structure can probably be written with near-arbitrary content. At minimum you've introuduced a nasty DoS hole that would almost never trigger during normal loads - it would probably result in extremely hard to debug memory corruption in data structures that are near the IST stacks. 2.) The IST stack pointer is unbalanced in the other direction as well: it is incremented on CPUn then the handler is scheduled away and migrated to CPUm. After return from the handler the IST stacks of both CPUs are corrupted. Exploitable by unprivileged user-space code as well. Thanks, tglx --
| Yu Zhao | [PATCH 2/16 v6] PCI: define PCI resource names in an 'enum' |
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment |
| Laurent Riffard | Re: 2.6.23-mm1: BUG in reiserfs_delete_xattrs |
| Ben Crowhurst | Kernel Development & Objective-C |
git: | |
| Kyle Rose | [OT] Re: C++ *for Git* |
| cte | linking libgit.a in C++ projects |
| Linus Torvalds | Re: CRLF problems with Git on Win32 |
| Pierre Habouzit | Re: [PATCH] bundle, fast-import: detect write failure |
| Thor Lancelot Simon | Re: sysctl knob to let sugid processes dump core (pr 15994) |
| YAMAMOTO Takashi | Re: Patches for EST and SMP |
| Bill Studenmund | Re: @booted_kernel magic symlink? |
| Adam Hamsik | Re: Thread benchmarks, round 2 |
| Chris | OpenBSD 4.4 installation error: write failed; file system full |
| Samuel Moñux | Cyrus IMAP performance problems [Long] |
| Steve B | Intel Atom and D945GCLF2 |
| James Hartley | scp batch mode? |
