stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>,
	"Sasha Levin" <sasha.levin@oracle.com>
Cc: <stable@vger.kernel.org>, <stable-commits@vger.kernel.org>
Subject: Re: [added to the 3.18 stable tree] xen/gntdevt: Fix race condition in gntdev_release()
Date: Thu, 27 Aug 2015 18:21:45 +0100	[thread overview]
Message-ID: <55DF4729.50205@citrix.com> (raw)
In-Reply-To: <20150827171512.GV1345@mail-itl>

On 27/08/15 18:15, Marek Marczykowski-Górecki wrote:
> On Thu, Aug 27, 2015 at 11:37:44AM -0400, Sasha Levin wrote:
>> From: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
>>
>> This patch has been added to the 3.18 stable tree. If you have any
>> objections, please let us know.
> 
> On 3.18 it should be spin_lock, not mutex_lock.
> Modified patch here:
> https://raw.githubusercontent.com/QubesOS/qubes-linux-kernel/stable-3.18/patches.xen/0001-xen-grant-fix-race-condition-in-gntdev_release.patch

No.  Because this results in a sleep while holding the spin lock (in
free_xenballooned_pages()).

1401c00e59ea021c575f74612fe2dbba36d6a4ee (xen/gntdev: convert priv->lock
to a mutex) is a prerequisite.

David

  reply	other threads:[~2015-08-27 17:21 UTC|newest]

