Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528236 - sys-kernel/hardened-sources-3.17.2 ooops in vmalloc
Summary: sys-kernel/hardened-sources-3.17.2 ooops in vmalloc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 16:03 UTC by Alexander Stoll
Modified: 2014-12-10 12:41 UTC (History)
3 users (show)

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


Attachments
Ooops message (ooops.txt,2.06 KB, text/plain)
2014-11-22 15:36 UTC, Alexander Stoll
Details
Kernel config (kconfig,83.08 KB, text/plain)
2014-11-22 15:43 UTC, Alexander Stoll
Details
Ooops with frame pointer enabled in kconfig (Ooops_fp.txt,1.88 KB, text/plain)
2014-11-25 14:44 UTC, Alexander Stoll
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Stoll 2014-11-04 16:03:40 UTC
observed since 3.17.1-r1 , when pppd is started for ADSL link, ooops in vmalloc occurs and box freezes, exclusive to 32bit hardened x86, older 3.16 no problem, seems introduced in 3.17 line

Reproducible: Always
Comment 1 Alexander Stoll 2014-11-16 10:08:48 UTC
3.17.3 is out, tested and still no change... oops when pppd is starting up...
Comment 2 Francisco Blas Izquierdo Riera (RETIRED) gentoo-dev 2014-11-22 02:22:52 UTC
Alex, can you please paste a copy of the OOPS message so we can try to see what causes the issue?
Comment 3 Anthony Basile gentoo-dev 2014-11-22 13:04:02 UTC
(In reply to Francisco Blas Izquierdo Riera from comment #2)
> Alex, can you please paste a copy of the OOPS message so we can try to see
> what causes the issue?

Actually, in addition to the oops, can you please give us the config file as well.  Upstream will probably want your vmlinuz file.

This may be related to bug #510788 which also causes WARN in netwoking, but that was in 3.14.3-r1.
Comment 4 Alexander Stoll 2014-11-22 15:36:48 UTC
Created attachment 390058 [details]
Ooops message

Opps message and panic text from console
Comment 5 Alexander Stoll 2014-11-22 15:43:48 UTC
Created attachment 390060 [details]
Kernel config
Comment 6 Alexander Stoll 2014-11-22 15:51:03 UTC
Please drop me a note when vmlinuz is needed, where to put/send...
Thanks for investigating!
Comment 7 PaX Team 2014-11-22 17:16:24 UTC
can you produce an oops with frame pointers enabled please?
Comment 8 Alexander Stoll 2014-11-24 14:15:42 UTC
Tested 3.17.4 with enabled frame pointers to trigger the requested Ooops. It is running fine so far without issues... the problem seems to bee gone.
I assume you were already successful in tracking down the issue and this is already fixed by intention in 3.17.4 ...
If not and this is just a coincidence and you still need something for further digging, please drop me a note again.
Thanks to all involved for their work!
Comment 9 PaX Team 2014-11-24 18:21:57 UTC
i didn't fix anything so if you get an oops, post it please.
Comment 10 Alexander Stoll 2014-11-25 14:44:16 UTC
Created attachment 390274 [details]
Ooops with frame pointer enabled in kconfig
Comment 11 Brad Spengler 2014-11-26 00:56:16 UTC
Here's the fix that was backported to 3.17.4 that resolved the issue:
https://lkml.org/lkml/2014/11/7/316

-Brad
Comment 12 Anthony Basile gentoo-dev 2014-11-29 13:17:45 UTC
(In reply to Brad Spengler from comment #11)
> Here's the fix that was backported to 3.17.4 that resolved the issue:
> https://lkml.org/lkml/2014/11/7/316
> 
> -Brad

Brad, did you backport this to  grsecurity-3.0-3.17.4-201411260107?  If so,  then this fix is in the tree with hardened-sources-3.17.4-r1.
Comment 13 PaX Team 2014-11-29 22:01:08 UTC
the fix is in upstream 3.17.4 itself.
Comment 14 Anthony Basile gentoo-dev 2014-12-10 12:41:34 UTC
This should be now in hardened-sources-3.17.6 which is in the tree.