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-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 04 Nov 2009 08:06:17 +0100
From:	Miklos Szeredi <miklos@...redi.hu>
To:	Jens Axboe <jens.axboe@...cle.com>
CC:	yodor1@...il.com, linux-kernel@...r.kernel.org
Subject: Re: kernel BUG at mm/highmem.c:259

On Tue, 3 Nov 2009, Jens Axboe wrote:
> Looks like another victim of the confusing kmap() vs kmap_atomic() API
> differences.
> 
> diff --git a/fs/fuse/file.c b/fs/fuse/file.c
> index a3492f7..8a219bd 100644
> --- a/fs/fuse/file.c
> +++ b/fs/fuse/file.c
> @@ -1599,7 +1599,7 @@ static int fuse_ioctl_copy_user(struct page **pages, struct iovec *iov,
>  			kaddr += copy;
>  		}
>  
> -		kunmap(map);
> +		kunmap(page);
>  	}
>  
>  	return 0;

Todor, thanks for the bug report!  Jens, can I add your Signed-off-by?

Thanks,
Miklos
--
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