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:   Sun, 22 Oct 2017 06:05:28 +0800
From:   kernel test robot <fengguang.wu@...el.com>
To:     Lixin Wang <alan.1.wang@...ia-sbell.com>
Cc:     LKP <lkp@...org>, linux-kernel@...r.kernel.org,
        devicetree@...r.kernel.org, Frank Rowand <frowand.list@...il.com>,
        Frank Rowand <frank.rowand@...y.com>,
        Rob Herring <robh@...nel.org>, wfg@...ux.intel.com
Subject: c810c0a17e ("of: dynamic: fix memory leak related to .."):
  WARNING: CPU: 0 PID: 0 at arch/x86/mm/tlb.c:265
 initialize_tlbstate_and_flush

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next

commit c810c0a17e019d1e4345bcbc49b6eddcf5dd001d
Author:     Lixin Wang <alan.1.wang@...ia-sbell.com>
AuthorDate: Fri Oct 20 09:59:09 2017 +0800
Commit:     Rob Herring <robh@...nel.org>
CommitDate: Fri Oct 20 10:27:33 2017 -0500

    of: dynamic: fix memory leak related to properties of __of_node_dup
    
    If a node with no properties is dynamically added, then a property is
    dynamically added to the node, then the property is dynamically removed,
    the result will be node->properties == NULL and node->deadprops != NULL.
    
    Add a separate function to release the properties in both lists.
    
    Signed-off-by: Lixin Wang <alan.1.wang@...ia-sbell.com>
    Reviewed-by: Frank Rowand <frank.rowand@...y.com>
    Signed-off-by: Rob Herring <robh@...nel.org>

4ee7c0d964  of: overlay: make pr_err() string unique
c810c0a17e  of: dynamic: fix memory leak related to properties of __of_node_dup
c810c0a17e  of: dynamic: fix memory leak related to properties of __of_node_dup
+-------------------------------------------------------------+------------+------------+------------+
|                                                             | 4ee7c0d964 | c810c0a17e | c810c0a17e |
+-------------------------------------------------------------+------------+------------+------------+
| boot_successes                                              | 2          | 0          | 0          |
| boot_failures                                               | 46         | 15         | 15         |
| WARNING:at_arch/x86/mm/tlb.c:#initialize_tlbstate_and_flush | 46         | 13         | 13         |
| EIP:initialize_tlbstate_and_flush                           | 46         | 13         | 13         |
| BUG:unable_to_handle_kernel                                 | 0          | 15         | 15         |
| Oops:#[##]                                                  | 0          | 15         | 15         |
| EIP:property_list_free                                      | 0          | 15         | 15         |
| Kernel_panic-not_syncing:Fatal_exception                    | 0          | 15         | 15         |
+-------------------------------------------------------------+------------+------------+------------+

[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at arch/x86/mm/tlb.c:265 initialize_tlbstate_and_flush+0x1ae/0x1d0
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.0-rc1-00047-gc810c0a #1
[    0.000000] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    0.000000] task: c7caca40 task.stack: c7c94000
[    0.000000] EIP: initialize_tlbstate_and_flush+0x1ae/0x1d0
[    0.000000] EFLAGS: 00210002 CPU: 0
[    0.000000] EAX: 00000000 EBX: c7caca00 ECX: 00000000 EDX: 00000001
[    0.000000] ESI: 00000000 EDI: c7cd7320 EBP: c7c95f4c ESP: c7c95f30
[    0.000000]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    0.000000] CR0: 80050033 CR2: 00000000 CR3: 08683000 CR4: 00040690
[    0.000000] Call Trace:
[    0.000000]  cpu_init+0x16e/0x390
[    0.000000]  trap_init+0x3c/0x44
[    0.000000]  start_kernel+0x1e4/0x495
[    0.000000]  i386_start_kernel+0xa8/0xac
[    0.000000]  startup_32_smp+0x15f/0x161
[    0.000000] Code: 67 c8 75 c9 83 c4 10 5b 5e 5f 5d c3 90 c7 04 24 01 00 00 00 31 c9 ba 01 00 00 00 b8 30 e5 df c7 e8 68 53 12 00 ff 05 4c 83 ed c7 <0f> ff ba 01 00 00 00 e9 01 ff ff ff 8d b6 00 00 00 00 0f ff e9
[    0.000000] ---[ end trace c79475d607a84e11 ]---
[    0.000000] allocated 266092 bytes of page_ext

                                                          # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD
