Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 23 Apr 2015 15:08:43 +0200
From: Florian Weimer <fweimer@...hat.com>
To: oss-security@...ts.openwall.com
Subject: open(2) with side effects

How common are file names on Linux which, when just opened and closed
(maybe with fstat or fgetattr inbetween), trigger side effects, such as
tape rewind?

Do we still have to guard against that?  Or is that a thing of the past?

At least before containers, the risk is greatly reduced because /dev is
a separate file system these days, so you can only use symbolic links,
and those are more straightforward to deal with (hard links need O_PATH
for a race- and side-effect-free link count check).

-- 
Florian Weimer / Red Hat Product Security

Powered by blists - more mailing lists

Please check out the Open Source Software Security Wiki, which is counterpart to this mailing list.

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.