Thread (33 messages) flat view 33 messages, 14 authors, 2016-06-15

Re: Re: Merge with git-pasky II.

From: Ingo Molnar <hidden>
Date: 2016-06-15 22:41:53

* Brad Roberts [off-list ref] wrote:
While I agree that a hash collision is bad and certainly worth 
preventing during new object creation, for it to actually implant a 
trojan in a build successfully it'd have to meet even more criteria 
than you've layed out. It'd have to...
  - provide all the public symbols the shadowed object provided so that it
    would still build and link successfully
that's not a problem. Most modules dont provide public symbols.  
Especially not drivers. Generally it's the modules that _dont_ have any 
global impact that get reviewed less stringently - an attacker would 
thus choose them for psychological reasons anyway.
  - be shadowing an object that's part of an active tree

Shadowing an object that's not part of the working tree means 
something on another branch or obsoleted some time in the past is 
still db corruption, but not nearly as big an issue from a trojan 
standpoint.
it's not DB corruption, it's a feature of GIT: it's a content _cache_, 
new and old alike. Nothing in GIT says that old objects in the 
repository (which are still very much part of history) cannot be revived 
in newer trees. (in fact it regularly happens - e.g. if a fix is undone 
manually.)

	Ingo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help