git bisect start 22ecfe34fbc8bd717ba4a1f66f9d87ae5234c16c 33d930e59a98fa10a0db9f56c7fa2f21a4aef9b9 --
git bisect  bad 17895e2403c7805bafbf647bbdc6871541ae53d1  # 21:21  B      0    10   23   0  Merge 'linux-review/Gilad-Ben-Yossef/simplify-crypto-wait-for-async-op/20171017-115841' into devel-hourly-2017102114
git bisect  bad 74809e3e33e71e07cbf6dc562a7389864391c786  # 21:46  B      0    11   27   4  Merge 'linux-review/Christos-Gkekas/ceph-Delete-unused-variable-in-mds_client/20171017-130016' into devel-hourly-2017102114
git bisect good d9b3968e0082578dd385f77bdd6cae61ce4aa145  # 22:07  G     11     0    0   0  Merge 'linux-review/Julian-Wiedmann/s390-net-updates-2017-10-18/20171021-124933' into devel-hourly-2017102114
git bisect good 4538f02d6ca9c88a74897f3c2b1f3b077e9e69a4  # 22:37  G     11     0    0   0  Merge 'linux-review/netanel-amazon-com/ENA-ethernet-driver-bug-fixes/20171018-104932' into devel-hourly-2017102114
git bisect good bda58c82af9721dd3b223d0a292eecbcc2298608  # 23:54  G     11     0    0   0  Merge 'kbuild/fixes' into devel-hourly-2017102114
git bisect good 5c8abb79d7ec7619462fbec057851419b098db02  # 01:15  G     11     0    0   0  Merge 'slave-dma/topic/img' into devel-hourly-2017102114
git bisect  bad c8457e695b501385772741836ad0c1eb1536d583  # 01:28  B      0    11   23   0  Merge 'linux-review/Icenowy-Zheng/dt-bindings-add-binding-for-A64-DE2-CCU-with-SRAM-section/20171017-082603' into devel-hourly-2017102114
git bisect  bad 3edf700b6837f1f29865deb34caa1040a37fc6fe  # 01:45  B      0    11   23   0  Merge 'linux-review/Kees-Cook/tty-mips_ejtag_fdc-Convert-timers-to-use-timer_setup/20171019-231009' into devel-hourly-2017102114
git bisect  bad e3dd326d7fdb6224bd6044f388f98219c1fc3cdc  # 03:06  B      0    11   28   4  Merge 'robh/for-next' into devel-hourly-2017102114
git bisect good 87f242c119c403e8b948c8b95eca4ab6212fd1a9  # 03:28  G     11     0   11  11  of: overlay: expand check of whether overlay changeset can be removed
git bisect good e0a58f3e08d4b7fa8e2a4075c522f1a98c9e4cab  # 03:53  G     11     0   11  13  of: overlay: remove a dependency on device node full_name
git bisect good a1d19bd4cf1febf0d5ff60243826a248bd20f1a5  # 04:15  G     11     0   11  13  of: overlay: pr_err from return NOTIFY_OK to overlay apply/remove
git bisect  bad c810c0a17e019d1e4345bcbc49b6eddcf5dd001d  # 04:30  B      0    11   27   4  of: dynamic: fix memory leak related to properties of __of_node_dup
git bisect good 4ee7c0d9649d472d31969b9cbb8151161db6a807  # 04:50  G     11     0   11  13  of: overlay: make pr_err() string unique
# first bad commit: [c810c0a17e019d1e4345bcbc49b6eddcf5dd001d] of: dynamic: fix memory leak related to properties of __of_node_dup
git bisect good 4ee7c0d9649d472d31969b9cbb8151161db6a807  # 04:58  G     33     0   33  46  of: overlay: make pr_err() string unique
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad c810c0a17e019d1e4345bcbc49b6eddcf5dd001d  # 05:26  B      0    11   23   0  of: dynamic: fix memory leak related to properties of __of_node_dup
# extra tests on HEAD of linux-devel/devel-hourly-2017102114
git bisect  bad 22ecfe34fbc8bd717ba4a1f66f9d87ae5234c16c  # 05:27  B      0    45   62   2  0day head guard for 'devel-hourly-2017102114'
# extra tests on tree/branch robh/for-next
git bisect  bad c810c0a17e019d1e4345bcbc49b6eddcf5dd001d  # 05:38  B      0    15   27   0  of: dynamic: fix memory leak related to properties of __of_node_dup
# extra tests with first bad commit reverted
git bisect good 773db3dc93897f3a5cc2fe3b9d9698696c9ea367  # 06:04  G     11     0   11  11  Revert "of: dynamic: fix memory leak related to properties of __of_node_dup"

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Download attachment "dmesg-yocto-lkp-hsw01-108:20171022042734:i386-randconfig-c0-10211919:4.14.0-rc1-00047-gc810c0a:1.gz" of type "application/gzip" (23714 bytes)

Download attachment "dmesg-vm-kbuild-yocto-i386-46:20171022044610:i386-randconfig-c0-10211919:4.14.0-rc1-00046-g4ee7c0d:1.gz" of type "application/gzip" (23513 bytes)

View attachment "reproduce-yocto-lkp-hsw01-108:20171022042734:i386-randconfig-c0-10211919:4.14.0-rc1-00047-gc810c0a:1" of type "text/plain" (895 bytes)

View attachment "config-4.14.0-rc1-00047-gc810c0a" of type "text/plain" (133536 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