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: <45C8F419.5040103@amd.com>
Date:	Tue, 06 Feb 2007 22:33:13 +0100
From:	"Markus Rechberger" <markus.rechberger@....com>
To:	linux-kernel@...r.kernel.org
Subject: [patch] x86-64 ext2/ext3 datestamp problem

Hi,

there is an issue with ext2/ext3 date stamps, if someone creates a file
with a timestamp between 1902 and 1970(epoch 0) it will overflow and
result in a higher date than 2038.

$ touch --date "1905-01-01" test
$ ls -lah test
-rw-r--r-- 1 root root 0 Jan  1  1905 test (this is a cached value here)
(remount the partition/clear the cache)
$ ls -lah test
-rw-r--r-- 1 root root 0 Feb  6  2041 test

10000101101111001100011001110000 .. -2051226000 (1905)
10000101101111001100011001110000 .. 2243741296 (2041)

this was tested against linus git tree

Markus

-- 
Markus Rechberger
Operating System Research Center
AMD Saxony LLC & Co. KG


View attachment "inode.diff" of type "text/plain" (1656 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