Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496490 - sys-kernel/hardened-sources-3.12.6-r2 - PAX: size overflow detected in function cpuset_common_file_read kernel/cpuset.c:1790 cicus.330_47 min, count: 2
Summary: sys-kernel/hardened-sources-3.12.6-r2 - PAX: size overflow detected in functi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-30 13:20 UTC by Alexander Tsoy
Modified: 2014-09-14 00:17 UTC (History)
3 users (show)

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


Attachments
Kernel-config for hardened-sources-3.12.6-r4 (config,66.95 KB, text/x-mpsub)
2014-01-07 12:38 UTC, boris64
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2013-12-30 13:20:37 UTC
Can't start KVM virtual machines via libvirt. I'm getting the following trace: 

[  830.411089] PAX: size overflow detected in function cpuset_common_file_read kernel/cpuset.c:1790 cicus.330_47 min, count: 2
[  830.411096] CPU: 0 PID: 3147 Comm: libvirtd Tainted: G           O 3.12.6-hardened-r2 #1
[  830.411099] Hardware name: Supermicro H8SCM/H8SCM, BIOS 3.0a       05/07/2013
[  830.411102]  ffffffff81cdd04f 0000000000000000 0000000000000000 ffff8803bc99dd08
[  830.411106]  ffffffff819ea2bd ffff88042ec0db88 ffffffff81cdd04f ffff8803bc99dd38
[  830.411110]  ffffffff8119e426 0000035c48010700 ffffffffffffffff 0000000000002000
[  830.411115] Call Trace:
[  830.411123]  [<ffffffff819ea2bd>] dump_stack+0x46/0x5e
[  830.411129]  [<ffffffff8119e426>] report_size_overflow+0x36/0x40
[  830.411135]  [<ffffffff810fbeb4>] cpuset_common_file_read+0x114/0x190
[  830.411140]  [<ffffffff810f3a99>] cgroup_file_read+0x59/0x150
[  830.411145]  [<ffffffff81452552>] ? security_file_permission+0xb2/0xd0
[  830.411149]  [<ffffffff81197408>] ? rw_verify_area+0x68/0x120
[  830.411153]  [<ffffffff811982ca>] vfs_read+0xea/0x250
[  830.411156]  [<ffffffff81198622>] SyS_read+0x52/0xa0
[  830.411161]  [<ffffffff819fbaec>] system_call_fastpath+0x1a/0x1f
[  830.411165]  [<ffffffff819fbb1c>] ? sysret_check+0x26/0x65
Comment 1 Alexander Tsoy 2013-12-30 13:31:12 UTC
Hmm.. I've reemerged libvirt and problem gone.
Comment 2 Alexander Tsoy 2013-12-30 13:40:22 UTC
(In reply to Alexander Tsoy from comment #1)
> Hmm.. I've reemerged libvirt and problem gone.

No, ignore this comment please. I still have this issue.
Comment 3 Alexander Tsoy 2013-12-30 13:47:21 UTC
Arrgh. Seems this was a problem with VM images ownership. :(
Comment 4 Alexander Tsoy 2013-12-30 14:09:45 UTC
Sorry for the bugspam, but the problem is still reproducible (it's just not 100% reproducible).
Comment 5 boris64 2014-01-07 12:32:17 UTC
I'm having exactly the same problem since 3.12.*.
Libvirt doesn't start anymore. On hardened-sources-3.11 everything
seems to be ok.
Comment 6 boris64 2014-01-07 12:38:21 UTC
Created attachment 367284 [details]
Kernel-config for hardened-sources-3.12.6-r4
Comment 7 Emese Revfy 2014-01-07 17:05:18 UTC
Thanks for the report. This bug will be fixed in the next PaX version.
Comment 8 Alexander Tsoy 2014-01-21 11:22:01 UTC
Thanks! Fixed in hardened-sources-3.12.8