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: <7158a3b3-5dee-48a0-339a-d8bcdb5b8805@hauke-m.de>
Date:	Sat, 18 Jun 2016 20:19:20 +0200
From:	Hauke Mehrtens <hauke@...ke-m.de>
To:	viro@...iv.linux.org.uk, Artem Bityutskiy <dedekind1@...il.com>,
	Richard Weinberger <richard@....at>,
	David Woodhouse <dwmw2@...radead.org>,
	Brian Norris <computersforpeace@...il.com>
Cc:	MTD Maling List <linux-mtd@...ts.infradead.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: ubifs: regression: unable to mount ubifs

The commit 322ea0bb "mtd: switch ubi_open_volume_path() to vfs_stat()"
breaks mounting ubifs volumes for me.

On kernel 4.7-rc3 I am getting the following error when trying to mount
an ubifs volume. This volume in on a ubi file system which exports it as
a mtd partition.

root@...e:/# mkdir /tmp/test
root@...e:/# mount -t ubifs /dev/ubi0_10 /tmp/test/
[  178.782184] UBIFS error (pid: 955): cannot open "/dev/ubi0_10", error
-22mount: mounting /dev/ubi0_10 on /tmp/test/ failed: Invalid argument
root@...e:/#

In the function ubi_open_volume_path() the call to vfs_stat() returns
-EFAULT.

After I reverted commit 322ea0bb it works again.

Hauke

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