logo       

RE: About Ubuntu security: msg#00079

Subject: RE: About Ubuntu security
Hi Kees,

Thanks again!

I meant in general, a device driver has access to all of kernel memory.
Actually I am not aware of /dev/mem exploit; I will need to do some
research. : )  

About AppArmor, it is ready to use?  What profiles are available now?
Will there be any utilities?  

Woei           



-----Original Message-----
From: Kees Cook [mailto:kees@xxxxxxxxxx] 
Sent: Monday, July 30, 2007 5:29 PM
To: Ng, Cheon-woei
Cc: ubuntu-server@xxxxxxxxxxxxxxxx
Subject: Re: About Ubuntu security

On Mon, Jul 30, 2007 at 05:15:34PM -0700, Ng, Cheon-woei wrote:
> Thanks for the excellent answers!

You're welcome!  Your questions are forming the basis of my Ubuntu
security
FAQ, so really I should be thanking you.  :)

> I also have a question on the kernel memory space security.  
> 
> Based on an experiment created by Mark Allyn (my college), if a device
> driver (like audio driver) is poorly written without boundary check, a
> user could exploits that security hole and can easily read or write to
> anywhere in the kernel memory space via an interface like /dev/audio.
> 
> Is there any security features in Ubuntu that prevent such exploit? So
> far the only solution mentioned is to submit all device drivers for
> rigorous peers review. 

Do you mean the /dev/mem interface, or that in general, device drivers
have access to all of kernel memory?

I am currently unaware of any in-kernel memory segmentation plans.
There are upstream plans to implement a form of stack-protection for
kernel functions, which should help minimize some attack vectors in
buggy drivers.

As for /dev/mem, I will need to check the state of progress.  There are
no Ubuntu-specific changes that I know of, but I know there was work in
various upstreams (e.g. kernel and X.org) to deal with the identified
deficiencies with that interface.

-Kees

-- 
Kees Cook



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe