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] [day] [month] [year] [list]
Message-ID: <87skz3g74b.fsf@macbook.be.48ers.dk>
Date:	Thu, 06 Mar 2008 17:16:52 +0100
From:	Peter Korsgaard <jacmet@...site.dk>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86-boot: don't request VBE2 information

>>>>> "H" == H Peter Anvin <hpa@...or.com> writes:

 >> Disassembing the video BIOS shows that it overflows the vesa_general_info
 >> structure when VBE2 data is requested because the source addresses for the
 >> information strings which get strcpy'ed to the buffer lie outside the 32K
 >> BIOS code (and hence contain long sequences of 0xff's).
 >> 

 H> I'm slightly concerned about this, because we *do* use VBE2 data -
 H> just not the stuff that this particular BIOS seems to key on (and
 H> break.)

Well, we use the version info to know if we can request EDID data, but
otherwise I don't see any VBE2 stuff in vesa_general_info used.

A VBE2+ compatible BIOS should still put the correct version number in
the VBE info block even if you don't request VBE2 data (E.G. the
version gets set to 3.0 independently of VBE2 or not in the disasm I
sent).

 H> On the other hand, until we get an example on something that breaks
 H> with the change, we might as well try it, since we have an example on
 H> something that breaks with it.  We should monitor carefully, though.

Great. This was how the old asm version used to do it as well.

-- 
Bye, Peter Korsgaard
--
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