Re: [v10 0/4] media: vidtv: Implement a virtual DVB driver

2020-09-12 Thread Hans Verkuil
Hi Daniel, First of all, thank you for all your work on this. I see that Mauro merged this v10, and after testing I posted a patch for the Kconfig, since that seems to be wrong. I have some more questions below, my apologies if that's been asked before. On 21/08/2020 14:58, Daniel W. S. Almeida

[PATCH net-next] net: ethernet: mlx4: Avoid assigning a value to ring_cons but not used it anymore in mlx4_en_xmit()

2020-09-12 Thread Luo Jiaxing
We found a set but not used variable 'ring_cons' in mlx4_en_xmit(), it will cause a warning when build the kernel. And after checking the commit record of this function, we found that it was introduced by a previous patch. So, We delete this redundant assignment code. Fixes: 488a9b48e398 ("net/ml

Re: [PATCH 4.4 00/62] 4.4.236-rc1 review

2020-09-12 Thread Naresh Kamboju
On Fri, 11 Sep 2020 at 18:24, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.236 release. > There are 62 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCH 4.9 00/71] 4.9.236-rc1 review

2020-09-12 Thread Naresh Kamboju
On Fri, 11 Sep 2020 at 18:27, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.236 release. > There are 71 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

KMSAN: uninit-value in netif_receive_generic_xdp

2020-09-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3b3ea602 x86: add failure injection to get/put/clear_user git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=177d733590 kernel config: https://syzkaller.appspot.com/x

KMSAN: uninit-value in ip_check_mc_rcu (3)

2020-09-12 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:3b3ea602 x86: add failure injection to get/put/clear_user git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=1357bd3e90 kernel config: https://syzkaller.appspot.com/x

Re: [RESEND][RFC PATCH 0/6] Fork brute force attack mitigation (fbfam)

2020-09-12 Thread Kees Cook
On Sat, Sep 12, 2020 at 10:03:23AM +1000, James Morris wrote: > On Thu, 10 Sep 2020, Kees Cook wrote: > > > [kees: re-sending this series on behalf of John Wood > > also visible at https://github.com/johwood/linux fbfam] > > > > From: John Wood > > Why are you resending this? The author of th

Re: [PATCH 1/3] SVM: nSVM: correctly restore GIF on vmexit from nesting after migration

2020-09-12 Thread Paolo Bonzini
On 27/08/20 18:27, Maxim Levitsky wrote: > However in nested_svm_vmexit we were first were setting GIF to false, > but then we overwrite this with value from the hsave area. Do you mean we are overwriting the resulting intercepts with values from the hsave area? If so, I can rewrite the commit me

Re: [RESEND][RFC PATCH 0/6] Fork brute force attack mitigation (fbfam)

2020-09-12 Thread Kees Cook
On Fri, Sep 11, 2020 at 04:48:06PM +0200, John Wood wrote: > In other words, a late reply to this serie comments is not a lack of > interest. Moreover, I think it would be better that I try to understand and > to implement your ideas before anything else. Understood! :) > My original patch serie

Re: [PATCH 2/6] x86: Simplify compat syscall userspace allocation

2020-09-12 Thread Gabriel Krisman Bertazi
Christoph Hellwig writes: > On Sat, Sep 12, 2020 at 03:05:49AM -0400, Gabriel Krisman Bertazi wrote: >> When allocating user memory space for a compat system call, don't >> consider whether the originating code is IA32 or X32, just allocate from >> a safe region for both, beyond the redzone. Thi

Re: [PATCH v2 4/4] ARM64: mt8183: Add support of APU to mt8183

