LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-21-2009, 03:18 PM   #1
marnold
Member
 
Registered: Dec 2005
Distribution: Slackware64 14.1
Posts: 256

Rep: Reputation: 32
New kernel breaks DOSEMU


I upgraded my Slackware 12.2 installations to the new 2.6.27.31 kernel packages. Unfortunately, it breaks DOSEMU. I've read elsewhere that similar problems can come up with WINE but I haven't tried that yet. A workaround is to issue this command as root before running DOSEMU:

sysctl -w vm.mmap_min_addr=0

Of course, this pretty much defeats the purpose of the new kernel, unless you remember to issue this afterwards:

sysctl -w vm.mmap_min_addr=4096
 
Old 08-21-2009, 08:30 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Maybe check LKML for any traffic on that issue, or some IRC channels
such as #dosemu if there is one. What Pat wrote in Slackware's ChangeLog:
Code:
+--------------------------+
Tue Aug 18 18:50:46 CDT 2009
  Patched kernels and kernel packages for Linux 2.6.29.6 to address
  a bug in proto_ops structures which could allow a user to use the
  kernel sendpage operation to execute arbitrary code in page zero.
  This could allow local users to gain escalated privileges.
  This flaw was discovered by Tavis Ormandy and Julien Tinnes of the
  Google Security Team.
  For more information, see:
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2692
  In addition, these kernels change the CONFIG_SECURITY_DEFAULT_MMAP_MIN_ADDR
  kernel config option value to 4096, which should prevent the execution
  of arbitrary code by future NULL dereference bugs that might be found
  in the kernel.  If you are compiling your own kernel, please check this
  option in your .config.  If it is set to =0, you may wish to edit it
  to 4096 (or some other value > 0) and then reconfigure, or the kernel
  will not have default protection against zero page attacks from
  userspace.
is what they did in vanilla Kernel.org source, also:
Code:
mingdao@jeremiah:~/kernel/linux-2.6.30.5$ grep 'DEFAULT_MMAP_MIN_ADDR' .config
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
Seems to be some anticipation for further null dereference bugs, from
what I've been reading on LKML.
 
Old 08-21-2009, 11:51 PM   #3
the3dfxdude
Member
 
Registered: May 2007
Posts: 316

Rep: Reputation: 88
The change reportably breaks 16-bit applications, which are old dos and windows apps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel 2.6.19 breaks when I start to compile it... sparc86 Linux - Kernel 2 02-11-2007 03:14 PM
What Breaks If Not Updating Kernel Woodsman Slackware 3 10-26-2006 04:25 PM
dosemu won't run with kernel 2.6.12-1-686 RRolleston Debian 1 11-20-2005 09:10 PM
dosemu vs. 2.6 kernel Serena Linux - Software 1 06-14-2005 07:55 AM
2.6.5 kernel breaks lm_sensors netcrawl Slackware 2 04-16-2004 07:39 PM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration