<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>77094</bug_id>
          
          <creation_ts>2005-01-07 17:52 0000</creation_ts>
          <short_desc>Kernel: grsecurity advisories (CAN-2005-{0179,0180,0504})</short_desc>
          <delta_ts>2009-05-03 14:51:52 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Kernel</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <status_whiteboard>[linux &lt;2.6.12]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>solar@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>jasmin-genbug@pacifica.ch</cc>
    
    <cc>kang@gentoo.org</cc>
    
    <cc>kerframil@gmail.com</cc>
    
    <cc>kern-sec@gentoo.org</cc>
    
    <cc>tklauser@nuerscht.ch</cc>

      

      
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-07 17:52:42 0000</bug_when>
            <thetext>From: 	Brad Spengler
Subject: 	[grsec] grsecurity 2.1.0 release / 5 Linux kernel advisories
Date: 	Fri, 7 Jan 2005 12:20:49 -0500	
grsecurity 2.1.0 release / Linux Kernel advisories
--------------------------------------------------------------------

Table Of Contents:
1) grsecurity 2.1.0 announcement and changelog
2) Linux Kernel advisory introduction
3) 2.4/2.6 random poolsize sysctl handler integer overflow
4) 2.6 scsi ioctl integer overflow and information leak
5) 2.2/2.4/2.6 moxa serial driver bss overflow
6) 2.4/2.6 RLIMIT_MEMLOCK bypass and (2.6) unprivileged user DoS
7) Attachments, including patches for all vulns, a POC for #3, and a
   working exploit for #6

1) grsecurity 2.1.0 announcement and changelog

I&apos;m happy to announce the release of grsecurity 2.1.0.  It is being
released initially for the 2.4.28 and 2.6.10 kernels and will be ported
immediately to the next kernel versions when released.  It can be
downloaded at http://www.grsecurity.net.  We are still actively seeking
sponsorship, so if you benefit from using grsecurity and like the
changes you see in 2.1.0, please consider sponsoring the future
development and maintenance of the project.
Changes in this release include:

* New configuration file for full learning: /etc/grsec/learn_config
* Learning heuristics have been optimized to better detect temporary
  file usage and reduce appropriately.
* Learning heuristics have been modified to weight against reducing
  certain additional important directories.
* User/group ID transitions have been added to the learning system.
  Any subject transitioning to less than 3 different users or 3
  different groups that has CAP_SETUID or CAP_SETGID will have ID
  transitions added.  This is useful to automatically secure
  applications that only transition to one or few users/groups like
  nobody/nogroup.
* /proc/&lt;pid&gt;/* accesses are automatically rewritten as /proc by grlearn
  before being cached and written to disk
* The inherit-based learning usable through the learning configuration
  file is usable through a regular policy as well simply by adding &quot;i&quot;
  instead of &quot;l&quot; to a subject for learning.
* Inheritance is preserved whenever possible across uid/gid changes when
  the role resulting from the uid/gid change is no different from that
  before the change.
* A complete ~95-99% efficient LFU-hash hybrid caching system has been
  added that greatly reduces the number of full object lookups by
  caching the result.  The cache essentially mimics the filesystem
  around where applications are operating: nearly equivalent to having
  an object for every file and directory on the system, but without the
  wasted memory.  The cache is invalidated on creates and deletes that
  cause a change in policy (through policy re-creation) and on renames
  of directories or symlinks.
* Memory usage for non-full learning has been significantly reduced and
  all memory leaks have been plugged.
* A new object mode has been added for hardlinks for more fine-grained
  permissions.  See the sample policy file for information on what
  permissions are required to create a hardlink.  Its corresponding
  audit flag has been added as well.
* Destruction of unused shared memory feature added and included in
  the sysctl framework of grsecurity.  This feature was ported from
  Openwall (http://www.openwall.com/linux).
* A new option was added to the sysctl feature that enables at boot all
  features enabled in the kernel configuration, while allowing them to
  be changed via the sysctl interface until grsec_lock is set.
* Policy statistics have been added to gradm that provide useful,
  security-relevant information on the policy you are loading into the
  kernel.  You can view these statistics when enabling the system by
  running gradm -V -E.
* Interactive performance of full-learning has improved by ~15% by
  reducing the number of context switches caused by grlearn doing small
  disk writes by using a write buffer (writing more once instead of
  less 1000 times) and keeping track of log entry lengths for quicker
  string matching.  A signal handler was added to grlearn so that when
  learning is stopped, the write buffer is flushed to disk.
* Kernel headers are no longer used for gradm
* Updates from the PaX project (http://pax.grsecurity.net)
* Bugfixes for things mentioned on the list, etc

When patching your kernel for the 2.4.28 and 2.6.10 kernels, since they
contain several vulnerabilities, make sure to also apply the secfix
patches located on the website.

2) Linux Kernel advisory introduction

Let me begin by giving you a timeline:

December 15th: I send Linus a mail with a subject line of
&quot;RLIMIT_MEMLOCK bypass with locked stack&quot;
December 27th: The PaX team sends Linus a mail with a subject line of
&quot;2.6.9+ mlockall/expand_down DoS by unprivileged users&quot;
January 2nd: The PaX team resends the previous mail to Linux and Andrew
Morton

Between December 15th and today, Linus has committed many changes to
the kernel.  Between January 2nd and today, Andrew Morton has committed
several changes to the kernel.  3 weeks is a sufficient amount of time
to be able to expect even a reply about a given vulnerability.  A patch
for the vulnerability was attached to the mails, and in the PaX team&apos;s
mails, a working exploit as well.  Private notification of
vulnerabilities is a privilege, and when that privilege is abused by not
responding promptly, it deserves to be revoked.

Using &apos;advanced static analysis&apos;: &quot;cd drivers; grep copy_from_user -r ./* |
grep -v sizeof&quot;, I discovered 4 exploitable vulnerabilities in a matter
of 15 minutes.  More vulnerabilities were found in 2.6 than in 2.4.
It&apos;s a pretty sad state of affairs for Linux security when someone can
find 4 exploitable vulnerabilities in a matter of minutes.  Since there
was no point in sending more vulnerability reports when the first hadn&apos;t
even been responded to, I&apos;m including all four of them in this mail, as
well as a POC for the poolsize bug.  The other bugs can have POCs 
written
for just as trivially.  The poolsize bug requires uid 0, but not any
root capabilities.  The scsi and serial bugs depend on the permissions
of their respective devices, and thus can possibly be exploited as
non-root.  The scsi bug in particular has a couple different attack
vectors that I haven&apos;t even bothered to investigate.  Some of these bugs
have gone unfixed for several years.

The PaX team discovered the mlockall DoS. It has been fixed in PaX for
2 years.  I have attached their mail and exploit code.

I&apos;d really like to know what&apos;s being done about this pitiful trend of
Linux security, where it&apos;s 10x as easy to find a vulnerability in the
kernel than it is in any app on the system, where isec releases at
least one critical vulnerability for each kernel version.  I don&apos;t see
that the 2.6 development model is doing anything to help this (as the
spectrum of these vulnerabilities demonstrate), by throwing
experimental code into the kernel and claiming it to be &quot;stable&quot;.
Hopefully now these vulnerabilities will be fixed in a timely manner.

3) 2.4/2.6 random poolsize sysctl handler integer overflow

In drivers/char/random.c:

at poolsize_strategy():
&gt;        int     len;
        ^ signed integer
&gt;
&gt;        sysctl_poolsize = random_state-&gt;poolinfo.POOLBYTES;
&gt;
&gt;        /*
&gt;
&gt;        /*
&gt;         * We only handle the write case, since the read case gets
&gt;         * handled by the default handler (and we don&apos;t care if the
&gt;         * write case happens twice; it&apos;s harmless).
&gt;         */
&gt;        if (newval &amp;&amp; newlen) {
&gt;                len = newlen;
                ^ unsigned int converted to signed
&gt;                if (len &gt; table-&gt;maxlen)
                ^ comparison of two signed integers
&gt;                        len = table-&gt;maxlen;
&gt;                if (copy_from_user(table-&gt;data, newval, len))
                ^ copy_from_user with len possibly &gt; table-&gt;maxlen

4) 2.6 scsi ioctl integer overflow and information leak

In drivers/block/scsi_ioctl.c:

at sg_scsi_ioctl():
&gt;        struct request *rq;
&gt;        int err, in_len, out_len, bytes, opcode, cmdlen;
        ^ in_len, out_len are signed int
&gt;        char *buffer = NULL, sense[SCSI_SENSE_BUFFERSIZE];
&gt;
&gt;        /*
&gt;         * get in an out lengths, verify they don&apos;t exceed a page worth of data
&gt;         */
&gt;        if (get_user(in_len, &amp;sic-&gt;inlen))
        ^ in_len is user-controlled
&gt;                return -EFAULT;
&gt;        if (get_user(out_len, &amp;sic-&gt;outlen))
        ^ out_len is user-controlled
&gt;                return -EFAULT;
&gt;        if (in_len &gt; PAGE_SIZE || out_len &gt; PAGE_SIZE)
        ^ signed int only has upper bound checked
&gt;                return -EINVAL;
&gt;        if (get_user(opcode, sic-&gt;data))
&gt;                return -EFAULT;
&gt;        bytes = max(in_len, out_len);
...
&gt;        rq-&gt;cmd_len = cmdlen;
&gt;        if (copy_from_user(rq-&gt;cmd, sic-&gt;data, cmdlen))
&gt;                goto error;
&gt;         
&gt;        if (copy_from_user(buffer, sic-&gt;data + cmdlen, in_len))
                ^ copy_from_user with size possibly &gt; PAGE_SIZE
&gt;                goto error;
...
&gt;                if (copy_to_user(sic-&gt;data, buffer, out_len))
                ^ copy_to_user with size possibly &gt; PAGE_SIZE
&gt;                        err = -EFAULT;

5) 2.2/2.4/2.6 moxa serial driver bss overflow

In drivers/char/moxa.c:

&gt;static unsigned char moxaBuff[10240];

In MoxaDriverIoctl():

&gt;        if(copy_from_user(&amp;dltmp, argp, sizeof(struct dl_str)))
&gt;                return -EFAULT;
                ^ dltmp.len is user-controlled
