2.6.37-rc1 kmemleak warnings when saving a file over cifs.

From: Andrew Hendry
Date: Mon Nov 08 2010 - 19:13:45 EST


Have just noticed these in the past few days, now running 2.6.37-rc1+
Seems to be 1 logged per file save when using a text file with gedit over cifs.

unreferenced object 0xffff88022ee08b40 (size 32):
comm "gedit", pid 2524, jiffies 4300160388 (age 2633.655s)
hex dump (first 32 bytes):
5c 2e 67 6f 75 74 70 75 74 73 74 72 65 61 6d 2d \.goutputstream-
35 42 41 53 4c 56 00 de 09 00 00 00 2c 26 78 ee 5BASLV......,&x.
backtrace:
[<ffffffff81504a4d>] kmemleak_alloc+0x2d/0x60
[<ffffffff81136e13>] __kmalloc+0xe3/0x1d0
[<ffffffffa0313db0>] build_path_from_dentry+0xf0/0x230 [cifs]
[<ffffffffa031ae1e>] cifs_setattr+0x9e/0x770 [cifs]
[<ffffffff8115fe90>] notify_change+0x170/0x2e0
[<ffffffff81145ceb>] sys_fchmod+0x10b/0x140
[<ffffffff8100c172>] system_call_fastpath+0x16/0x1b
[<ffffffffffffffff>] 0xffffffffffffffff

unreferenced object 0xffff88022b469ca0 (size 32):
comm "gedit", pid 2543, jiffies 4300529624 (age 2264.419s)
hex dump (first 32 bytes):
5c 2e 67 6f 75 74 70 75 74 73 74 72 65 61 6d 2d \.goutputstream-
30 38 53 59 4c 56 00 de 01 00 00 00 00 00 00 00 08SYLV..........
backtrace:
[<ffffffff81504a4d>] kmemleak_alloc+0x2d/0x60
[<ffffffff81136e13>] __kmalloc+0xe3/0x1d0
[<ffffffffa0313db0>] build_path_from_dentry+0xf0/0x230 [cifs]
[<ffffffffa031ae1e>] cifs_setattr+0x9e/0x770 [cifs]
[<ffffffff8115fe90>] notify_change+0x170/0x2e0
[<ffffffff811457cf>] chown_common+0x9f/0xc0
[<ffffffff8114588e>] sys_fchown+0x9e/0xc0
[<ffffffff8100c172>] system_call_fastpath+0x16/0x1b
[<ffffffffffffffff>] 0xffffffffffffffff

unreferenced object 0xffff88022b5f8d20 (size 32):
comm "gedit", pid 1885, jiffies 4294979706 (age 1221.634s)
hex dump (first 32 bytes):
5c 2e 67 6f 75 74 70 75 74 73 74 72 65 61 6d 2d \.goutputstream-
34 38 38 59 4c 56 00 de 02 00 00 00 00 00 00 00 488YLV..........
backtrace:
[<ffffffff81505bad>] kmemleak_alloc+0x2d/0x60
[<ffffffff81136e23>] __kmalloc+0xe3/0x1d0
[<ffffffffa0329b90>] build_path_from_dentry+0xf0/0x230 [cifs]
[<ffffffffa0330abe>] cifs_setattr+0x9e/0x770 [cifs]
[<ffffffff8115fea0>] notify_change+0x170/0x2e0
[<ffffffff81145cfb>] sys_fchmod+0x10b/0x140
[<ffffffff8100c172>] system_call_fastpath+0x16/0x1b
[<ffffffffffffffff>] 0xffffffffffffffff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/