2020-09-12 Thread kernel test robot
Hi Alexandre, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on linus/master v5.9-rc4 next-20200911] [cannot apply to remoteproc/for-next rpmsg/for-next] [If your patch is applied to the wrong git tree, kindly drop us a note. And

Re: [PATCH 4.14 00/12] 4.14.198-rc1 review

2020-09-12 Thread Naresh Kamboju
On Fri, 11 Sep 2020 at 18:29, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.14.198 release. > There are 12 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Re

Re: [PATCH 4.19 0/8] 4.19.145-rc1 review

2020-09-12 Thread Naresh Kamboju
On Fri, 11 Sep 2020 at 18:31, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.145 release. > There are 8 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Res

Re: [PATCH 3/3] scsi: megaraid_sas: simplify compat_ioctl handling

2020-09-12 Thread Christoph Hellwig
On Tue, Sep 08, 2020 at 11:36:23PM +0200, Arnd Bergmann wrote: > There have been several attempts to fix serious problems > in the compat handling in megasas_mgmt_compat_ioctl_fw(), > and it also uses the compat_alloc_user_space() function. I just looked into this a few weeks ago but didn't get th

[PATCH] tlan: switch from 'pci_' to 'dma_' API

2020-09-12 Thread Christophe JAILLET
The wrappers in include/linux/pci-dma-compat.h should go away. The patch has been generated with the coccinelle script below and has been hand modified to replace GFP_ with a correct flag. It has been compile tested. When memory is allocated in 'tlan_init()' GFP_KERNEL can be used because it is o

Re: KASAN: use-after-free Read in hci_get_auth_info

2020-09-12 Thread Anant Thazhemadam
On 11-09-2020 15:20, Dmitry Vyukov wrote: > On Sat, Aug 8, 2020 at 8:56 AM syzbot > wrote: >> Hello, >> >> syzbot found the following issue on: >> >> HEAD commit:d6efb3ac Merge tag 'tty-5.9-rc1' of git://git.kernel.org/p.. >> git tree: upstream >> console output: https://syzkaller.apps

Re: [PATCH 5.4 0/8] 5.4.65-rc1 review

2020-09-12 Thread Naresh Kamboju
On Fri, 11 Sep 2020 at 18:30, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.65 release. > There are 8 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respo

Re: [PATCH 5.8 00/16] 5.8.9-rc1 review

2020-09-12 Thread Naresh Kamboju
On Fri, 11 Sep 2020 at 18:30, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.8.9 release. > There are 16 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respo

Re: [PATCH 2/3] scsi: megaraid_sas: check user-provided offsets

2020-09-12 Thread Christoph Hellwig
On Tue, Sep 08, 2020 at 11:36:22PM +0200, Arnd Bergmann wrote: > It sounds unwise to let user space pass an unchecked 32-bit > offset into a kernel structure in an ioctl. This is an unsigned > variable, so checking the upper bound for the size of the structure > it points into is sufficient to avoi

Re: [PATCH V6 1/1] Softirq:avoid large sched delay from the pending softirqs

2020-09-12 Thread jun qian
于2020年9月11日周五 下午11:55写道: > > On Wed, Sep 09, 2020 at 05:09:31PM +0800, qianjun.ker...@gmail.com wrote: > > From: jun qian > > > > When get the pending softirqs, it need to process all the pending > > softirqs in the while loop. If the processing time of each pending > > softirq is need more than

Re: [PATCH 1/3] scsi: aacraid: improve compat_ioctl handlers

2020-09-12 Thread Christoph Hellwig
On Tue, Sep 08, 2020 at 11:36:21PM +0200, Arnd Bergmann wrote: > @@ -243,8 +244,23 @@ static int next_getadapter_fib(struct aac_dev * dev, > void __user *arg) > struct list_head * entry; > unsigned long flags; > > - if(copy_from_user((void *)&f, arg, sizeof(struct fib_ioctl))) >

Re: [PATCH 2/6] x86: Simplify compat syscall userspace allocation

2020-09-12 Thread Christoph Hellwig
On Sat, Sep 12, 2020 at 03:05:49AM -0400, Gabriel Krisman Bertazi wrote: > When allocating user memory space for a compat system call, don't > consider whether the originating code is IA32 or X32, just allocate from > a safe region for both, beyond the redzone. This should be safe for > IA32, and

[PATCH 3/6] x86: oprofile: Avoid TIF_IA32 when checking 64bit mode

2020-09-12 Thread Gabriel Krisman Bertazi
In preparation to remove TIF_IA32, stop using it in oprofile code. Signed-off-by: Gabriel Krisman Bertazi --- arch/x86/oprofile/backtrace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/oprofile/backtrace.c b/arch/x86/oprofile/backtrace.c index a2488b6e27d6..1d8391

[PATCH 6/6] x86: elf: Use e_machine to select setup_additional_pages for x32

2020-09-12 Thread Gabriel Krisman Bertazi
Since TIF_X32 is going away, avoid using it to find the ELF type when choosing which additional pages to set up. According to SysV AMD64 ABI Draft, an AMD64 ELF object using ILP32 must have ELFCLASS32 with (E_MACHINE == EM_X86_64), so use that ELF field to differentiate a x32 object from a IA32 ob

[PATCH 5/6] x86: elf: Use e_machine to select start_thread for x32

2020-09-12 Thread Gabriel Krisman Bertazi
Since TIF_X32 is going away, avoid using it to find the ELF type on compat_start_thread According to SysV AMD64 ABI Draft, an AMD64 ELF object using ILP32 must have ELFCLASS32 with (E_MACHINE == EM_X86_64), so use that ELF field to differentiate a x32 object from a IA32 object when executing start

[PATCH 1/6] x86: events: Avoid TIF_IA32 when checking 64bit mode

2020-09-12 Thread Gabriel Krisman Bertazi
In preparation to remove TIF_IA32, stop using it in perf events code. Tested by running perf on 32-bit, 64-bit and x32 applications. Suggested-by: Andy Lutomirski Signed-off-by: Gabriel Krisman Bertazi --- arch/x86/events/core.c | 2 +- arch/x86/events/intel/ds.c | 2 +- arch/x86/events/

[PATCH 2/6] x86: Simplify compat syscall userspace allocation

2020-09-12 Thread Gabriel Krisman Bertazi
When allocating user memory space for a compat system call, don't consider whether the originating code is IA32 or X32, just allocate from a safe region for both, beyond the redzone. This should be safe for IA32, and has the benefit of avoiding TIF_IA32, which we want to drop. Suggested-by: Andy

[PATCH 4/6] x86: elf: Use e_machine to choose DLINFO in compat

2020-09-12 Thread Gabriel Krisman Bertazi
Since TIF_X32 is going away, avoid using it to find the ELF type on ARCH_DLINFO. According to SysV AMD64 ABI Draft, an AMD64 ELF object using ILP32 must have ELFCLASS32 with (E_MACHINE == EM_X86_64), so use that ELF field to differentiate a x32 object from a IA32 object when loading ARCH_DLINFO in

[PATCH 0/6] Prepare for removal of TIF_IA32 and TIF_X32

2020-09-12 Thread Gabriel Krisman Bertazi
We are running out of TI flags for x86. This patchset removes several usages of TIF_IA32 and TIF_x32 in preparation to reclaim these flags. After these cleanups, there is still one more user for both of them, which I need to take a better look before removing. Many of the ideas for this patchset

Re: [Intel-gfx][PATCH v2] drm/i915/gvt: Prevent NULL pointer dereference in intel_vgpu_reg_rw_edid()

2020-09-12 Thread Aho Sior
Perfect! I can confirm it resolves the issue as well, thank you very much. Have a great day, Alejandro Sior. On Fri, 11 Sep 2020 at 07:58, Zhenyu Wang wrote: > > On 2020.09.08 20:11:21 +0200, Alejandro Sior wrote: > > In the function intel_vgpu_reg_rw_edid of kvmgt.c, pos can be equal > > to NU

<    1   2   3   4