public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] KVM/arm64 fixes for 6.9, part #2
@ 2024-04-24 19:39 Oliver Upton
  2024-04-30  8:16 ` Oliver Upton
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Upton @ 2024-04-24 19:39 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Marc Zyngier, kvm, kvmarm, Zenghui Yu, Suzuki K Poulose,
	Dmitry Vyukov, James Morse, Alexander Potapenko

Hi Paolo,

Single fix this time around for a rather straightforward NULL
dereference in one of the vgic ioctls, along with a reproducer I've
added as a testcase in selftests.

Please pull.

-- 
Thanks,
Oliver

The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:

  Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.9-2

for you to fetch changes up to 160933e330f4c5a13931d725a4d952a4b9aefa71:

  KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF (2024-04-24 19:09:36 +0000)

----------------------------------------------------------------
KVM/arm64 fixes for 6.9, part #2

- Fix + test for a NULL dereference resulting from unsanitised user
  input in the vgic-v2 device attribute accessors

----------------------------------------------------------------
Oliver Upton (2):
      KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()
      KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF

 arch/arm64/kvm/vgic/vgic-kvm-device.c           |  8 ++--
 tools/testing/selftests/kvm/aarch64/vgic_init.c | 49 +++++++++++++++++++++++++
 2 files changed, 53 insertions(+), 4 deletions(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 6.9, part #2
  2024-04-24 19:39 [GIT PULL] KVM/arm64 fixes for 6.9, part #2 Oliver Upton
@ 2024-04-30  8:16 ` Oliver Upton
  2024-04-30  8:28   ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Oliver Upton @ 2024-04-30  8:16 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Marc Zyngier, kvm, kvmarm, Zenghui Yu, Suzuki K Poulose,
	Dmitry Vyukov, James Morse, Alexander Potapenko

On Wed, Apr 24, 2024 at 12:39:46PM -0700, Oliver Upton wrote:
> Hi Paolo,
> 
> Single fix this time around for a rather straightforward NULL
> dereference in one of the vgic ioctls, along with a reproducer I've
> added as a testcase in selftests.
> 
> Please pull.

Nudging this, Paolo do you plan to pick this up or shall I make other
arrangements for getting this in?

> -- 
> Thanks,
> Oliver
> 
> The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:
> 
>   Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.9-2
> 
> for you to fetch changes up to 160933e330f4c5a13931d725a4d952a4b9aefa71:
> 
>   KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF (2024-04-24 19:09:36 +0000)
> 
> ----------------------------------------------------------------
> KVM/arm64 fixes for 6.9, part #2
> 
> - Fix + test for a NULL dereference resulting from unsanitised user
>   input in the vgic-v2 device attribute accessors
> 
> ----------------------------------------------------------------
> Oliver Upton (2):
>       KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()
>       KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF
> 
>  arch/arm64/kvm/vgic/vgic-kvm-device.c           |  8 ++--
>  tools/testing/selftests/kvm/aarch64/vgic_init.c | 49 +++++++++++++++++++++++++
>  2 files changed, 53 insertions(+), 4 deletions(-)
> 

