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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <bug-60121-13602@https.bugzilla.kernel.org/>
Date:	Tue, 25 Jun 2013 18:25:04 +0000 (UTC)
From:	bugzilla-daemon@...zilla.kernel.org
To:	linux-ext4@...r.kernel.org
Subject: [Bug 60121] New: -next and -mm: kmemleak reports 6 leaks in
 ext4_mount paths

https://bugzilla.kernel.org/show_bug.cgi?id=60121

           Summary: -next and -mm: kmemleak reports 6 leaks in ext4_mount
                    paths
           Product: File System
           Version: 2.5
    Kernel Version: v3.10-rc6-684-g9dcc58c
          Platform: All
        OS/Version: Linux
              Tree: -mm
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
        AssignedTo: fs_ext4@...nel-bugs.osdl.org
        ReportedBy: jmesmon@...il.com
        Regression: Yes


Created an attachment (id=106021)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=106021)
.config

In next-20130624, next-20130625 and mmotm (v3.10-rc6-684-g9dcc58c), kmemleak
complains about some ext4_mount related allocations.

----
# cat /sys/kernel/debug/kmemleak 
unreferenced object 0xffff880002a6dd80 (size 256):
  comm "swapper/0", pid 1, jiffies 4294892475 (age 33.128s)
  hex dump (first 32 bytes):
    00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00  .....N..........
    ff ff ff ff ff ff ff ff 0c 0d 36 82 ff ff ff ff  ..........6.....
  backtrace:
    [<ffffffff813adfc1>] kmemleak_alloc+0x21/0x50
    [<ffffffff810e7b43>] __kmalloc+0x103/0x460
    [<ffffffff810cdd81>] list_lru_init+0x21/0xb0
    [<ffffffff810f36b5>] sget+0x305/0x670
    [<ffffffff810f463a>] mount_bdev+0xba/0x1e0
    [<ffffffff81175460>] ext4_mount+0x10/0x20
    [<ffffffff810f4950>] mount_fs+0x10/0xc0
    [<ffffffff81111c5a>] vfs_kern_mount+0x5a/0xf0
    [<ffffffff811133ca>] do_mount+0x1da/0x9d0
    [<ffffffff81113c3e>] SyS_mount+0x7e/0xc0
    [<ffffffff8184c245>] mount_block_root+0x104/0x223
    [<ffffffff8184c455>] mount_root+0xf1/0xfa
    [<ffffffff8184c58e>] prepare_namespace+0x130/0x168
    [<ffffffff8184bff8>] kernel_init_freeable+0x185/0x192
    [<ffffffff813ab7f9>] kernel_init+0x9/0x180
    [<ffffffff813c963c>] ret_from_fork+0x7c/0xb0
unreferenced object 0xffff880002a6d980 (size 256):
  comm "swapper/0", pid 1, jiffies 4294892475 (age 33.128s)
  hex dump (first 32 bytes):
    00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00  .....N..........
    ff ff ff ff ff ff ff ff 0c 0d 36 82 ff ff ff ff  ..........6.....
  backtrace:
    [<ffffffff813adfc1>] kmemleak_alloc+0x21/0x50
    [<ffffffff810e7b43>] __kmalloc+0x103/0x460
    [<ffffffff810cdd81>] list_lru_init+0x21/0xb0
    [<ffffffff810f36c9>] sget+0x319/0x670
    [<ffffffff810f463a>] mount_bdev+0xba/0x1e0
    [<ffffffff81175460>] ext4_mount+0x10/0x20
    [<ffffffff810f4950>] mount_fs+0x10/0xc0
    [<ffffffff81111c5a>] vfs_kern_mount+0x5a/0xf0
    [<ffffffff811133ca>] do_mount+0x1da/0x9d0
    [<ffffffff81113c3e>] SyS_mount+0x7e/0xc0
    [<ffffffff8184c245>] mount_block_root+0x104/0x223
    [<ffffffff8184c455>] mount_root+0xf1/0xfa
    [<ffffffff8184c58e>] prepare_namespace+0x130/0x168
    [<ffffffff8184bff8>] kernel_init_freeable+0x185/0x192
    [<ffffffff813ab7f9>] kernel_init+0x9/0x180
    [<ffffffff813c963c>] ret_from_fork+0x7c/0xb0
unreferenced object 0xffff880002a7a7a0 (size 32):
  comm "swapper/0", pid 1, jiffies 4294892475 (age 33.128s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff813adfc1>] kmemleak_alloc+0x21/0x50
    [<ffffffff810e7b43>] __kmalloc+0x103/0x460
    [<ffffffff810c091e>] register_shrinker+0x7e/0xa0
    [<ffffffff810f394e>] sget+0x59e/0x670
    [<ffffffff810f463a>] mount_bdev+0xba/0x1e0
    [<ffffffff81175460>] ext4_mount+0x10/0x20
    [<ffffffff810f4950>] mount_fs+0x10/0xc0
    [<ffffffff81111c5a>] vfs_kern_mount+0x5a/0xf0
    [<ffffffff811133ca>] do_mount+0x1da/0x9d0
    [<ffffffff81113c3e>] SyS_mount+0x7e/0xc0
    [<ffffffff8184c245>] mount_block_root+0x104/0x223
    [<ffffffff8184c455>] mount_root+0xf1/0xfa
    [<ffffffff8184c58e>] prepare_namespace+0x130/0x168
    [<ffffffff8184bff8>] kernel_init_freeable+0x185/0x192
    [<ffffffff813ab7f9>] kernel_init+0x9/0x180
    [<ffffffff813c963c>] ret_from_fork+0x7c/0xb0
