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>] [day] [month] [year] [list]
Date:	Tue, 28 May 2013 10:19:45 +0200
From:	"Ulrich Windl" <Ulrich.Windl@...uni-regensburg.de>
To:	<linux-kernel@...r.kernel.org>
Subject: bad time after boot (read from absent hardware?): "Time:
 165:165:165  Date: 165/165/65"

Hi!

Some time ago I discovered strange output in boot messages, just as if the kernel trusts junk from hardware that is not present, like the RTC in a paravirtualized Xen guest (the guest has no /dev/rtc*). The message says:
<6>[    0.123524] Time: 165:165:165  Date: 165/165/65

Obviously, if there were some validity check, this wouldn't pass, so I guess there is none!

In Xen's message buffer (hypervisor) I only see this error (that seems unrelated):
(XEN) mm.c:833:d6 Non-privileged (6) attempt to map I/O space 000000f0

According to my source code the print originates from read_magic_time() in /drivers/base/power/trace.c.

I'm running kernel 3.0.74-0.6.8-xen (SLES11 SP2) on x86_64.

Regards,
Ulrich


--
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