Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1613067

Re: [PATCH v2] module: check if memory leak by module.

From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [PATCH v2] module: check if memory leak by module.
Date 2017-03-30 15:40 +0200
Message-ID <tqIsV-70Q-11@gated-at.bofh.it> (permalink)
References <tqeXT-2Ou-3@gated-at.bofh.it> <tqeXT-2Ou-1@gated-at.bofh.it> <tqIsV-70Q-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

 
>  3) This might produce false positives. E.g. module may defer vfree() in workqueue, so the 
>      actual vfree() call happens after module unloaded.

Umm. Really?

I agree that module may alloc memory and pass it to someone else. Ok
so far.

But if module code executes after module is unloaded -- that is use
after free -- right?
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH v2] module: check if memory leak by module. Maninder Singh <maninder1.s@samsung.com> - 2017-03-29 08:10 +0200
  Re: [PATCH v2] module: check if memory leak by module. Michal Hocko <mhocko@kernel.org> - 2017-03-29 09:50 +0200
    Re: [PATCH v2] module: check if memory leak by module. Miroslav Benes <mbenes@suse.cz> - 2017-03-29 10:10 +0200
      Re: [PATCH v2] module: check if memory leak by module. Vaneet Narang <v.narang@samsung.com> - 2017-03-29 12:40 +0200
        Re: [PATCH v2] module: check if memory leak by module. Michal Hocko <mhocko@kernel.org> - 2017-03-29 13:40 +0200
          Re: [PATCH v2] module: check if memory leak by module. Joel Fernandes <joelaf@google.com> - 2017-03-31 08:50 +0200
            Re: [PATCH v2] module: check if memory leak by module. Michal Hocko <mhocko@kernel.org> - 2017-03-31 10:10 +0200
              Re: [PATCH v2] module: check if memory leak by module. Joel Fernandes <joelaf@google.com> - 2017-03-31 19:10 +0200
                Re: [PATCH v2] module: check if memory leak by module. Michal Hocko <mhocko@kernel.org> - 2017-04-03 09:30 +0200
        Re: [PATCH v2] module: check if memory leak by module. Jessica Yu <jeyu@redhat.com> - 2017-04-01 00:20 +0200
  Re: [PATCH v2] module: check if memory leak by module. Pavel Machek <pavel@ucw.cz> - 2017-03-30 15:40 +0200

csiph-web