unreferenced object 0xffff88000692b1c0 (size 256):
  comm "swapper/0", pid 1, jiffies 4294892648 (age 32.500s)
  hex dump (first 32 bytes):
    00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00  .....N..........
    ff ff ff ff ff ff ff ff 0c 0d 36 82 ff ff ff ff  ..........6.....
  backtrace:
    [<ffffffff813adfc1>] kmemleak_alloc+0x21/0x50
    [<ffffffff810e7b43>] __kmalloc+0x103/0x460
    [<ffffffff810cdd81>] list_lru_init+0x21/0xb0
    [<ffffffff810f36b5>] sget+0x305/0x670
    [<ffffffff810f463a>] mount_bdev+0xba/0x1e0
    [<ffffffff81175460>] ext4_mount+0x10/0x20
    [<ffffffff810f4950>] mount_fs+0x10/0xc0
    [<ffffffff81111c5a>] vfs_kern_mount+0x5a/0xf0
    [<ffffffff811133ca>] do_mount+0x1da/0x9d0
    [<ffffffff81113c3e>] SyS_mount+0x7e/0xc0
    [<ffffffff8184c245>] mount_block_root+0x104/0x223
    [<ffffffff8184c455>] mount_root+0xf1/0xfa
    [<ffffffff8184c58e>] prepare_namespace+0x130/0x168
    [<ffffffff8184bff8>] kernel_init_freeable+0x185/0x192
    [<ffffffff813ab7f9>] kernel_init+0x9/0x180
    [<ffffffff813c963c>] ret_from_fork+0x7c/0xb0
unreferenced object 0xffff88000692b2c0 (size 256):
  comm "swapper/0", pid 1, jiffies 4294892648 (age 32.500s)
  hex dump (first 32 bytes):
    00 00 00 00 ad 4e ad de ff ff ff ff 00 00 00 00  .....N..........
    ff ff ff ff ff ff ff ff 0c 0d 36 82 ff ff ff ff  ..........6.....
  backtrace:
    [<ffffffff813adfc1>] kmemleak_alloc+0x21/0x50
    [<ffffffff810e7b43>] __kmalloc+0x103/0x460
    [<ffffffff810cdd81>] list_lru_init+0x21/0xb0
    [<ffffffff810f36c9>] sget+0x319/0x670
    [<ffffffff810f463a>] mount_bdev+0xba/0x1e0
    [<ffffffff81175460>] ext4_mount+0x10/0x20
    [<ffffffff810f4950>] mount_fs+0x10/0xc0
    [<ffffffff81111c5a>] vfs_kern_mount+0x5a/0xf0
    [<ffffffff811133ca>] do_mount+0x1da/0x9d0
    [<ffffffff81113c3e>] SyS_mount+0x7e/0xc0
    [<ffffffff8184c245>] mount_block_root+0x104/0x223
    [<ffffffff8184c455>] mount_root+0xf1/0xfa
    [<ffffffff8184c58e>] prepare_namespace+0x130/0x168
    [<ffffffff8184bff8>] kernel_init_freeable+0x185/0x192
    [<ffffffff813ab7f9>] kernel_init+0x9/0x180
    [<ffffffff813c963c>] ret_from_fork+0x7c/0xb0
unreferenced object 0xffff880006916780 (size 32):
  comm "swapper/0", pid 1, jiffies 4294892648 (age 32.500s)
  hex dump (first 32 bytes):
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
  backtrace:
    [<ffffffff813adfc1>] kmemleak_alloc+0x21/0x50
    [<ffffffff810e7b43>] __kmalloc+0x103/0x460
    [<ffffffff810c091e>] register_shrinker+0x7e/0xa0
    [<ffffffff810f394e>] sget+0x59e/0x670
    [<ffffffff810f463a>] mount_bdev+0xba/0x1e0
    [<ffffffff81175460>] ext4_mount+0x10/0x20
    [<ffffffff810f4950>] mount_fs+0x10/0xc0
    [<ffffffff81111c5a>] vfs_kern_mount+0x5a/0xf0
    [<ffffffff811133ca>] do_mount+0x1da/0x9d0
    [<ffffffff81113c3e>] SyS_mount+0x7e/0xc0
    [<ffffffff8184c245>] mount_block_root+0x104/0x223
    [<ffffffff8184c455>] mount_root+0xf1/0xfa
    [<ffffffff8184c58e>] prepare_namespace+0x130/0x168
    [<ffffffff8184bff8>] kernel_init_freeable+0x185/0x192
    [<ffffffff813ab7f9>] kernel_init+0x9/0x180
    [<ffffffff813c963c>] ret_from_fork+0x7c/0xb0
#

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