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-next>] [day] [month] [year] [list]
Date:	Thu, 27 Aug 2009 22:25:57 -0700
From:	"Luis R. Rodriguez" <mcgrof@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: memleaks, acpi + ext4 + tty

I have an assorted collection of kmemleak reports for acpi, ext4 and
tty, not sure how to read these yet to fix so figure I'd at least post
them. To reproduce I can just dd=/dev/zero to some big file and played
some video.

unreferenced object 0xffff88003e0015c0 (size 64):
  comm "swapper", pid 1, jiffies 4294892352
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81118a03>] kmem_cache_alloc_node+0x193/0x200
    [<ffffffff8152509e>] process_zones+0x70/0x1cd
    [<ffffffff81525230>] pageset_cpuup_callback+0x35/0x92
    [<ffffffff8152c9b7>] notifier_call_chain+0x47/0x90
    [<ffffffff81078549>] __raw_notifier_call_chain+0x9/0x10
    [<ffffffff81523f25>] _cpu_up+0x75/0x130
    [<ffffffff8152403a>] cpu_up+0x5a/0x6a
    [<ffffffff8181969e>] kernel_init+0xcc/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff88003cb5f700 (size 64):
  comm "swapper", pid 1, jiffies 4294892459
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff812bb549>] kzalloc+0xf/0x11
    [<ffffffff812bbb53>] acpi_add_single_object+0x58e/0xd3c
    [<ffffffff812bc51c>] acpi_bus_scan+0x125/0x1af
    [<ffffffff81842361>] acpi_scan_init+0xc8/0xe9
    [<ffffffff8184211c>] acpi_init+0x21f/0x265
    [<ffffffff8100a05b>] do_one_initcall+0x4b/0x1b0
    [<ffffffff81819736>] kernel_init+0x164/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff88003cb5f740 (size 64):
  comm "swapper", pid 1, jiffies 4294892460
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff812bb549>] kzalloc+0xf/0x11
    [<ffffffff812bbb53>] acpi_add_single_object+0x58e/0xd3c
    [<ffffffff812bc51c>] acpi_bus_scan+0x125/0x1af
    [<ffffffff81842361>] acpi_scan_init+0xc8/0xe9
    [<ffffffff8184211c>] acpi_init+0x21f/0x265
    [<ffffffff8100a05b>] do_one_initcall+0x4b/0x1b0
    [<ffffffff81819736>] kernel_init+0x164/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff88003cb5f780 (size 64):
  comm "swapper", pid 1, jiffies 4294892463
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff812bb549>] kzalloc+0xf/0x11
    [<ffffffff812bbb53>] acpi_add_single_object+0x58e/0xd3c
    [<ffffffff812bc51c>] acpi_bus_scan+0x125/0x1af
    [<ffffffff81842361>] acpi_scan_init+0xc8/0xe9
    [<ffffffff8184211c>] acpi_init+0x21f/0x265
    [<ffffffff8100a05b>] do_one_initcall+0x4b/0x1b0
    [<ffffffff81819736>] kernel_init+0x164/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff88003cb5f7c0 (size 64):
  comm "swapper", pid 1, jiffies 4294892465
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff812bb549>] kzalloc+0xf/0x11
    [<ffffffff812bbb53>] acpi_add_single_object+0x58e/0xd3c
    [<ffffffff812bc51c>] acpi_bus_scan+0x125/0x1af
    [<ffffffff81842361>] acpi_scan_init+0xc8/0xe9
    [<ffffffff8184211c>] acpi_init+0x21f/0x265
    [<ffffffff8100a05b>] do_one_initcall+0x4b/0x1b0
    [<ffffffff81819736>] kernel_init+0x164/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff88002e93da80 (size 192):
  comm "swapper", pid 1, jiffies 4294892831
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff812e0f82>] acpi_processor_register_performance+0x2ad/0x3eb
    [<ffffffff8102438d>] acpi_cpufreq_cpu_init+0xad/0x520
    [<ffffffff81425b25>] cpufreq_add_dev+0x175/0x720
    [<ffffffff81325fd6>] sysdev_driver_register+0xa6/0x130
    [<ffffffff81424b10>] cpufreq_register_driver+0x80/0x170
    [<ffffffff81823596>] acpi_cpufreq_init+0x92/0xc9
    [<ffffffff8100a05b>] do_one_initcall+0x4b/0x1b0
    [<ffffffff81819736>] kernel_init+0x164/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff88002e93df00 (size 192):
  comm "swapper", pid 1, jiffies 4294892832
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff812e0f82>] acpi_processor_register_performance+0x2ad/0x3eb
    [<ffffffff8102438d>] acpi_cpufreq_cpu_init+0xad/0x520
    [<ffffffff81425b25>] cpufreq_add_dev+0x175/0x720
    [<ffffffff81325fd6>] sysdev_driver_register+0xa6/0x130
    [<ffffffff81424b10>] cpufreq_register_driver+0x80/0x170
    [<ffffffff81823596>] acpi_cpufreq_init+0x92/0xc9
    [<ffffffff8100a05b>] do_one_initcall+0x4b/0x1b0
    [<ffffffff81819736>] kernel_init+0x164/0x1ba
    [<ffffffff810130ca>] child_rip+0xa/0x20
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff880039571800 (size 1024):
  comm "exe", pid 1168, jiffies 4294893410
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff811e1d71>] ext4_mb_init+0x1a1/0x590
    [<ffffffff811d2da3>] ext4_fill_super+0x1df3/0x26c0
    [<ffffffff8112774f>] get_sb_bdev+0x16f/0x1b0
    [<ffffffff811c8fd3>] ext4_get_sb+0x13/0x20
    [<ffffffff81127216>] vfs_kern_mount+0x76/0x180
    [<ffffffff8112738d>] do_kern_mount+0x4d/0x130
    [<ffffffff8113fc57>] do_mount+0x307/0x8b0
    [<ffffffff8114028f>] sys_mount+0x8f/0xe0
    [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff880039571400 (size 1024):
  comm "exe", pid 1168, jiffies 4294893410
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff811e1d71>] ext4_mb_init+0x1a1/0x590
    [<ffffffff811d2da3>] ext4_fill_super+0x1df3/0x26c0
    [<ffffffff8112774f>] get_sb_bdev+0x16f/0x1b0
    [<ffffffff811c8fd3>] ext4_get_sb+0x13/0x20
    [<ffffffff81127216>] vfs_kern_mount+0x76/0x180
    [<ffffffff8112738d>] do_kern_mount+0x4d/0x130
    [<ffffffff8113fc57>] do_mount+0x307/0x8b0
    [<ffffffff8114028f>] sys_mount+0x8f/0xe0
    [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff880039570800 (size 1024):
  comm "exe", pid 1168, jiffies 4294893410
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff811e1d71>] ext4_mb_init+0x1a1/0x590
    [<ffffffff811d2da3>] ext4_fill_super+0x1df3/0x26c0
    [<ffffffff8112774f>] get_sb_bdev+0x16f/0x1b0
    [<ffffffff811c8fd3>] ext4_get_sb+0x13/0x20
    [<ffffffff81127216>] vfs_kern_mount+0x76/0x180
    [<ffffffff8112738d>] do_kern_mount+0x4d/0x130
    [<ffffffff8113fc57>] do_mount+0x307/0x8b0
    [<ffffffff8114028f>] sys_mount+0x8f/0xe0
    [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff880039572000 (size 1024):
  comm "exe", pid 1168, jiffies 4294893410
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff811e1d71>] ext4_mb_init+0x1a1/0x590
    [<ffffffff811d2da3>] ext4_fill_super+0x1df3/0x26c0
    [<ffffffff8112774f>] get_sb_bdev+0x16f/0x1b0
    [<ffffffff811c8fd3>] ext4_get_sb+0x13/0x20
    [<ffffffff81127216>] vfs_kern_mount+0x76/0x180
    [<ffffffff8112738d>] do_kern_mount+0x4d/0x130
    [<ffffffff8113fc57>] do_mount+0x307/0x8b0
    [<ffffffff8114028f>] sys_mount+0x8f/0xe0
    [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff880039573c00 (size 1024):
  comm "exe", pid 1168, jiffies 4294893410
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff811e1d71>] ext4_mb_init+0x1a1/0x590
    [<ffffffff811d2da3>] ext4_fill_super+0x1df3/0x26c0
    [<ffffffff8112774f>] get_sb_bdev+0x16f/0x1b0
    [<ffffffff811c8fd3>] ext4_get_sb+0x13/0x20
    [<ffffffff81127216>] vfs_kern_mount+0x76/0x180
    [<ffffffff8112738d>] do_kern_mount+0x4d/0x130
    [<ffffffff8113fc57>] do_mount+0x307/0x8b0
    [<ffffffff8114028f>] sys_mount+0x8f/0xe0
    [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff880039572800 (size 1024):
  comm "exe", pid 1168, jiffies 4294893410
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff811e1d71>] ext4_mb_init+0x1a1/0x590
    [<ffffffff811d2da3>] ext4_fill_super+0x1df3/0x26c0
    [<ffffffff8112774f>] get_sb_bdev+0x16f/0x1b0
    [<ffffffff811c8fd3>] ext4_get_sb+0x13/0x20
    [<ffffffff81127216>] vfs_kern_mount+0x76/0x180
    [<ffffffff8112738d>] do_kern_mount+0x4d/0x130
    [<ffffffff8113fc57>] do_mount+0x307/0x8b0
    [<ffffffff8114028f>] sys_mount+0x8f/0xe0
    [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff880006ce0400 (size 1024):
  comm "mplayer", pid 5293, jiffies 4295366945
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff813021b0>] tty_buffer_request_room+0xc0/0x190
    [<ffffffff8130244c>] tty_insert_flip_string+0x3c/0xb0
    [<ffffffff81302f49>] pty_write+0x49/0x70
    [<ffffffff812fd3b0>] n_tty_write+0x1c0/0x450
    [<ffffffff812f9ec1>] tty_write+0x1a1/0x290
    [<ffffffff81124518>] vfs_write+0xb8/0x1a0
    [<ffffffff81124fcc>] sys_write+0x4c/0x80
    [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff880006ce1800 (size 1024):
  comm "mplayer", pid 5293, jiffies 4295366970
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff813021b0>] tty_buffer_request_room+0xc0/0x190
    [<ffffffff8130244c>] tty_insert_flip_string+0x3c/0xb0
    [<ffffffff81302f49>] pty_write+0x49/0x70
    [<ffffffff812fd3b0>] n_tty_write+0x1c0/0x450
    [<ffffffff812f9ec1>] tty_write+0x1a1/0x290
    [<ffffffff81124518>] vfs_write+0xb8/0x1a0
    [<ffffffff81124fcc>] sys_write+0x4c/0x80
    [<ffffffff81011f02>] system_call_fastpath+0x16/0x1b
    [<ffffffffffffffff>] 0xffffffffffffffff
unreferenced object 0xffff880006ce1400 (size 1024):
  comm "mplayer", pid 5293, jiffies 4295367045
  backtrace:
    [<ffffffff81121fad>] create_object+0x13d/0x2d0
    [<ffffffff81122265>] kmemleak_alloc+0x25/0x60
    [<ffffffff81119f3b>] __kmalloc+0x16b/0x250
    [<ffffffff813021b0>] tty_buffer_request_room+0xc0/0x190
    [<ffffffff8130244c>] tty_insert_flip_string+0x3c/0xb0
    [<ffffffff81302f49>] pty_write+0x49/0x70
    [<ffffffff812fd3b0>] n_tty_write+0x1c0/0x450
    [<ffffffff812f9ec1>] tty_write+0x1a1/0x290
    [<ffffffff81124518>] vfs_write+0xb8/0x1a0
    [<ffffffff81124fcc>] sys_write+0x4c/0x80
    [<ffffffff81011f02>] 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@...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