Re: memory leak bug at linux kernel 3.10.108 and Other some versions.

From: Willy Tarreau
Date: Thu Aug 02 2018 - 12:04:00 EST


Hello,

On Thu, Aug 02, 2018 at 07:47:32PM +0800, luo wrote:
> In the process of learning Linux source code, I found a bug?In some versions,
> he can cause memory leaks, such as 3.10.108, 4.12.14, 3.19.8. Among them,
> 3.10 is the main line version?The ipc.opt object in the udp_sendmsg function
> may not be released resulting in a memory leak.Although I found that some
> other versions have fixed this problem, I did not pay special attention to
> seeing this vulnerability in the kernel vulnerability list, so I still
> submitted this bug.

Is it on purpose that you've tested this only on dead kernels ? Have you
tried to reproduce this issue with an up-to-date kernel from a branch that
is still maintained ?

Several thousands of bugs have been fixed since 3.10.108 was released 8
months ago and became end of life.

Regards,
Willy