Displaying 20 results from an estimated 600 matches similar to: "[PATCH] virtio_blk: fix blk_mq_init_queue() error handling"
2017 Jan 09
4
[PATCH] virtio_blk: fix panic in initialization error path
From: Omar Sandoval <osandov at fb.com>
If blk_mq_init_queue() returns an error, it gets assigned to
vblk->disk->queue. Then, when we call put_disk(), we end up calling
blk_put_queue() with the ERR_PTR, causing a bad dereference. Fix it by
only assigning to vblk->disk->queue on success.
Signed-off-by: Omar Sandoval <osandov at fb.com>
---
drivers/block/virtio_blk.c | 3
2017 Jan 09
4
[PATCH] virtio_blk: fix panic in initialization error path
From: Omar Sandoval <osandov at fb.com>
If blk_mq_init_queue() returns an error, it gets assigned to
vblk->disk->queue. Then, when we call put_disk(), we end up calling
blk_put_queue() with the ERR_PTR, causing a bad dereference. Fix it by
only assigning to vblk->disk->queue on success.
Signed-off-by: Omar Sandoval <osandov at fb.com>
---
drivers/block/virtio_blk.c | 3
2017 Jan 10
0
[PATCH] virtio_blk: fix panic in initialization error path
On Mon, Jan 09, 2017 at 11:44:12AM -0800, Omar Sandoval wrote:
> From: Omar Sandoval <osandov at fb.com>
>
> If blk_mq_init_queue() returns an error, it gets assigned to
> vblk->disk->queue. Then, when we call put_disk(), we end up calling
> blk_put_queue() with the ERR_PTR, causing a bad dereference. Fix it by
> only assigning to vblk->disk->queue on success.
2020 Jul 15
3
[PATCH] virtio-blk: check host supplied logical block size
Linux kernel only supports logical block sizes which are power of two,
at least 512 bytes and no more that PAGE_SIZE.
Check this instead of crashing later on.
Note that there is no need to check physical block size since it is
only a hint, and virtio-blk already only supports power of two values.
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1664619
Signed-off-by: Maxim Levitsky
2020 Jul 15
3
[PATCH] virtio-blk: check host supplied logical block size
Linux kernel only supports logical block sizes which are power of two,
at least 512 bytes and no more that PAGE_SIZE.
Check this instead of crashing later on.
Note that there is no need to check physical block size since it is
only a hint, and virtio-blk already only supports power of two values.
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1664619
Signed-off-by: Maxim Levitsky
2020 Jul 15
0
[PATCH] virtio-blk: check host supplied logical block size
On Wed, Jul 15, 2020 at 12:55:18PM +0300, Maxim Levitsky wrote:
> Linux kernel only supports logical block sizes which are power of two,
> at least 512 bytes and no more that PAGE_SIZE.
>
> Check this instead of crashing later on.
>
> Note that there is no need to check physical block size since it is
> only a hint, and virtio-blk already only supports power of two values.
2020 Jul 15
0
[PATCH] virtio-blk: check host supplied logical block size
On Wed, Jul 15, 2020 at 01:19:55PM +0300, Maxim Levitsky wrote:
> On Wed, 2020-07-15 at 06:06 -0400, Michael S. Tsirkin wrote:
> > On Wed, Jul 15, 2020 at 12:55:18PM +0300, Maxim Levitsky wrote:
> > > Linux kernel only supports logical block sizes which are power of
> > > two,
> > > at least 512 bytes and no more that PAGE_SIZE.
> > >
> > >
2020 Jul 21
0
[PATCH 02/10] block: virtio-blk: check logical block size
Linux kernel only supports logical block sizes which are power of two,
at least 512 bytes and no more that PAGE_SIZE.
Check this instead of crashing later on.
Note that there is no need to check physical block size since it is
only a hint, and virtio-blk already only supports power of two values.
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1664619
Signed-off-by: Maxim Levitsky
2020 Jul 15
2
[PATCH] virtio-blk: check host supplied logical block size
On Wed, 2020-07-15 at 06:06 -0400, Michael S. Tsirkin wrote:
> On Wed, Jul 15, 2020 at 12:55:18PM +0300, Maxim Levitsky wrote:
> > Linux kernel only supports logical block sizes which are power of
> > two,
> > at least 512 bytes and no more that PAGE_SIZE.
> >
> > Check this instead of crashing later on.
> >
> > Note that there is no need to check
2020 Jul 15
2
[PATCH] virtio-blk: check host supplied logical block size
On Wed, 2020-07-15 at 06:06 -0400, Michael S. Tsirkin wrote:
> On Wed, Jul 15, 2020 at 12:55:18PM +0300, Maxim Levitsky wrote:
> > Linux kernel only supports logical block sizes which are power of
> > two,
> > at least 512 bytes and no more that PAGE_SIZE.
> >
> > Check this instead of crashing later on.
> >
> > Note that there is no need to check
2004 Jul 30
1
Patch for bug in nuke_dirent in run-init.c
Hi
In run-init.c there is a minor bug which can cause major problems i.e.
not able to boot systems with udev-enabled initramfs on systems with
multiple cdrom drives. In nuke_dirent () in run-init.c the stat call
should be replaced with a lstat call, else nuking symbolic links which
have been created before the link target will fail. Was somewhat tricky
to debug... The bug gets triggered by udev
2005 Dec 28
1
Problems with klibc 1.1.8
Hi,
trying to build klibc 1.1.8 on x86 fails on my machine as follows:
KLIBCCC dash/trap.o
KLIBCCC dash/output.o
dash/trap.c: In function 'trapcmd':
dash/trap.c:94: warning: unused parameter 'argc'
dash/trap.c:94: warning: unused parameter 'argv'
dash/trap.c: In function 'decode_signal':
dash/trap.c:398: error: 'SIGRTMIN' undeclared (first use in this
2006 Jan 03
0
[PATCH] Fix fstype crash
fstype is currently broken in klibc (1.1.14 and git). It segfaults on
startup when not invoked with an argument.
Attached patch fixes that.
PS: The previously reported problems with klibc 1.1.8 don't occur
anymore, thanks.
Regards,
J?rg
--
J?rg Billeter <j@bitron.ch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klibc-1.1.14-fstype-segv-1.patch
2013 Nov 15
0
[qemu-upstream-unstable test] 21952: regressions - FAIL
flight 21952 qemu-upstream-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/21952/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-qemuu-rhel6hvm-intel 7 redhat-install fail REGR. vs. 20054
Tests which did not succeed, but are not blocking:
test-amd64-amd64-xl-qemuu-win7-amd64 13 guest-stop
2013 Nov 14
0
[qemu-upstream-unstable test] 21930: regressions - FAIL
flight 21930 qemu-upstream-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/21930/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-qemuu-rhel6hvm-intel 7 redhat-install fail REGR. vs. 20054
Tests which are failing intermittently (not blocking):
test-amd64-i386-xl-qemuu-winxpsp3-vcpus1 7
2013 Nov 18
0
[qemu-upstream-unstable test] 21993: regressions - FAIL
flight 21993 qemu-upstream-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/21993/
Regressions :-(
Tests which did not succeed and are blocking,
including tests which could not be run:
test-amd64-i386-qemuu-rhel6hvm-intel 7 redhat-install fail REGR. vs. 20054
Tests which are failing intermittently (not blocking):
test-amd64-amd64-xl-qemuu-win7-amd64 8
2015 Jun 16
0
[ANNOUNCE] xorg-server 1.17.2
This picks up a pile of fixes from master. Notable highlights:
- Fix for CVE-2015-3164 in Xwayland
- Fix int10 setup for vesa
- Fix regression in server-interpreted auth
- Fix fb setup on big-endian CPUs
- Build fix for for gcc5
Complete changelog:
Aaron Plattner (2):
xfree86: Fix xf86_check_platform_slot's handling of PCI
xfree86: Add GPU screens even if there are no active
2015 Oct 26
0
[ANNOUNCE] xorg-server 1.17.99.902 (1.18 RC2)
Time for another release candidate. Long past time, to be honest.
Please speak up soon if you have a favorite patch or series that isn't
in yet.
Aaron Plattner (1):
privates: Clear screen-specific keys during CloseScreen
Adam Jackson (6):
glxproxy: Fix an obvious thinko in QueryExtensionsString
render: Simplify SProcRenderScale
rootless: Fix bogus handling of broken
2017 Nov 21
0
4.14: WARNING: CPU: 4 PID: 2895 at block/blk-mq.c:1144 with virtio-blk (also 4.12 stable)
On 11/21/2017 12:15 PM, Christian Borntraeger wrote:
>
>
> On 11/21/2017 07:39 PM, Jens Axboe wrote:
>> On 11/21/2017 11:27 AM, Jens Axboe wrote:
>>> On 11/21/2017 11:12 AM, Christian Borntraeger wrote:
>>>>
>>>>
>>>> On 11/21/2017 07:09 PM, Jens Axboe wrote:
>>>>> On 11/21/2017 10:27 AM, Jens Axboe wrote:
2006 Nov 30
0
[ANNOUNCE] sessreg 1.0.2
Get this building on GNU and BSD systems.
J?rg Billeter:
Fix grep pattern in Makefile.am
Matthieu Herrb:
include <time.h> before <utmp.h>. Required on some systems.
git tag: sessreg-1.0.2
http://xorg.freedesktop.org/archive/individual/app/sessreg-1.0.2.tar.bz2
MD5: bee5d87d40615e67c84ab0b0c65049ba sessreg-1.0.2.tar.bz2
SHA1: 2f2a36967ecffb29461ae28def3b013955e584dd