http://p.suchdig.com/p/albo-mempo106_rcubug.txt
Not tainted 3.2.66-grsec-mempo.deskmaxdbg.0.2.106 #1
3.2.66-grsec-mempo.deskmaxdbg.0.2.106 #1 SMP PREEMPT Fri Feb 6 08:34:44 UTC 2015 x86_64 GNU/Linux
Mempo 106 includes grsecurity version:
+P,ID_grsecurity_main_ID,x,grsecurity,grsecurity-3.0-3.2.66-201502052350.patch,sha256,b7deea10576f5d107750ffd3d451498e8e0546ab136afd490b05b65063948852,./tmp-path/
so this is the newest grsecurity as of today, and changelog says bug with rcu is fixed
https://github.com/mempo/mempo-kernel/c ... 4c14429706
https://raw.githubusercontent.com/mempo ... stable.txt
but still a bug can be seen:
Feb 8 14:35:14 Pbox kernel: [ 2497.895284]
Feb 8 14:35:14 Pbox kernel: [ 2497.895290] =====================================
Feb 8 14:35:14 Pbox kernel: [ 2497.895294] [ BUG: bad unlock balance detected! ]
Feb 8 14:35:14 Pbox kernel: [ 2497.895297] -------------------------------------
Feb 8 14:35:14 Pbox kernel: [ 2497.895301] java/29267 is trying to release lock (rcu_read_lock) at:
Feb 8 14:35:14 Pbox kernel: [ 2497.895310] [<ffffffff8114ac0d>] ffffffff8114ac0d
Feb 8 14:35:14 Pbox kernel: [ 2497.895313] but there are no more locks to release!
Feb 8 14:35:14 Pbox kernel: [ 2497.895316]
Feb 8 14:35:14 Pbox kernel: [ 2497.895317] other info that might help us debug this:
Feb 8 14:35:14 Pbox kernel: [ 2497.895320] no locks held by java/29267.
Feb 8 14:35:14 Pbox kernel: [ 2497.895323]
Feb 8 14:35:14 Pbox kernel: [ 2497.895324] stack backtrace:
Feb 8 14:35:14 Pbox kernel: [ 2497.895329] Pid: 29267, comm: java Not tainted 3.2.66-grsec-mempo.deskmaxdbg.0.2.106 #1
Feb 8 14:35:14 Pbox kernel: [ 2497.895333] Call Trace:
Feb 8 14:35:14 Pbox kernel: [ 2497.895346] [<ffffffff8114ac0d>] ? d_find_alias+0x5a/0x5a
Feb 8 14:35:14 Pbox kernel: [ 2497.895354] [<ffffffff810861d9>] print_unlock_inbalance_bug+0xdf/0xef
Feb 8 14:35:14 Pbox kernel: [ 2497.895360] [<ffffffff8114ac0d>] ? d_find_alias+0x5a/0x5a
Feb 8 14:35:14 Pbox kernel: [ 2497.895366] [<ffffffff81089684>] lock_release+0x11c/0x26e
Feb 8 14:35:14 Pbox kernel: [ 2497.895372] [<ffffffff8114ac29>] rcu_read_unlock+0x1c/0x29
Feb 8 14:35:14 Pbox kernel: [ 2497.895378] [<ffffffff8114c493>] shrink_dcache_parent+0x254/0x2a9
Feb 8 14:35:14 Pbox kernel: [ 2497.895385] [<ffffffff8119757c>] proc_flush_task+0x15a/0x1d2
Feb 8 14:35:14 Pbox kernel: [ 2497.895392] [<ffffffff810508ce>] release_task+0x89/0x3e0
Feb 8 14:35:14 Pbox kernel: [ 2497.895399] [<ffffffff814379dd>] ? sub_preempt_count+0x79/0xa1
Feb 8 14:35:14 Pbox kernel: [ 2497.895404] [<ffffffff810525f9>] do_exit+0x84e/0x91a
Feb 8 14:35:14 Pbox kernel: [ 2497.895410] [<ffffffff81052704>] sys_exit+0x19/0x19
Feb 8 14:35:14 Pbox kernel: [ 2497.895417] [<ffffffff814346ac>] system_call_fastpath+0x16/0x1b
Feb 8 14:35:14 Pbox kernel: [ 2497.895422] ------------[ cut here ]------------
Feb 8 14:35:14 Pbox kernel: [ 2497.895428] WARNING: at kernel/rcutree_plugin.h:442 __rcu_read_unlock+0x76/0x87()
Feb 8 14:35:14 Pbox kernel: [ 2497.895432] Hardware name: 945P-S3
Feb 8 14:35:14 Pbox kernel: [ 2497.895435] Modules linked in: ppdev lp binfmt_misc nfsd nfs nfs_acl auth_rpcgss fscache lockd sunrpc ext3 jbd ext2 loop lm90 f75375s adt7475 joydev w83781d hwmon_vid w83l785ts snd_hda_codec_realtek nouveau snd_hda_intel snd_hda_codec snd_hwdep snd_pcm mxm_wmi wmi snd_page_alloc video ttm i2c_i801 evdev drm_kms_helper
Feb 8 14:35:14 Pbox kernel: [ 2497.895508] ------------[ cut here ]------------
Feb 8 14:35:14 Pbox kernel: [ 2497.895514] WARNING: at kernel/rcutree_plugin.h:442 __rcu_read_unlock+0x76/0x87()
Feb 8 14:35:14 Pbox kernel: [ 2497.895518] Hardware name: 945P-S3
Feb 8 14:35:14 Pbox kernel: [ 2497.895521] Modules linked in: ppdev lp binfmt_misc nfsd nfs nfs_acl auth_rpcgss fscache lockd sunrpc ext3 jbd ext2 loop lm90 f75375s adt7475 joydev w83781d hwmon_vid w83l785ts snd_hda_codec_realtek nouveau snd_hda_intel snd_hda_codec snd_hwdep snd_pcm mxm_wmi wmi snd_page_alloc video ttm i2c_i801 evdev drm_kms_helper parport_pc snd_seq snd_seq_device snd_timer snd iTCO_wdt iTCO_vendor_support rng_core drm psmouse parport serio_raw i2c_algo_bit pcspkr processor soundcore i2c_core thermal_sys button ext4 crc16 jbd2 mbcache cryptd aes_x86_64 aes_generic cbc dm_crypt dm_mod usbhid hid sg sd_mod crc_t10dif ata_generic ata_piix libata scsi_mod r8169 mii uhci_hcd ehci_hcd usbcore usb_common [last unloaded: scsi_wait_scan]
Feb 8 14:35:14 Pbox kernel: [ 2497.895658] Pid: 29267, comm: java Not tainted 3.2.66-grsec-mempo.deskmaxdbg.0.2.106 #1
Feb 8 14:35:14 Pbox kernel: [ 2497.895662] Call Trace:
Feb 8 14:35:14 Pbox kernel: [ 2497.895664] <IRQ> [<ffffffff8104dfb6>] warn_slowpath_common+0x7e/0x9d
Feb 8 14:35:14 Pbox kernel: [ 2497.895675] [<ffffffff8104dffc>] warn_slowpath_null+0x27/0x2f
Feb 8 14:35:14 Pbox kernel: [ 2497.895680] [<ffffffff810b8489>] __rcu_read_unlock+0x76/0x87
Feb 8 14:35:14 Pbox kernel: [ 2497.895687] [<ffffffff81038d8f>] rcu_read_unlock+0x21/0x29
Feb 8 14:35:14 Pbox kernel: [ 2497.895693] [<ffffffff8103c977>] cpuacct_charge+0x50/0x5f
Feb 8 14:35:14 Pbox kernel: [ 2497.895699] [<ffffffff810455bc>] update_curr+0x113/0x14e
Feb 8 14:35:14 Pbox kernel: [ 2497.895705] [<ffffffff810461b7>] enqueue_task_fair+0x53/0x418
Feb 8 14:35:14 Pbox kernel: [ 2497.895710] [<ffffffff810b8489>] ? __rcu_read_unlock+0x76/0x87
Feb 8 14:35:14 Pbox kernel: [ 2497.895716] [<ffffffff8103e7f8>] enqueue_task+0x6a/0x77
Feb 8 14:35:14 Pbox kernel: [ 2497.895721] [<ffffffff8103e843>] activate_task+0x3e/0x46
Feb 8 14:35:14 Pbox kernel: [ 2497.895727] [<ffffffff8104771f>] ttwu_do_activate.constprop.175+0x2e/0x69
Feb 8 14:35:14 Pbox kernel: [ 2497.895732] [<ffffffff81047a1c>] sched_ttwu_pending+0x45/0x5d
Feb 8 14:35:14 Pbox kernel: [ 2497.895738] [<ffffffff810482b4>] scheduler_ipi+0x33/0x8a
Feb 8 14:35:14 Pbox kernel: [ 2497.895745] [<ffffffff8101e2d8>] smp_reschedule_interrupt+0x16/0x1e
Feb 8 14:35:14 Pbox kernel: [ 2497.895751] [<ffffffff8143b9c9>] reschedule_interrupt+0x89/0x90
Feb 8 14:35:14 Pbox kernel: [ 2497.895754] <EOI> [<ffffffff8104e0f2>] ? arch_local_irq_restore+0x6/0x13
Feb 8 14:35:14 Pbox kernel: [ 2497.895765] [<ffffffff8104f043>] vprintk+0x4a8/0x50d
Feb 8 14:35:14 Pbox kernel: [ 2497.895777] [<ffffffff810b8489>] ? __rcu_read_unlock+0x76/0x87
Feb 8 14:35:14 Pbox kernel: [ 2497.895783] [<ffffffff81428d13>] printk+0x44/0x4c
Feb 8 14:35:14 Pbox kernel: [ 2497.895791] [<ffffffff810960dd>] print_modules+0x5d/0x104
Feb 8 14:35:14 Pbox kernel: [ 2497.895798] [<ffffffff8104dfb1>] warn_slowpath_common+0x79/0x9d
Feb 8 14:35:14 Pbox kernel: [ 2497.895803] [<ffffffff8104dffc>] warn_slowpath_null+0x27/0x2f
Feb 8 14:35:14 Pbox kernel: [ 2497.895809] [<ffffffff810b8489>] __rcu_read_unlock+0x76/0x87
Feb 8 14:35:14 Pbox kernel: [ 2497.895815] [<ffffffff8114ac2e>] rcu_read_unlock+0x21/0x29
Feb 8 14:35:14 Pbox kernel: [ 2497.895820] [<ffffffff8114c493>] shrink_dcache_parent+0x254/0x2a9
Feb 8 14:35:14 Pbox kernel: [ 2497.895826] [<ffffffff8119757c>] proc_flush_task+0x15a/0x1d2
Feb 8 14:35:14 Pbox kernel: [ 2497.895832] [<ffffffff810508ce>] release_task+0x89/0x3e0
Feb 8 14:35:14 Pbox kernel: [ 2497.895838] [<ffffffff814379dd>] ? sub_preempt_count+0x79/0xa1
Feb 8 14:35:14 Pbox kernel: [ 2497.895843] [<ffffffff810525f9>] do_exit+0x84e/0x91a
Feb 8 14:35:14 Pbox kernel: [ 2497.895850] [<ffffffff81052704>] sys_exit+0x19/0x19
Feb 8 14:35:14 Pbox kernel: [ 2497.895855] [<ffffffff814346ac>] system_call_fastpath+0x16/0x1b
Feb 8 14:35:14 Pbox kernel: [ 2497.895860] ---[ end trace 7f949707c1622609 ]---
Feb 8 14:35:14 Pbox kernel: [ 2497.895865] parport_pc snd_seq snd_seq_device snd_timer snd iTCO_wdt iTCO_vendor_support rng_core drm psmouse parport serio_raw i2c_algo_bit pcspkr processor soundcore i2c_core thermal_sys button ext4 crc16 jbd2 mbcache cryptd aes_x86_64 aes_generic cbc dm_crypt dm_mod usbhid hid sg sd_mod crc_t10dif ata_generic ata_piix libata scsi_mod r8169 mii uhci_hcd ehci_hcd usbcore usb_common [last unloaded: scsi_wait_scan]
Feb 8 14:35:14 Pbox kernel: [ 2497.897902] Pid: 29267, comm: java Tainted: G W 3.2.66-grsec-mempo.deskmaxdbg.0.2.106 #1
Feb 8 14:35:14 Pbox kernel: [ 2497.897909] Call Trace:
Feb 8 14:35:14 Pbox kernel: [ 2497.897924] [<ffffffff8104dfb6>] warn_slowpath_common+0x7e/0x9d
Feb 8 14:35:14 Pbox kernel: [ 2497.897934] [<ffffffff8104dffc>] warn_slowpath_null+0x27/0x2f
Feb 8 14:35:14 Pbox kernel: [ 2497.897944] [<ffffffff810b8489>] __rcu_read_unlock+0x76/0x87
Feb 8 14:35:14 Pbox kernel: [ 2497.897954] [<ffffffff8114ac2e>] rcu_read_unlock+0x21/0x29
Feb 8 14:35:14 Pbox kernel: [ 2497.897962] [<ffffffff8114c493>] shrink_dcache_parent+0x254/0x2a9
Feb 8 14:35:14 Pbox kernel: [ 2497.897972] [<ffffffff8119757c>] proc_flush_task+0x15a/0x1d2
Feb 8 14:35:14 Pbox kernel: [ 2497.897982] [<ffffffff810508ce>] release_task+0x89/0x3e0
Feb 8 14:35:14 Pbox kernel: [ 2497.897990] [<ffffffff814379dd>] ? sub_preempt_count+0x79/0xa1
Feb 8 14:35:14 Pbox kernel: [ 2497.898000] [<ffffffff810525f9>] do_exit+0x84e/0x91a
Feb 8 14:35:14 Pbox kernel: [ 2497.898031] [<ffffffff81052704>] sys_exit+0x19/0x19
Feb 8 14:35:14 Pbox kernel: [ 2497.898041] [<ffffffff814346ac>] system_call_fastpath+0x16/0x1b
Feb 8 14:35:14 Pbox kernel: [ 2497.898048] ---[ end trace 7f949707c162260a ]---