&gt;        if(dltmp.cardno &lt; 0 || dltmp.cardno &gt;= MAX_BOARDS)
&gt;                return -EINVAL;
&gt;                
&gt;        switch(cmd)
&gt;        {
&gt;        case MOXA_LOAD_BIOS:
&gt;                i = moxaloadbios(dltmp.cardno, dltmp.buf, dltmp.len);
                ^ called with no length checking
&gt;                return (i);
&gt;        case MOXA_FIND_BOARD:
&gt;                return moxafindcard(dltmp.cardno);
&gt;        case MOXA_LOAD_C320B:
&gt;                moxaload320b(dltmp.cardno, dltmp.buf, dltmp.len);
                ^ called with no length checking
&gt;        default: /* to keep gcc happy */
&gt;                return (0);
&gt;        case MOXA_LOAD_CODE:
&gt;                i = moxaloadcode(dltmp.cardno, dltmp.buf, dltmp.len);
                ^ called with no length checking

In moxaloadbios():

&gt;static int moxaloadbios(int cardno, unsigned char __user *tmp, int len)
&gt;{
&gt;        void __iomem *baseAddr;
&gt;        int i;
&gt;
&gt;        if(copy_from_user(moxaBuff, tmp, len))
                ^ copy_from_user with no length checking
&gt;                return -EFAULT;

In moxaloadcode():

&gt; static int moxaloadcode(int cardno, unsigned char __user *tmp, int len)
&gt; {
&gt;        void __iomem *baseAddr, *ofsAddr;
&gt;        int retval, port, i;
&gt;
&gt;        if(copy_from_user(moxaBuff, tmp, len))
                ^ copy_from_user with no length checking
&gt;                return -EFAULT;

In moxaload320b():

&gt;static int moxaload320b(int cardno, unsigned char __user *tmp, int len)
&gt;{
&gt;        void __iomem *baseAddr;
&gt;        int i;
&gt;
&gt;        if(len &gt; sizeof(moxaBuff))
                ^ signed int has only upper-bound checked
&gt;                return -EINVAL;
&gt;        if(copy_from_user(moxaBuff, tmp, len))
                ^ copy_from_user with len possibly &gt; sizeof(moxaBuff)
&gt;                return -EFAULT;

6) 2.4/2.6 RLIMIT_MEMLOCK bypass and (2.6) unprivileged user DoS

Taken from the mail from the PaX team to Linus and Andrew Morton:

the &apos;culprit&apos; patch is how the default RLIM_MEMLOCK and the privilege
to call mlockall have changed in 2.6.9. namely, the former has been
reduced to 32 pages while the latter has been relaxed to allow it for
otherwise unprivileged users if their RLIM_MEMLOCK is bigger than the
currently allocated vm. which is normally good enough, except as you
now know there&apos;s a path that can increase the allocated vm without
checking for RLIM_MEMLOCK.

i&apos;m attaching a small i386-specific demonstration, use the makefile to
create the small self-contained executable, e.g., &apos;make alloc=0x100000&apos;
to have it allocate 1MB of stack and lock all of it. for demonstrating
the full effect of locking down arbitrary amounts of memory, you&apos;ll have
to set your stack rlimit to infinity (ulimit -s unlimited) and allocate
as much memory as your memory overcommit policy allows (this may mean
that you&apos;ll have to run multiple instances, if you have lots of memory).

surprisingly, in my tests the kernel survived pretty well, it just crawled
to a snail&apos;s speed as every mapped page access required disk i/o ;-). i
didn&apos;t play with overcommit policies nor any special workloads, so there
may very well be worse effects with that much locked memory. in any case,
this may warrant 2.6.10.1 because as soon as the fix goes into -bk, anyone
reading the logs can easily figure it out and reproduce the &apos;exploit&apos;.

the attached patch is the excerpt from PaX that survives the exploit, so
i think it&apos;s good to go.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-07 17:54:17 0000</bug_when>
            <thetext>http://grsecurity.net/linux-2.4.28-secfix-200501071141.patch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-07 17:54:54 0000</bug_when>
            <thetext>http://grsecurity.net/linux-2.6.10-secfix-200501071130.patch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-07 18:51:03 0000</bug_when>
            <thetext>06:40PM &lt;spender&gt; my patch won&apos;t work on processor&apos;s without an mmu
06:40PM &lt;spender&gt; for the isec bug
06:40PM &lt;spender&gt; err processors
06:40PM &lt;spender&gt; but it wasn&apos;t a problem for my case
06:40PM &lt;spender&gt; just for yours, you might want to add the missing function and export_symbol to mm/nommu.c
06:41PM &lt;ms&gt; no success with 2.6.8...
06:41PM &lt;ms&gt; however I notice 2.6.8 really sucks ;)
&lt;solar&gt; so this and this are no good? http://bugs.gentoo.org/attachment.cgi?id=47891&amp;action=view
&lt;solar&gt; http://bugs.gentoo.org/attachment.cgi?id=47865&amp;action=edit
06:42PM &lt;spender&gt; oh, no the 2.4 one is fine
06:42PM &lt;spender&gt; it&apos;s just the 2.6
06:43PM &lt;spender&gt; btw
06:43PM &lt;spender&gt; if grsec sources includes pax
06:43PM &lt;spender&gt; you need to use my patch for binfmt_elf.c
06:43PM &lt;spender&gt; because you need to hold the semaphore around both the do_brk and pax&apos;s do_mmap_pgoff
06:43PM &lt;spender&gt; can&apos;t just lock both separately
06:44PM &lt;spender&gt; but yea that patch you have there looks fine, just i think you have to export the do_brk_locked symbol
06:44PM &lt;spender&gt; well, if do_brk is exported in there already
&lt;solar&gt; can I add this as a comment to that bug?
06:44PM &lt;spender&gt; yea
06:45PM &lt;spender&gt; but that 2.6 patch is better than the one i saw on lkml at least
06:45PM &lt;spender&gt; it has the sparc64 change</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-07 22:18:24 0000</bug_when>
            <thetext>grsec 2.4.28.2.0.1-200501051112 is in the tree, but will be -* masked for a little while pending testing and waiting/watching for upstream changes.
Adds linux-2.4.28-CAN-2004-0814.patch &amp; linux-2.4.28-random-poolsize.patch</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-08 09:42:12 0000</bug_when>
            <thetext>06:44PM &lt;spender&gt; but yea that patch you have there looks fine, just i think you have to export the do_brk_locked symbol

In mmap.c, do_brk is exported, and our patch adds do_brk_locked and exports it.

In nommu.c, do_brk is not exported, and our patch adds do_brk_locked and does not export it. I think this is ok, see the next thing he said:
06:44PM &lt;spender&gt; well, if do_brk is exported in there already
...which its not.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-09 07:17:50 0000</bug_when>
            <thetext>3) 2.4/2.6 random poolsize sysctl handler integer overflow
#3 is fixed in grsec-sources and in the 2.6.x -ac branch.

4) 2.6 scsi ioctl integer overflow and information leak
should be fixed in -ac branch.

5) 2.2/2.4/2.6 moxa serial driver bss overflow
Brads Patch does not apply to 2.4.x (already in grsec I think) fixed in -ac

6) 2.4/2.6 RLIMIT_MEMLOCK bypass and (2.6) unprivileged user DoS
This is fixed directly by the PaX patch. (fixed in -ac)

Tim do you have any of this broken out and can attach here or other bugs?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-09 08:02:35 0000</bug_when>
            <thetext>Yeah it was fixed in -ac7

2.6.10-ac7
+	Fix failure at boot with some setups and ac6	(Alan Cox)
	| Dumb bug indeed
o	Fix random poolsize sysctl			(Brad Spengler)
o	Fix scsi_ioctl leak				(Brad Spengler)
o	Fix rlimit memlock				(Brad Spengler)
o	Fix Moxa serial					(Alan Cox)
	| While moxa won&apos;t actually even build on 2.6 the grsecurity fix
	| is wrong (for 2.2, 2.4 as well). Without it being CAP_SYS_RAWIO
	| a user can insert alternative bios firmware into the card.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-09 08:04:18 0000</bug_when>
            <thetext>Created an attachment (id=48020)
patch-2.6.10-ac-6-7.interdiff

interdiff patch-2.6.10-ac6 patch-2.6.10-ac7</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-09 08:35:45 0000</bug_when>
            <thetext>Here are the broken out patches:

http://dev.gentoo.org/~dsd/gentoo-dev-sources/release-10.04/dist/1115_sys-uselib-fix.patch
http://dev.gentoo.org/~dsd/gentoo-dev-sources/release-10.04/dist/1120_moxa-overflow.patch
http://dev.gentoo.org/~dsd/gentoo-dev-sources/release-10.04/dist/1125_random-poolsize-overflow.patch
http://dev.gentoo.org/~dsd/gentoo-dev-sources/release-10.04/dist/1130_rlimit-memlock-dos.patch
http://dev.gentoo.org/~dsd/gentoo-dev-sources/release-10.04/dist/1135_scsi-ioctl-overflox.patch

gentoo-dev-sources is fixed, btw.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2005-01-09 12:15:07 0000</bug_when>
            <thetext>dsd thanks.
Can you please chmod 644 1130_rlimit-memlock-dos.patch I getting no permission to access atm.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kerframil@gmail.com</who>
            <bug_when>2005-01-09 12:56:43 0000</bug_when>
            <thetext>@Solar, you can get the exact same patch from this tarball:

http://seclists.org/lists/bugtraq/2005/Jan/att-0068/exploits_and_patches.tgz.

or the genpatches tarball from a mirror, or from here (albeit as a patch to genpatches ;):

http://genpatches.bkbits.net:8080/genpatches/cset@41e038bcWgRXUZFr9okc0cOZhtwNNg?nav=index.html|ChangeSet@-2d

@dsd, I notice that you have asked for gentoo-dev-sources-2.6.10-r4 to be tested pending a move to stable. I&apos;m about to reboot my production box with it so I&apos;ll post a works-for-me(tm) when I can.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-09 13:00:39 0000</bug_when>
            <thetext>Fixed permissions. 2.6.10-r4 is also stable already, hence me noting it as fixed :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kerframil@gmail.com</who>
            <bug_when>2005-01-09 13:05:12 0000</bug_when>
            <thetext>&gt; 2.6.10-r4 is also stable already, hence me noting it as fixed :)

Excellent.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2005-01-09 13:07:05 0000</bug_when>
            <thetext>Created an attachment (id=48045)
2.6 Patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2005-01-09 13:10:12 0000</bug_when>
            <thetext>Created an attachment (id=48046)
2.4 Patch (*WARNING* Read comment below!)

For 2.4 kernels you also need to apply the updated CAN-2004-0814 patches in
addition to the 2.4 patch attached on this bug.

For 2.4.28, link to and use
http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/linux-2.4.28-CAN-2004-0814.patch

For 2.4.27, link to and use 
http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/linux-2.4.27-CAN-2004-0814.2.patch

For 2.4.26, link to and use 
http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/linux-2.4.26-CAN-2004-0814.2.patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2005-01-09 13:22:43 0000</bug_when>
            <thetext>All done, following externally maintained sources still need fixing:

