Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1460960

Re: [PATCH] x86/x2apic: fix x2apic_cluster_probe null pointer

From "Han, Huaitong" <huaitong.han@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/x2apic: fix x2apic_cluster_probe null pointer
Date 2016-08-12 08:10 +0200
Message-ID <s5dPj-6mv-17@gated-at.bofh.it> (permalink)
References <s5dmh-5Xg-1@gated-at.bofh.it> <s5dFD-63T-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2016-08-12 at 13:50 +0800, Wanpeng Li wrote:
> 2016-08-12 13:30 GMT+08:00 Huaitong Han <huaitong.han@intel.com>:
> > percpu cpus_in_cluster is a pointer with CONFIG_CPUMASK_OFFSTACK, cpu_in_cluster
> > is not alloced memory before x2apic_prepare_cpu is invoked, so cpumask_set_cpu
> > would get a NULL pointer bug:
> >  BUG: unable to handle kernel NULL pointer dereference at (null)
> >  IP: [<ffffffff8105ac25>] x2apic_cluster_probe+0x35/0x70
> 
> Could you try this? https://lkml.org/lkml/2016/8/4/345
Get, it has been fixed,
http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=d52c0569bab4edc888832df44dc7ac28517134f6
> 
> Regards,
> Wanpeng Li

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] x86/x2apic: fix x2apic_cluster_probe null pointer Huaitong Han <huaitong.han@intel.com> - 2016-08-12 07:40 +0200
  Re: [PATCH] x86/x2apic: fix x2apic_cluster_probe null pointer Wanpeng Li <kernellwp@gmail.com> - 2016-08-12 08:00 +0200
    Re: [PATCH] x86/x2apic: fix x2apic_cluster_probe null pointer "Han, Huaitong" <huaitong.han@intel.com> - 2016-08-12 08:10 +0200

csiph-web