lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090623223717.5254.22497.stgit@dev.haskins.net>
Date:	Tue, 23 Jun 2009 18:40:32 -0400
From:	Gregory Haskins <ghaskins@...ell.com>
To:	kvm@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, mst@...hat.com, avi@...hat.com,
	davidel@...ilserver.org, dhowells@...hat.com
Subject: [KVM PATCH v4 0/4] irqfd fixes

(Applies to kvm.git/master:4631e094)

The following is the latest attempt to fix the remaining races in
irqfd/eventfd.  For more details, please read the patch headers.

This series has been tested against the kvm-eventfd unit test, and
appears to be functioning properly.  You can download this test here:

ftp://ftp.novell.com/dev/ghaskins/kvm-eventfd.tar.bz2

I've included version 2 of Davide's eventfd patch (ported to kvm.git) so
that its a complete reviewable series.  Note, however, that there may be
later versions of his patch to consider for merging, so we should
coordinate with him.

Note also that I potentially found an issue in slow_work which I
subsequently fixed, so I have cc'd David Howells.  It is needed to close
some of the remaining issues.

-Greg

---

Davide Libenzi (1):
      eventfd - revised interface and cleanups (2nd rev)

Gregory Haskins (3):
      KVM: Fix races in irqfd using new eventfd_kref_get interface
      slow-work: add (module*)work->owner to fix races with module clients
      kvm: prepare irqfd for having interrupts disabled during eventfd->release


 drivers/lguest/lg.h          |    2 
 drivers/lguest/lguest_user.c |    4 -
 fs/aio.c                     |   24 +---
 fs/eventfd.c                 |  119 ++++++++++++++++++---
 include/linux/aio.h          |    4 -
 include/linux/eventfd.h      |   18 +--
 include/linux/kvm_host.h     |    7 +
 include/linux/slow-work.h    |    4 +
 init/Kconfig                 |    1 
 kernel/slow-work.c           |    5 +
 virt/kvm/Kconfig             |    1 
 virt/kvm/eventfd.c           |  234 ++++++++++++++++++++++++++++++++----------
 12 files changed, 312 insertions(+), 111 deletions(-)

-- 
Signature
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