lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.999.0708020237090.8258@enigma.security.iitk.ac.in>
Date:	Thu, 2 Aug 2007 02:41:26 +0530 (IST)
From:	Satyam Sharma <satyam@...radead.org>
To:	Chris Rankin <rankincj@...oo.com>
cc:	linux-kernel@...r.kernel.org
Subject: Re: [BUG] Linux 2.6.22 - Atomic counter underflow in NFS

Hi Chris,


On Wed, 1 Aug 2007, Chris Rankin wrote:

> I am running a 2.6.22 kernel on a dual P4 Xeon (HT enabled) with 2 GB RAM, and I have just found
> this BUG in my dmesg log:
> 
> nfsd: last server has exited
> nfsd: unexporting all filesystems
> BUG: atomic counter underflow at:
>  [<c01a382a>] kref_put+0x66/0x84
>  [<c0188bc2>] sysfs_hash_and_remove+0xb8/0x12d
>  [<c0188bca>] sysfs_hash_and_remove+0xc0/0x12d
>  [<c01522e2>] sysfs_slab_alias+0x19/0x5c
>  [<c0152438>] sysfs_slab_add+0x113/0x124
>  [<c01527de>] kmem_cache_create+0x12d/0x1d3
>  [<f8d9df1b>] nfs4_state_start+0x3b/0x1a7 [nfsd]
>  [<f8d8a485>] nfsd_svc+0x51/0x10d [nfsd]
>  [<f8d8ae76>] write_threads+0x65/0x96 [nfsd]
>  [<c016c279>] simple_transaction_get+0x70/0x82
>  [<f8d8ae11>] write_threads+0x0/0x96 [nfsd]
>  [<f8d8ab9f>] nfsctl_transaction_write+0x36/0x5c [nfsd]
>  [<f8d8ab69>] nfsctl_transaction_write+0x0/0x5c [nfsd]
>  [<c0155392>] vfs_write+0x8a/0x10c
>  [<c0155901>] sys_write+0x41/0x67
>  [<c010266e>] sysenter_past_esp+0x5f/0x85
>  =======================
> NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
> NFSD: starting 90-second grace period

I expect this is easy to reproduce at will (when shutting down nfs
services, probably), right?

Please try the latest mainline -git kernel (say 2.6.23-rc1-git10 from
kernel.org) and let us know if this still occurs? There were some fixes
regarding sysfs symlink refcounting that went in recently, and this looks
like one of those cases to me.


Thanks,
Satyam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