hardened-(dev-)sources -- Adding hardened herd...
hppa-sources -- Adding GMSoft...
mips-sources -- Adding Kumba...
openmosix-sources -- Adding cluster herd...
pegasos-dev-sources -- Adding dholm...
rsbac-(dev-)sources -- Adding kang...
sparc-sources -- Adding Joker.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gmsoft@gentoo.org</who>
            <bug_when>2005-01-10 09:46:05 0000</bug_when>
            <thetext>Done in hppa-sources-2.6.10_p10.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>voxus@gentoo.org</who>
            <bug_when>2005-01-10 09:53:03 0000</bug_when>
            <thetext>done for openMo6-sources.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tklauser@nuerscht.ch</who>
            <bug_when>2005-01-11 02:30:20 0000</bug_when>
            <thetext>dsd: Applying the  random poolsize overflow patch from: http://dev.gentoo.org/~dsd/gentoo-dev-sources/release-10.04/dist/1125_random-poolsize-overflow.patch
generates Hunks because the line does not match with the 2.6.10 source. Albeit this is nothing serious I did a proper patch wich is attaches. You may want to apply it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tklauser@nuerscht.ch</who>
            <bug_when>2005-01-11 02:32:28 0000</bug_when>
            <thetext>Created an attachment (id=48178)
Random poolsize overflow patch without hunk

As described above</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tocharian@gentoo.org</who>
            <bug_when>2005-01-11 20:45:48 0000</bug_when>
            <thetext>~x86 hardened-dev-sources-2.6.10 patched</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kang@gentoo.org</who>
            <bug_when>2005-01-13 15:56:53 0000</bug_when>
            <thetext>rsbac-sources (2.6) patched</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tocharian@gentoo.org</who>
            <bug_when>2005-01-13 19:14:09 0000</bug_when>
            <thetext>hardened-sources-2.4.28-r2 patched in ~x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kumba@gentoo.org</who>
            <bug_when>2005-01-14 21:54:04 0000</bug_when>
            <thetext>We got 2.6.9 and 2.6.8.1 versions of this patch available?  I&apos;ve tweaked the current 2.6 patch for 2.6.9, but 2.6.8.1 is more interesting, in that net/ipv4/netfilter/ip_conntrack_proto_tcp.c is vastly different than what the patch expects.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dholm@gentoo.org</who>
            <bug_when>2005-01-16 05:12:52 0000</bug_when>
            <thetext>pegasos-sources fixed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joker@gentoo.org</who>
            <bug_when>2005-01-16 06:44:01 0000</bug_when>
            <thetext>fixed in sparc-sources-2.4.28-r6</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dsd@gentoo.org</who>
            <bug_when>2005-01-17 07:28:02 0000</bug_when>
            <thetext>gentoo-dev-sources is done</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kumba@gentoo.org</who>
            <bug_when>2005-01-18 19:00:39 0000</bug_when>
            <thetext>mips-sources patched</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kang@gentoo.org</who>
            <bug_when>2005-01-21 05:37:23 0000</bug_when>
            <thetext>rsbac-sources 2.4 is also fixed in ~x86</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-03-16 02:58:01 0000</bug_when>
            <thetext>CAN-2005-0504 is for :
Buffer overflow in the MoxaDriverIoctl function for the moxa serial driver (moxa.c) in Linux 2.2.x, 2.4.x, and 2.6.x allows local users to execute arbitrary code via a certain modified length value.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-03-16 03:10:44 0000</bug_when>
            <thetext>CAN-2005-0179 is for:
Linux kernel 2.4.x and 2.6.x allows local users to cause a denial of service (CPU and memory consumption) and bypass RLIM_MEMLOCK limits via the mlockall call.

CAN-2005-0180 is for:
Multiple integer signedness errors in the sg_scsi_ioctl function in scsi_ioctl.c for Linux 2.6.x allow local users to read or modify kernel memory via negative integers in arguments to the scsi ioctl, which bypass a maximum length check before calling the copy_from_user and copy_to_user functions.

The last one has no CVE apparently</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2005-03-16 03:16:48 0000</bug_when>
            <thetext>Mass-Ccing kern-sec@gentoo.org to make sure Kernel Security guys know about all
of these...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2005-03-29 05:48:51 0000</bug_when>
            <thetext>kang: Have you patched 2.6? I can&apos;t see any reference in the ChangeLog to this bug...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kang@gentoo.org</who>
            <bug_when>2005-03-29 06:08:59 0000</bug_when>
            <thetext>I wrote i patched it: see comment #22 and #29

