Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125439 - Kernel: die_if_kernel() erroneously defines noreturn attribute (CVE-2006-0742)
Summary: Kernel: die_if_kernel() erroneously defines noreturn attribute (CVE-2006-0742)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: IA64 Linux
: High normal (vote)
Assignee: Gentoo Security
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard: [linux <2.6.15.6]
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 20:48 UTC by kfm
Modified: 2009-07-11 09:47 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
die_if_kernel-can-return.patch (1468_15.6_die_if_kernel-can-return.patch,1.03 KB, patch)
2006-03-07 20:49 UTC, kfm
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.