linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linuxppc-dev@lists.ozlabs.org
Subject: [Bug 206203] kmemleak reports various leaks in drivers/of/unittest.c
Date: Sun, 20 Nov 2022 17:18:52 +0000	[thread overview]
Message-ID: <bug-206203-206035-ZuygdhsOVn@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-206203-206035@https.bugzilla.kernel.org/>

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

Erhard F. (erhard_f@mailbox.org) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|OBSOLETE                    |---

--- Comment #22 from Erhard F. (erhard_f@mailbox.org) ---
As the kmemleak output pretty much the same and as it's the same PowerMac G4 DP
I reopened this bug. Seems some OF changes meanwhile lead to memory leaks
again.

This is 6.1-rc5:

[...]
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
unreferenced object 0xc140b820 (size 16):
  comm "swapper/0", pid 1, jiffies 4294877302 (age 1153.234s)
  hex dump (first 16 bytes):
    63 6f 6d 70 61 74 69 62 6c 65 00 6b 6b 6b 6b a5  compatible.kkkk.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
unreferenced object 0xc140b2b0 (size 16):
  comm "swapper/0", pid 1, jiffies 4294877302 (age 1153.234s)
  hex dump (first 16 bytes):
    73 65 72 69 61 6c 2d 6e 75 6d 62 65 72 00 6b a5  serial-number.k.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
unreferenced object 0xc1470f20 (size 32):
  comm "swapper/0", pid 1, jiffies 4294877302 (age 1153.234s)
  hex dump (first 32 bytes):
    63 75 73 74 6f 6d 65 72 2d 73 77 2d 63 6f 6e 66  customer-sw-conf
    69 67 00 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5  ig.kkkkkkkkkkkk.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
...skipping...
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<8e6fdf66>] kobject_set_name_vargs+0x34/0xcc
    [<0ebf4a99>] kobject_add+0x88/0x110
    [<21cfd1b6>] __of_attach_node_sysfs+0x94/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
unreferenced object 0xc17341c0 (size 16):
  comm "swapper/0", pid 1, jiffies 4294877309 (age 1153.314s)
  hex dump (first 16 bytes):
    64 65 76 69 63 65 5f 74 79 70 65 00 6b 6b 6b a5  device_type.kkk.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
unreferenced object 0xc1739168 (size 8):
  comm "swapper/0", pid 1, jiffies 4294877309 (age 1153.314s)
  hex dump (first 8 bytes):
    72 65 67 00 6b 6b 6b a5                          reg.kkk.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
unreferenced object 0xc17396c8 (size 8):
  comm "swapper/0", pid 1, jiffies 4294877309 (age 1153.314s)
  hex dump (first 8 bytes):
    70 68 61 6e 64 6c 65 00                          phandle.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
unreferenced object 0xc1739708 (size 8):
  comm "swapper/0", pid 1, jiffies 4294877309 (age 1153.314s)
  hex dump (first 8 bytes):
    6e 61 6d 65 00 6b 6b a5                          name.kk.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
...skipping...
unreferenced object 0xc1405588 (size 8):
  comm "swapper/0", pid 1, jiffies 4294877302 (age 1153.234s)
  hex dump (first 8 bytes):
    62 61 73 65 00 6b 6b a5                          base.kk.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<8e6fdf66>] kobject_set_name_vargs+0x34/0xcc
    [<0ebf4a99>] kobject_add+0x88/0x110
    [<21cfd1b6>] __of_attach_node_sysfs+0x94/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
unreferenced object 0xc1405568 (size 8):
  comm "swapper/0", pid 1, jiffies 4294877302 (age 1153.234s)
  hex dump (first 8 bytes):
    6d 6f 64 65 6c 00 6b a5                          model.k.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64
unreferenced object 0xc140b820 (size 16):
  comm "swapper/0", pid 1, jiffies 4294877302 (age 1153.234s)
  hex dump (first 16 bytes):
    63 6f 6d 70 61 74 69 62 6c 65 00 6b 6b 6b 6b a5  compatible.kkkk.
  backtrace:
    [<92345f14>] kstrdup+0x44/0x9c
    [<46e6ec0a>] __of_add_property_sysfs+0xb8/0x128
    [<d8832181>] __of_attach_node_sysfs+0xc0/0x170
    [<2592df33>] of_core_init+0xf8/0x23c
    [<e5e36822>] driver_init+0x4c/0x80
    [<9cac2ddd>] kernel_init_freeable+0x138/0x354
    [<fcc01e1e>] kernel_init+0x28/0x154
    [<0cec001f>] ret_from_kernel_thread+0x5c/0x64

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2022-11-20 17:19 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-14 15:51 [Bug 206203] New: kmemleak reports various leaks in drivers/of/unittest.c bugzilla-daemon
2020-01-14 15:54 ` [Bug 206203] " bugzilla-daemon
2020-01-14 15:55 ` bugzilla-daemon
2020-02-27 21:19 ` bugzilla-daemon
2020-02-27 22:06   ` Michael Ellerman
2020-02-27 21:20 ` bugzilla-daemon
2020-02-27 21:31 ` bugzilla-daemon
2020-02-27 22:07 ` bugzilla-daemon
2020-02-27 22:39 ` bugzilla-daemon
2020-04-03 19:22 ` bugzilla-daemon
2020-04-03 19:23 ` bugzilla-daemon
2020-04-03 19:23 ` bugzilla-daemon
2020-04-08  3:13   ` Michael Ellerman
2020-04-08 15:22     ` Frank Rowand
2020-04-16  3:27       ` Frank Rowand
2020-04-16 21:52         ` Frank Rowand
2020-04-17 15:46 ` bugzilla-daemon
2020-04-17 15:47 ` bugzilla-daemon
2020-06-15 20:43 ` bugzilla-daemon
2020-06-15 20:45 ` bugzilla-daemon
2020-06-15 20:53 ` bugzilla-daemon
2020-07-28  7:18 ` bugzilla-daemon
2020-07-28  7:19 ` bugzilla-daemon
2020-09-02 14:38 ` bugzilla-daemon
2020-09-02 14:39 ` bugzilla-daemon
2020-09-02 14:45 ` bugzilla-daemon
2021-03-03 20:57 ` bugzilla-daemon
2022-11-20 17:18 ` bugzilla-daemon [this message]
2022-11-20 17:24 ` bugzilla-daemon
2022-11-20 17:24 ` bugzilla-daemon
2022-11-20 17:25 ` bugzilla-daemon
2023-10-31 16:44 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-206203-206035-ZuygdhsOVn@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).