Thread overview: 119+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-27 15:37 [added to the 3.18 stable tree] MIPS: Malta: Don't reinitialise RTC Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] MIPS: Fix sched_getaffinity with MT FPAFF enabled Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] MIPS: do_mcheck: Fix kernel code dump with EVA Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] MIPS: show_stack: Fix stack trace " Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] MIPS: Flush RPS on kernel entry " Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] MIPS: Make set_pte() SMP safe Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] fsnotify: fix oops in fsnotify_clear_marks_by_group_flags() Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] drm/i915: Replace WARN inside I915_READ64_2x32 with retry loop Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] drm/radeon/combios: add some validation of lvds values Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] drm/dp-mst: Remove debug WARN_ON Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ipr: Fix locking for unit attention handling Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ipr: Fix incorrect trace indexing Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ipr: Fix invalid array indexing for HRRQ Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] xhci: fix off by one error in TRB DMA address boundary check Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] drivers/usb: Delete XHCI command timer if necessary Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] USB: sierra: add 1199:68AB device ID Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] usb: udc: core: add device_del() call to error pathway Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] phy: twl4030-usb: make runtime pm more reliable Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] md: use kzalloc() when bitmap is disabled Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] sparc64: Fix userspace FPU register corruptions Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] clk: keystone: add support for post divider register for main pll Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ARM: dts: keystone: fix dt bindings to use post div register for mainpll Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ASoC: pcm1681: Fix setting de-emphasis sampling rate selection Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ASoC: dapm: Lock during userspace access Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] x86/xen: Probe target addresses in set_aliased_prot() before the hypercall Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] xen/gntdevt: Fix race condition in gntdev_release() Sasha Levin
2015-08-27 17:15   ` Marek Marczykowski-Górecki
2015-08-27 17:21     ` David Vrabel [this message]
2015-08-27 17:25       ` Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] hwrng: core - correct error check of kthread_run call Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] crypto: qat - Fix invalid synchronization between register/unregister sym algs Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] crypto: ixp4xx - Remove bogus BUG_ON on scattered dst buffer Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] rbd: fix copyup completion race Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ARM: dts: i.MX35: Fix can support Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ALSA: hda - fix cs4210_spdif_automute() Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ALSA: fireworks/firewire-lib: add support for recent firmware quirk Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] hwmon: (dell-smm) Blacklist Dell Studio XPS 8100 Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ipc: modify message queue accounting to not take kernel data structures into account Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] ocfs2: fix BUG in ocfs2_downconvert_thread_do_work() Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] nfsd: Drop BUG_ON and ignore SECLABEL on absent filesystem Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] PCI: Restore PCI_MSIX_FLAGS_BIRMASK definition Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] md/raid1: extend spinlock to protect raid1_end_read_request against inconsistencies Sasha Levin
2015-08-27 15:37 ` [added to the 3.18 stable tree] usb: gadget: f_uac2: fix calculation of uac2->p_interval Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] USB: qcserial/option: make AT URCs work for Sierra Wireless MC7305/MC7355 Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] USB: qcserial: Add support for Dell Wireless 5809e 4G Modem Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] mtd: nand: Fix NAND_USE_BOUNCE_BUFFER flag conflict Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] mm, vmscan: Do not wait for page writeback for GFP_NOFS allocations Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] signalfd: fix information leak in signalfd_copyinfo Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] signal: fix information leak in copy_siginfo_to_user Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] signal: fix information leak in copy_siginfo_from_user32 Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] kvm: x86: fix kvm_apic_has_events to check for NULL pointer Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] nfsd: refactor nfs4_preprocess_stateid_op Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] nfsd: do nfs4_check_fh in nfs4_check_file instead of nfs4_check_olstateid Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] ACPI / init: Switch over platform to the ACPI mode later Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] freeing unlinked file indefinitely delayed Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] s390/sclp: clear upper register halves in _sclp_print_early Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] genirq: Prevent resend to interrupts marked IRQ_NESTED_THREAD Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] ALSA: usb-audio: Add MIDI support for Steinberg MI2/MI4 Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] ALSA: usb-audio: add dB range mapping for some devices Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] ALSA: hda - Fix MacBook Pro 5,2 quirk Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] st: null pointer dereference panic caused by use after kref_put by st_open Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] mac80211: clear subdir_stations when removing debugfs Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] mmc: sdhci-esdhc: Make 8BIT bus work Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] md/raid1: fix test for 'was read error from last working device' Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] tile: use free_bootmem_late() for initrd Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] Input: usbtouchscreen - avoid unresponsive TSC-30 touch screen Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] blkcg: fix gendisk reference leak in blkg_conf_prep() Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] ata: pmp: add quirk for Marvell 4140 SATA PMP Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] usb-storage: ignore ZTE MF 823 card reader in mode 0x1225 Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] xhci: Calculate old endpoints correctly on device reset Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] xhci: prevent bus_suspend if SS port resuming in phase 1 Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] xhci: do not report PLC when link is in internal resume state Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] x86/efi: Use all 64 bit of efi_memmap in setup_e820() Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] rds: rds_ib_device.refcount overflow Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] vhost: actually track log eventfd file Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] avr32: handle NULL as a valid clock object Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] iscsi-target: Fix use-after-free during TPG session shutdown Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] iscsi-target: Fix iser explicit logout TX kthread leak Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] ima: add support for new "euid" policy condition Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] ima: extend "mask" policy matching support Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] iscsi-target: Fix iscsit_start_kthreads failure OOPs Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] sg_start_req(): make sure that there's not too many elements in iovec Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] md/bitmap: return an error when bitmap superblock is corrupt Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] iio: adc: twl6030-gpadc: Fix modalias Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] btrfs: incorrect handling for fiemap_fill_next_extent return Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] btrfs: cleanup orphans while looking up default subvolume Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] usb: renesas_usbhs: Fix fifo unclear in usbhsf_prepare_pop Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] usb: renesas_usbhs: Don't disable the pipe if Control write status stage Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] cpufreq: pcc: Enable autoload of pcc-cpufreq for ACPI processors Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] hpsa: fix a couple pci id table mistakes Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] HID: tivo: enable all buttons on the TiVo Slide Pro remote Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] [media] si4713: HID blacklist Si4713 USB development board Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] HID: do not bind to Microchip Pick16F1454 Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] Bluetooth: ath3k: Add a new ID 0cf3:e006 to ath3k list Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] arm64/mm: Remove hack in mmap randomize layout Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] thermal: rcar: fix ENR register value Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] iio: light: hid-sensor-als.c: Fix memory leak in probe() Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] iio: gyro: hid-sensor-gyro-3d: " Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] iio: accel: hid-sensor-accel-3d: " Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] ALSA: hda - add codec ID for Skylake display audio codec Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] ALSA: hda/hdmi - apply Haswell fix-ups to Skylake display codec Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] i2c: i801: Add DeviceIDs for SunrisePoint LP Sasha Levin
2015-08-27 15:38 ` [added to the 3.18 stable tree] kexec: allocate the kexec control page with KEXEC_CONTROL_MEMORY_GFP Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] intel_idle: support additional Broadwell model Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] hpfs: hpfs_error: Remove static buffer, use vsprintf extension %pV instead Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] Revert "libata: add ATA_HORKAGE_NOTRIM" Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] libata: Whitelist SSDs that are known to properly return zeroes after TRIM Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] libata: Update Crucial/Micron blacklist Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] libata: Blacklist queued TRIM on Samsung SSD 850 Pro Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] libata: Blacklist queued TRIM on all Samsung 800-series Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] libata: Do not blacklist Micron M500DC Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] libata: Expose TRIM capability in sysfs Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] libata: add ATA_HORKAGE_NOTRIM Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] libata: force disable trim for SuperSSpeed S238 Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] libata: Do not blacklist M510DC Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] ip_vti/ip6_vti: Do not touch skb->mark on xmit Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] xfrm: Override skb->mark with tunnel->parm.i_key in xfrm_input Sasha Levin
2015-08-27 15:39 ` [added to the 3.18 stable tree] ip_vti/ip6_vti: Preserve skb->mark after rcv_cb call Sasha Levin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55DF4729.50205@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=marmarek@invisiblethingslab.com \
    --cc=sasha.levin@oracle.com \
    --cc=stable-commits@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).