[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191120.121013.1898975725512803153.davem@davemloft.net>
Date: Wed, 20 Nov 2019 12:10:13 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jouni.hogander@...kie.com
Cc: netdev@...r.kernel.org, lukas.bulwahn@...il.com
Subject: Re: [PATCH] net-sysfs: Fix reference count leak in
rx|netdev_queue_add_kobject
From: jouni.hogander@...kie.com
Date: Wed, 20 Nov 2019 09:08:16 +0200
> From: Jouni Hogander <jouni.hogander@...kie.com>
>
> kobject_init_and_add takes reference even when it fails. This has
> to be given up by the caller in error handling. Otherwise memory
> allocated by kobject_init_and_add is never freed. Originally found
> by Syzkaller:
>
> BUG: memory leak
...
> Signed-off-by: Jouni Hogander <jouni.hogander@...kie.com>
Applied, thank you.
Powered by blists - more mailing lists