-- 
Thanks,
Oliver

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 6.9, part #2
  2024-04-30  8:16 ` Oliver Upton
@ 2024-04-30  8:28   ` Paolo Bonzini
  2024-04-30  8:29     ` Oliver Upton
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2024-04-30  8:28 UTC (permalink / raw)
  To: Oliver Upton
  Cc: Marc Zyngier, kvm, kvmarm, Zenghui Yu, Suzuki K Poulose,
	Dmitry Vyukov, James Morse, Alexander Potapenko

Hi Oliver,

I was on vacation, and unfortunately I saw it pretty much the day I left home. I will get it to Linus this afternoon.

Paolo

Il 30 aprile 2024 10:16:21 CEST, Oliver Upton <oliver.upton@linux.dev> ha scritto:
>On Wed, Apr 24, 2024 at 12:39:46PM -0700, Oliver Upton wrote:
>> Hi Paolo,
>> 
>> Single fix this time around for a rather straightforward NULL
>> dereference in one of the vgic ioctls, along with a reproducer I've
>> added as a testcase in selftests.
>> 
>> Please pull.
>
>Nudging this, Paolo do you plan to pick this up or shall I make other
>arrangements for getting this in?
>
>> -- 
>> Thanks,
>> Oliver
>> 
>> The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:
>> 
>>   Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)
>> 
>> are available in the Git repository at:
>> 
>>   git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.9-2
>> 
>> for you to fetch changes up to 160933e330f4c5a13931d725a4d952a4b9aefa71:
>> 
>>   KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF (2024-04-24 19:09:36 +0000)
>> 
>> ----------------------------------------------------------------
>> KVM/arm64 fixes for 6.9, part #2
>> 
>> - Fix + test for a NULL dereference resulting from unsanitised user
>>   input in the vgic-v2 device attribute accessors
>> 
>> ----------------------------------------------------------------
>> Oliver Upton (2):
>>       KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()
>>       KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF
>> 
>>  arch/arm64/kvm/vgic/vgic-kvm-device.c           |  8 ++--
>>  tools/testing/selftests/kvm/aarch64/vgic_init.c | 49 +++++++++++++++++++++++++
>>  2 files changed, 53 insertions(+), 4 deletions(-)
>> 
>

Paolo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 6.9, part #2
  2024-04-30  8:28   ` Paolo Bonzini
@ 2024-04-30  8:29     ` Oliver Upton
  0 siblings, 0 replies; 4+ messages in thread
From: Oliver Upton @ 2024-04-30  8:29 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Marc Zyngier, kvm, kvmarm, Zenghui Yu, Suzuki K Poulose,
	Dmitry Vyukov, James Morse, Alexander Potapenko

On Tue, Apr 30, 2024 at 10:28:32AM +0200, Paolo Bonzini wrote:
> Hi Oliver,
> 
> I was on vacation, and unfortunately I saw it pretty much the day I left home. I will get it to Linus this afternoon.

No worries, thanks. Hope you had a good vacation!

> Il 30 aprile 2024 10:16:21 CEST, Oliver Upton <oliver.upton@linux.dev> ha scritto:
> >On Wed, Apr 24, 2024 at 12:39:46PM -0700, Oliver Upton wrote:
> >> Hi Paolo,
> >> 
> >> Single fix this time around for a rather straightforward NULL
> >> dereference in one of the vgic ioctls, along with a reproducer I've
> >> added as a testcase in selftests.
> >> 
> >> Please pull.
> >
> >Nudging this, Paolo do you plan to pick this up or shall I make other
> >arrangements for getting this in?
> >
> >> -- 
> >> Thanks,
> >> Oliver
> >> 
> >> The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7:
> >> 
> >>   Linux 6.9-rc3 (2024-04-07 13:22:46 -0700)
> >> 
> >> are available in the Git repository at:
> >> 
> >>   git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.9-2
> >> 
> >> for you to fetch changes up to 160933e330f4c5a13931d725a4d952a4b9aefa71:
> >> 
> >>   KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF (2024-04-24 19:09:36 +0000)
> >> 
> >> ----------------------------------------------------------------
> >> KVM/arm64 fixes for 6.9, part #2
> >> 
> >> - Fix + test for a NULL dereference resulting from unsanitised user
> >>   input in the vgic-v2 device attribute accessors
> >> 
> >> ----------------------------------------------------------------
> >> Oliver Upton (2):
> >>       KVM: arm64: vgic-v2: Check for non-NULL vCPU in vgic_v2_parse_attr()
> >>       KVM: selftests: Add test for uaccesses to non-existent vgic-v2 CPUIF
> >> 
> >>  arch/arm64/kvm/vgic/vgic-kvm-device.c           |  8 ++--
> >>  tools/testing/selftests/kvm/aarch64/vgic_init.c | 49 +++++++++++++++++++++++++
> >>  2 files changed, 53 insertions(+), 4 deletions(-)
> >> 
> >
> 
> Paolo
> 

-- 
Thanks,
Oliver

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-30  8:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-24 19:39 [GIT PULL] KVM/arm64 fixes for 6.9, part #2 Oliver Upton
2024-04-30  8:16 ` Oliver Upton
2024-04-30  8:28   ` Paolo Bonzini
2024-04-30  8:29     ` Oliver Upton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox