[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190111.175711.1689272658462652060.davem@davemloft.net>
Date: Fri, 11 Jan 2019 17:57:11 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: baijiaju1990@...il.com
Cc: isdn@...ux-pingi.de, viro@...iv.linux.org.uk, linux@...ck-us.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] isdn: i4l: isdn_tty: Fix some concurrency double-free
bugs
From: Jia-Ju Bai <baijiaju1990@...il.com>
Date: Tue, 8 Jan 2019 21:04:48 +0800
> The functions isdn_tty_tiocmset() and isdn_tty_set_termios() may be
> concurrently executed.
...
> These possible bugs are found by a static tool written by myself and
> my manual code review.
>
> To fix these possible bugs, the mutex lock "modem_info_mutex" used in
> isdn_tty_tiocmset() is added in isdn_tty_set_termios().
>
> Signed-off-by: Jia-Ju Bai <baijiaju1990@...il.com>
Applied.
Powered by blists - more mailing lists