Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 125439

Summary: Kernel: die_if_kernel() erroneously defines noreturn attribute (CVE-2006-0742)
Product: Gentoo Security Reporter: kfm
Component: KernelAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: security-kernel
Priority: High    
Version: unspecified   
Hardware: IA64   
OS: Linux   
URL: http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.15.y.git;a=commit;h=e8dc2c9e3c9ca640742630481329abb727f2dc6b
Whiteboard: [linux <2.6.15.6]
Package list:
Runtime testing required: ---
Attachments:
Description Flags
die_if_kernel-can-return.patch none

Description kfm 2006-03-07 20:48:53 UTC
According to the commit "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." The following kernels/patchsets are unaffected:

  * >=vanilla-sources-2.6.15.6
  * >=gentoo-sources-2.6.15-r7
  * >=genpatches-2.6.15-10

Patch here: http://tinyurl.com/qdzkr.
Comment 1 kfm 2006-03-07 20:49:57 UTC
Created attachment 81667 [details, diff]
die_if_kernel-can-return.patch

Patch. Also applies to 2.6.14.
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2006-03-11 11:09:22 UTC
IA64 only has gentoo-sources keyworded (and I've now stabled -r7) so this can be closed.