Since it was fixed before I saw this bug or had any CAN number I didn&apos;t wrote any of theses numbers in the ChangeLog.
RSBAC is based on rsbacfixed which had latest -as and/or/additional/brad patches (first had brad patches, and since was integrated by rsbacfixed)
(Now rsbacfixed has latest 2.6.11.z, I copy changelog from this kernel and bugs/CAN numbers whenever I have them after the patch)

Anyway, 0180, 0179, 504 are ok.

Ref: http://fixed.rsbac.org/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2005-03-29 07:05:57 0000</bug_when>
            <thetext>All fixed then, closing bug.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2009-05-03 14:14:57 0000</bug_when>
            <thetext>http://git.kernel.org/?p=linux/kernel/git/tglx/history.git;a=commit;h=26eecbf3543b7a57699ce5b0bed82b84d3b61705
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48020</attachid>
            <date>2005-01-09 08:04 0000</date>
            <desc>patch-2.6.10-ac-6-7.interdiff</desc>
            <filename>patch-2.6.10-ac-6-7.interdiff</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdSBsaW51eC0yLjYuMTAvZHJpdmVycy9ibG9jay9zY3NpX2lvY3RsLmMgbGludXgtMi42
LjEwL2RyaXZlcnMvYmxvY2svc2NzaV9pb2N0bC5jCi0tLSBsaW51eC0yLjYuMTAvZHJpdmVycy9i
bG9jay9zY3NpX2lvY3RsLmMJMjAwNC0xMi0yNiAxNzoyNzo1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cG9vbGluZm8uUE9PTEJZVEVTOwogCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48045</attachid>
            <date>2005-01-09 13:07 0000</date>
            <desc>2.6 Compound Patch</desc>
            <filename>linux-2.6.10-77094.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtdXJOcCBsaW51eC0yLjYuMTAvZHJpdmVycy9jaGFyL21veGEuYyBsaW51eC0yLjYuMTAt
bmV3L2RyaXZlcnMvY2hhci9tb3hhLmMKLS0tIGxpbnV4LTIuNi4xMC9kcml2ZXJzL2NoYXIvbW94
YS5jCTIwMDUtMDEtMDcgMTA6NTE6MjMgLTA1MDAKKysrIGxpbnV4LTIuNi4xMC1uZXcvZHJpdmVy
cy9jaGFyL21veGEuYwkyMDA1LTAxLTA3IDEwOjUxOjMzIC0wNTAwCkBAIC0xNjY4LDYgKzE2Njgs
OCBAQCBpbnQgTW94YURyaXZlcklvY3RsKHVuc2lnbmVkIGludCBjbWQsIHVuCiAJCXJldHVybiAt
RUZBVUxUOwogCWlmKGRsdG1wLmNhcmRubyA8IDAgfHwgZGx0bXAuY2FyZG5vID49IE1BWF9CT0FS
RFMpCiAJCXJldHVybiAtRUlOVkFMOworCWlmKGRsdG1wLmxlbiA8IDAgfHwgZGx0bXAubGVuID4g
c2l6ZW9mKG1veGFCdWZmKSkKKwkJcmV0dXJuIC1FSU5WQUw7CiAKIAlzd2l0Y2goY21kKQogCXsK
QEAgLTI4MjIsOCArMjgyNCw2IEBAIHN0YXRpYyBpbnQgbW94YWxvYWQzMjBiKGludCBjYXJkbm8s
IHVuc2kKIAl2b2lkIF9faW9tZW0gKmJhc2VBZGRyOwogCWludCBpOwogCi0JaWYobGVuID4gc2l6
ZW9mKG1veGFCdWZmKSkKLQkJcmV0dXJuIC1FSU5WQUw7CiAJaWYoY29weV9mcm9tX3VzZXIobW94
YUJ1ZmYsIHRtcCwgbGVuKSkKIAkJcmV0dXJuIC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ldC9pcHY0L25ldGZpbHRlci9pcF9jb25udHJhY2tfcHJvdG9fdGNw
LmMJMjAwNS0wMS0wNyAxMDo1MToyNCAtMDUwMAorKysgbGludXgtMi42LjEwLW5ldy9uZXQvaXB2
NC9uZXRmaWx0ZXIvaXBfY29ubnRyYWNrX3Byb3RvX3RjcC5jCTIwMDUtMDEtMDcgMTA6NTE6MzMg
LTA1MDAKQEAgLTkwNiw3ICs5MDYsOCBAQCBzdGF0aWMgaW50IHRjcF9wYWNrZXQoc3RydWN0IGlw
X2Nvbm50cmFjCiAJCWlmIChpbmRleCA9PSBUQ1BfUlNUX1NFVAogCQkgICAgJiYgKCh0ZXN0X2Jp
dChJUFNfU0VFTl9SRVBMWV9CSVQsICZjb25udHJhY2stPnN0YXR1cykKIAkJICAgICAgICAgJiYg
Y29ubnRyYWNrLT5wcm90by50Y3AubGFzdF9pbmRleCA8PSBUQ1BfU1lOQUNLX1NFVCkKLQkJICAg
ICAgICB8fCBjb25udHJhY2stPnByb3RvLnRjcC5sYXN0X2luZGV4ID09IFRDUF9BQ0tfU0VUKQor
CQkgICAgICAgIHx8ICghdGVzdF9iaXQoSVBTX0FTU1VSRURfQklULCAmY29ubnRyYWNrLT5zdGF0
dXMpCisJCQkgJiYgY29ubnRyYWNrLT5wcm90by50Y3AubGFzdF9pbmRleCA9PSBUQ1BfQUNLX1NF
VCkpCiAJCSAgICAmJiBhZnRlcihudG9obCh0aC0+YWNrX3NlcSksCiAJCSAgICAJICAgICBjb25u
dHJhY2stPnByb3RvLnRjcC5sYXN0X3NlcSkpIHsKIAkJCS8qIElnbm9yZSBSU1QgY2xvc2luZyBk
b3duIGludmFsaWQgU1lOIG9yIEFDSwo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48046</attachid>
            <date>2005-01-09 13:10 0000</date>
            <desc>2.4 Patch (*WARNING* Read comment below!)</desc>
            <filename>linux-2.4.28-77094.patch</filename>
            <type>text/plain</type>
            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NTQ6MjEuMDAw
