Nixpkgs security tracker

Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 3 weeks ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic

In the Linux kernel, the following vulnerability has been resolved: KVM: s390: pci: fix GAIT table indexing due to double-scaling pointer arithmetic kvm_s390_pci_aif_enable(), kvm_s390_pci_aif_disable(), and aen_host_forward() index the GAIT by manually multiplying the index with sizeof(struct zpci_gaite). Since aift->gait is already a struct zpci_gaite pointer, this double-scales the offset, accessing element aisb*16 instead of aisb. This causes out-of-bounds accesses when aisb >= 32 (with ZPCI_NR_DEVICES=512) Fix by removing the erroneous sizeof multiplication.

Affected products

Linux
  • <e7216651b94e92e5433fb2f54b77864642b4ea48
  • <16d990a15491cf76cd6eef0846e1b4100e63261a
  • <6.0
  • <b22a2da8792a7bfe743c1a922e77fa499ddedbe8
  • =<6.18.*
  • =<6.12.*
  • =<7.0.*
  • ==6.0
  • =<*
  • <31a9d9f9942885aae356a1a57c79e82c5b5b0828
  • <a99a25db131ece5e6c0f7632da606de631efe4f2
  • <11b8ff5b930b351dd1f6f088dce0beb027ac92d0
  • =<6.1.*
  • =<6.6.*