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: <551D1EA3.1050202@huawei.com>
Date:	Thu, 2 Apr 2015 18:49:07 +0800
From:	Joseph Qi <joseph.qi@...wei.com>
To:	<linux-ext4@...r.kernel.org>
Subject: Issue in ext4 rename

Hi all,
In ext4_rename_delete, it only logs a warning if ext4_delete_entry
fails.
IMO, it may lead to an inode with two entries (old and new), thus
filesystem will be inconsistent.
The case is described below:
ext4_rename
	--> ext4_journal_start
	--> ext4_add_entry (new)
	--> ext4_rename_delete (old)
		--> ext4_delete_entry
			--> ext4_journal_get_write_access
			*failed* because of -ENOMEM
	--> ext4_journal_stop
Does anyone have an idea to resolve this issue?

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