MDAwMDAwICswMDAwCisrKyBsaW51eC0yLjQuMjgucGxhc21hcm9vL2RyaXZlcnMvY2hhci9yYW5k
b20uYwkyMDA1LTAxLTA4IDAyOjU0OjQ5LjE5ODYzNTczNiArMDAwMApAQCAtMTc4Nyw3ICsxNzg3
LDcgQEAKIAkJCSAgICAgdm9pZCAqb2xkdmFsLCBzaXplX3QgKm9sZGxlbnAsCiAJCQkgICAgIHZv
aWQgKm5ld3ZhbCwgc2l6ZV90IG5ld2xlbiwgdm9pZCAqKmNvbnRleHQpCiB7Ci0JaW50CWxlbjsK
KwlzaXplX3QJbGVuOwogCQogCXN5c2N0bF9wb29sc2l6ZSA9IHJhbmRvbV9zdGF0ZS0+cG9vbGlu
Zm8uUE9PTEJZVEVTOwogCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>48178</attachid>
            <date>2005-01-11 02:32 0000</date>
            <desc>Random poolsize overflow patch without hunk</desc>
            <filename>random-poolsize-int-overflow.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGxpbnV4LTIuNi4xMC9kcml2ZXJzL2NoYXIvcmFuZG9tLmMJMjAwNC0xMi0yNCAyMjozMzo1
MS4wMDAwMDAwMDAgKzAxMDAKKysrIGxpbnV4LTIuNi4xMC10azEvZHJpdmVycy9jaGFyL3JhbmRv
bS5jCTIwMDUtMDEtMTEgMTE6MjM6NDAuMzUxNDA5NTY4ICswMTAwCkBAIC0xOTA2LDcgKzE5MDYs
NyBAQAogCQkJICAgICB2b2lkIF9fdXNlciAqb2xkdmFsLCBzaXplX3QgX191c2VyICpvbGRsZW5w
LAogCQkJICAgICB2b2lkIF9fdXNlciAqbmV3dmFsLCBzaXplX3QgbmV3bGVuLCB2b2lkICoqY29u
dGV4dCkKIHsKLQlpbnQJbGVuOworCXNpemVfdAlsZW47CiAJCiAJc3lzY3RsX3Bvb2xzaXplID0g
cmFuZG9tX3N0YXRlLT5wb29saW5mby5QT09MQllURVM7CiAK
</data>        

          </attachment>
    </bug>

</bugzilla>