Summary: | sys-kernel/ksymoops _FORTIFY_SOURCE indicates presence of overflow | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | Current packages | Assignee: | Gentoo Kernel Miscellaneous <kernel-misc> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | hardened |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 259417 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 246609 [details]
Build log
The problem is that oops.c:1177 declares char label[6], then oops.c:1200 calls strcpy to copy a 6 character literal (plus null, so 7 total) into label. There seems to be no good reason that label cannot grow to 8 characters to provide adequate storage. That said, is this package worth keeping? As I understand it, ksymoops is only used for 2.4 series kernels. It last received a non-noise change in 2006 when Vapier added a patch to its Makefile. Gentoo has stopped supporting 2.4 kernels, and even the upstream maintainer (Willy Tarreau) is looking to cease 2.4 maintenance within about a year: <http://lkml.org/lkml/2010/9/6/15>. The package is not limited to 2.4 kernels. If you turn off symbols in oops output on 2.6, you need this package to resolve the oops still. Fixed in CVS. (In reply to comment #3) > The package is not limited to 2.4 kernels. > > If you turn off symbols in oops output on 2.6, you need this package to resolve > the oops still. This is counter to the foreword in Documentation/oops-tracing.txt: NOTE: ksymoops is useless on 2.6. Please use the Oops in its original format (from dmesg, etc). Ignore any references in this or other docs to "decoding the Oops" or "running it through ksymoops". If you post an Oops from 2.6 that has been run through ksymoops, people will just tell you to repost it. Could you cite the source which says this is still useful? The ksymoops homepage URL points to a directory that only has the sources. |