All of lore.kernel.org
 help / color / mirror / Atom feed
* Aerospace and linux
@ 2010-06-13 15:26 Denys Fedorysychenko
  0 siblings, 0 replies; 17+ messages in thread
From: Denys Fedorysychenko @ 2010-06-13 15:26 UTC (permalink / raw)
  To: legerde, linux-kernel

>Storage will probably be something really cheap.  So I assume flash.
>But, possibly a USB stick type device.   Maybe an IDE based solid
>state storage device.

Most of commercial controllers (USB and IDE) use intermediate cache/buffer 
memory, that will be vulnerable to byte flipping (as i know even SRAM 
vulnerable to that).	Some of them have their own firmware, storing somewhere 
chip wearing information, and if bit flipping happen there - they just will 
fail (common issue: USB flash not recognized anymore or have 0 bytes 
capacity).

	I guess you need truly embedded device, including PCB design, and operate 
with storage chips directly (RAM, flash chips). Also flash (NOR and NAND) 
vulnerable to bit-flipping too, and it is prefferable to use hardened IC's (i 
doubt there is hardened USB/IDE controllers), protected bus design, strong 
error recovery algo's, system and parts redundancy and etc.

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Aerospace and linux
@ 2010-06-10 17:29 Brian Gordon
  2010-06-10 18:23 ` Andi Kleen
  2010-06-10 18:27 ` Chris Friesen
  0 siblings, 2 replies; 17+ messages in thread
From: Brian Gordon @ 2010-06-10 17:29 UTC (permalink / raw)
  To: linux-kernel

Greetings,

    I work in the aerospace industry and one of the considerations
that occurs in aerospace is a phenomenon called Single Event Upsets
(SEU).   I'm not an expert on the physics behind this phenomenon, but
the end result is that bits in RAM change state due to high energy
particles passing through the device.   This phenomenon happens more
often at higher altitudes (aircraft) and is a very serious
consideration for space vehicles.

    When these SEU can be detected some action may be taken to improve
the behaviour of the system  (log a fault and reset in order to
refresh things from scratch?).   So the first question becomes how to
detect an SEU.   Flash is considered somewhat safer than RAM.   When
executables run in linux, do the .text and .ro sections get copied
into RAM?  If so, can a background task monitor the RAM copy of .text
and .ro for corruption?     Tripwire seems to offer this kind of
detection as a means for detecting tampering by a malicious attacker
in the filesystem, but I am not convinced that it would detect
modifications to copies of the ELF in RAM.

   My understanding how linux does "on-demand" loading of executables
may be a problem here.   But this SEU detection capability would seem
to have some applicability to intrusion detection, so I have to think
some mechanism already exists.

  Thank you to anyone for any pointers on where I can look to learn
more about detecting SEU in linux.

legerde at gmail com

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-06-13 15:27 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-13 15:26 Aerospace and linux Denys Fedorysychenko
  -- strict thread matches above, loose matches on Subject: below --
2010-06-10 17:29 Brian Gordon
2010-06-10 18:23 ` Andi Kleen
2010-06-10 18:38   ` Brian Gordon
2010-06-10 18:46     ` Chris Friesen
2010-06-10 19:14       ` Brian Gordon
2010-06-10 18:48     ` Andi Kleen
2010-06-13  8:51     ` Borislav Petkov
2010-06-10 18:27 ` Chris Friesen
2010-06-10 18:42   ` Brian Gordon
2010-06-10 19:23     ` Massimiliano Galanti
2010-06-10 19:37       ` Brian Gordon
2010-06-10 19:42         ` Brian Gordon
2010-06-10 19:52           ` Massimiliano Galanti
2010-06-10 20:12             ` Brian Gordon
2010-06-10 19:59       ` Massimiliano Galanti
2010-06-11 14:37   ` Henrique de Moraes Holschuh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.