Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 81667 Details for
Bug 125439
Kernel: die_if_kernel() erroneously defines noreturn attribute (CVE-2006-0742)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
die_if_kernel-can-return.patch
1468_15.6_die_if_kernel-can-return.patch (text/plain), 1.03 KB, created by
kfm
on 2006-03-07 20:49:57 UTC
(
hide
)
Description:
die_if_kernel-can-return.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2006-03-07 20:49:57 UTC
Size:
1.03 KB
patch
obsolete
>From nobody Mon Sep 17 00:00:00 2001 >From: Tony Luck <tony.luck@intel.com> >Date: Mon Feb 27 16:18:58 2006 -0800 >Subject: [PATCH] [IA64] die_if_kernel() can return (CVE-2006-0742) > >arch/ia64/kernel/unaligned.c erroneously marked die_if_kernel() >with a "noreturn" attribute ... which is silly (it returns whenever >the argument regs say that the fault happened in user mode, as one >might expect given the "if_kernel" part of its name!). Thanks to >Alan and Gareth for pointing this out. > >Signed-off-by: Tony Luck <tony.luck@intel.com> >Signed-off-by: Chris Wright <chrisw@sous-sol.org> >--- > > arch/ia64/kernel/unaligned.c | 2 +- > 1 files changed, 1 insertion(+), 1 deletion(-) > >--- linux-2.6.15.5.orig/arch/ia64/kernel/unaligned.c >+++ linux-2.6.15.5/arch/ia64/kernel/unaligned.c >@@ -24,7 +24,7 @@ > #include <asm/uaccess.h> > #include <asm/unaligned.h> > >-extern void die_if_kernel(char *str, struct pt_regs *regs, long err) __attribute__ ((noreturn)); >+extern void die_if_kernel(char *str, struct pt_regs *regs, long err); > > #undef DEBUG_UNALIGNED_TRAP >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 125439
: 81667