Re: [PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-23 Thread Sean Young
On Mon, Apr 23, 2018 at 07:34:22AM -0300, Mauro Carvalho Chehab wrote: > Em Mon, 23 Apr 2018 10:04:20 +0100 > Sean Young escreveu: > > > On Sun, Apr 22, 2018 at 11:47:51AM +0200, Greg KH wrote: > > > On Mon, Apr 16, 2018 at 10:15:28AM +0100, Sean Young wrote: > > > > On Mon, Apr

Re: [PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-23 Thread Mauro Carvalho Chehab
Em Mon, 23 Apr 2018 10:04:20 +0100 Sean Young escreveu: > On Sun, Apr 22, 2018 at 11:47:51AM +0200, Greg KH wrote: > > On Mon, Apr 16, 2018 at 10:15:28AM +0100, Sean Young wrote: > > > On Mon, Apr 16, 2018 at 10:50:15AM +0200, Greg KH wrote: > > > > On Mon, Apr 16, 2018 at

Re: [PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-23 Thread Sean Young
On Sun, Apr 22, 2018 at 11:47:51AM +0200, Greg KH wrote: > On Mon, Apr 16, 2018 at 10:15:28AM +0100, Sean Young wrote: > > On Mon, Apr 16, 2018 at 10:50:15AM +0200, Greg KH wrote: > > > On Mon, Apr 16, 2018 at 09:43:45AM +0100, Sean Young wrote: > > > > On Mon, Apr 16, 2018 at 09:52:28AM +0200,

Re: [PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-22 Thread Greg KH
On Mon, Apr 16, 2018 at 10:15:28AM +0100, Sean Young wrote: > On Mon, Apr 16, 2018 at 10:50:15AM +0200, Greg KH wrote: > > On Mon, Apr 16, 2018 at 09:43:45AM +0100, Sean Young wrote: > > > On Mon, Apr 16, 2018 at 09:52:28AM +0200, Greg KH wrote: > > > > What is the git commit id of this patch, and

Re: [PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-16 Thread Sean Young
On Mon, Apr 16, 2018 at 10:50:15AM +0200, Greg KH wrote: > On Mon, Apr 16, 2018 at 09:43:45AM +0100, Sean Young wrote: > > On Mon, Apr 16, 2018 at 09:52:28AM +0200, Greg KH wrote: > > > What is the git commit id of this patch, and the other patches in this > > > series and the 4.14 patch series

Re: [PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-16 Thread Greg KH
On Mon, Apr 16, 2018 at 09:43:45AM +0100, Sean Young wrote: > On Mon, Apr 16, 2018 at 09:52:28AM +0200, Greg KH wrote: > > On Sun, Apr 15, 2018 at 10:54:20AM +0100, Sean Young wrote: > > > commit 615cd3fe6ccc ("[media] media: lirc_dev: make better use of > > > file->private_data") removed the

Re: [PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-16 Thread Sean Young
On Mon, Apr 16, 2018 at 09:52:28AM +0200, Greg KH wrote: > On Sun, Apr 15, 2018 at 10:54:20AM +0100, Sean Young wrote: > > commit 615cd3fe6ccc ("[media] media: lirc_dev: make better use of > > file->private_data") removed the reference get from open, so on the first > > close the reference count

Re: [PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-16 Thread Greg KH
On Sun, Apr 15, 2018 at 10:54:20AM +0100, Sean Young wrote: > commit 615cd3fe6ccc ("[media] media: lirc_dev: make better use of > file->private_data") removed the reference get from open, so on the first > close the reference count hits zero and the lirc device is freed. > > BUG: unable to handle

[PATCH stable v4.15 1/3] media: staging: lirc_zilog: broken reference counting

2018-04-15 Thread Sean Young
commit 615cd3fe6ccc ("[media] media: lirc_dev: make better use of file->private_data") removed the reference get from open, so on the first close the reference count hits zero and the lirc device is freed. BUG: unable to handle kernel NULL pointer dereference at 0040 IP: