<?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>62524</bug_id>
          
          <creation_ts>2004-09-01 09:16 0000</creation_ts>
          <short_desc>Kernel: sys-kernel/* remote denial-of-service (GENERIC-MAP-NOMATCH)</short_desc>
          <delta_ts>2009-07-12 19:44:55 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>
          <bug_file_loc>http://git.kernel.org/?p=linux/kernel/git/tglx/history.git;a=commit;h=8cc423214cd76091611f167b3f2695295b814186</bug_file_loc>
          <status_whiteboard>[linux &lt;2.6.9]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jaervosz@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>gregkh@gentoo.org</cc>
    
    <cc>hanno@gentoo.org</cc>
    
    <cc>hardened-kernel@gentoo.org</cc>
    
    <cc>kang@gentoo.org</cc>
    
    <cc>scox@sig11.org</cc>

      

      
          <flag name="Pending"
                status="-"
                setter="plasmaroo@gentoo.org"
          />
          <long_desc isprivate="0">
            <who>jaervosz@gentoo.org</who>
            <bug_when>2004-09-01 09:16:10 0000</bug_when>
            <thetext>Suse just released the following. 

1) problem description, brief discussion

    Various signedness issues and integer overflows have been fixed within
    kNFSd and the XDR decode functions of kernel 2.6.
    These bugs can be triggered remotely by sending a package with a trusted
    source IP address and a write request with a size greater then 2^31.
    The result will be a kernel Oops, it is unknown if this bug is otherwise
    exploitable yet.
    Kernel 2.4 nfsd code is different but may suffer from the same
    vulnerability.
    Additionally a local denial-of-service condition via /dev/ptmx, which
    affects kernel 2.6 only has been fixed. Thanks to Jan Engelhardt for
    reporting this issue to us.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vorlon@gentoo.org</who>
            <bug_when>2004-09-02 12:42:11 0000</bug_when>
            <thetext>Reply to the SuSe announcement on bugtraq from 	Paul Starzetz &lt;paul starzetz de&gt;
http://www.securityfocus.com/archive/1/373887 :

The iSEC people have read the nfsd code from 2.4 and it seems to be 
vulnerable too, however only authenticated clients could reach the 
problematic places at all. Having a writeable NFS share is probably a 
bad idea anyway...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-09-06 12:34:03 0000</bug_when>
            <thetext>Created an attachment (id=39082)
2.4 NFS Patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-09-06 12:34:37 0000</bug_when>
            <thetext>Created an attachment (id=39083)
2.6 /dev/ptmx Patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-09-06 12:37:03 0000</bug_when>
            <thetext>Created an attachment (id=39084)
2.6 /dev/ptmx Patch
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-09-06 12:46:29 0000</bug_when>
            <thetext>Greg, can you have a look upstream regarding this XDR issue for 2.6 - I can&apos;t confirm whether it is affected or not, and does this needs fixing upstream? Or was this XDR issue fixed by the recent signed-&gt;unsigned transitions?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gregkh@gentoo.org</who>
            <bug_when>2004-09-17 16:32:10 0000</bug_when>
            <thetext>I&apos;m pretty sure this is already fixed in the latest 2.6.8.1 kernel release, right?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-09-18 02:44:09 0000</bug_when>
            <thetext>Well, there don&apos;t seem to be any changes suggesting that - looking through SuSE&apos;s patches, it seems that they are patching a backported NFS rather than the one present by 2.6.5... Hence the dilemma of whether the upstream source is vulnerable.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>koon@gentoo.org</who>
            <bug_when>2004-11-09 08:33:51 0000</bug_when>
            <thetext>Moving to newly-created kernel-specific category</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2004-11-09 14:35:40 0000</bug_when>
            <thetext>Ok, all patched. The following are externally maintained, so I&apos;m CCing the relevant maintainers. Patches are attached on this bug.

grsec-sources -- Adding solar.
hardened-dev-sources -- Adding Gentoo/Hardened team.
hardened-sources -- Adding scox.
hppa(-dev)-sources -- Adding GMSoft.
mips-sources -- Adding `Kumba.
openmosix-sources -- Adding cluster herd.
rsbac(-dev)-sources -- Adding kang.
selinux-sources -- Adding pebenito.
sparc-sources -- Adding Joker.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2004-11-10 00:16:41 0000</bug_when>
            <thetext>Is there a CAN- number for this one yet?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2004-11-10 00:19:59 0000</bug_when>
            <thetext>patches clean.. Sending linux-2.4.27-nfs3-xdr.patch.bz2 to the mirrors so others can grab it via SRC_URI so we don&apos;t end up with alot of kernels with {FILESDIR}/same-patch-as-all-other-2.4.kernels</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2004-11-10 00:47:37 0000</bug_when>
            <thetext>grsec-sources patched. 
Old ebuilds removed. 
All arches assumed stable. 
Removing myself from CC:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>voxus@gentoo.org</who>
            <bug_when>2004-11-10 01:30:11 0000</bug_when>
            <thetext>openmosix-sources patched.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joker@gentoo.org</who>
            <bug_when>2004-11-10 09:26:41 0000</bug_when>
            <thetext>Fixed in sparc-sources-2.4.27-r2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pebenito@gentoo.org</who>
            <bug_when>2004-11-10 09:48:42 0000</bug_when>
            <thetext>selinux-sources p.mask&apos;ed as it will be removed soon</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kumba@gentoo.org</who>
            <bug_when>2004-11-19 18:08:08 0000</bug_when>
            <thetext>mips-sources updated.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kang@gentoo.org</who>
            <bug_when>2004-11-24 01:46:40 0000</bug_when>
            <thetext>- hardened-dev-sources updated
- rsbac-dev-sources updated</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gmsoft@gentoo.org</who>
            <bug_when>2004-11-24 09:38:47 0000</bug_when>
            <thetext>hppa-(dev-)sources done.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tocharian@gentoo.org</who>
            <bug_when>2004-11-28 10:32:02 0000</bug_when>
            <thetext>hardened-sources bumped to 2.4.28</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kang@gentoo.org</who>
            <bug_when>2004-11-28 15:51:11 0000</bug_when>
            <thetext>rsba-sources bumped to 2.4.28</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2005-01-15 14:36:00 0000</bug_when>
            <thetext>All kernels fixed, closing bug; notifications are being migrated away from GLSAs for kernels, more news coming soon so stay tuned :-]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rbu@gentoo.org</who>
            <bug_when>2009-05-03 12:58:11 0000</bug_when>
            <thetext>http://git.kernel.org/?p=linux/kernel/git/tglx/history.git;a=commit;h=8cc423214cd76091611f167b3f2695295b814186</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39082</attachid>
            <date>2004-09-06 12:34 0000</date>
            <desc>2.4 NFS Patch</desc>
            <filename>2.4-XDRWrapFix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBUaGlzIGlzIGEgQml0S2VlcGVyIGdlbmVyYXRlZCBkaWZmIC1OcnUgc3R5bGUgcGF0Y2guCiMK
IyBDaGFuZ2VTZXQKIyAgIDIwMDQvMDgvMTYgMTQ6NTA6MDQtMDM6MDAgbmVpbGJAY3NlLnVuc3cu
ZWR1LmF1IAojICAgW1BBVENIXSBGaXhlZCBwb3NzaWJseSB4ZHIgcGFyc2luZyBlcnJvciBpZiB3
cml0ZSBzaXplIGV4Y2VlZCAyXjMxCiMgICAKIyAgIHhkcl9hcmdzaXplX2NoZWNrIG5lZWRzIHRv
IGNvcGUgd2l0aCB0aGUgcG9zc2liaWxpdHkgdGhhdCB0aGUKIyAgIHBvaW50ZXIgaGFzIHdyYXBw
ZWQgYW5kIGNvdWxkIGJlIGJlbG93IGJ1Zi0+YmFzZS4KIyAgIAojICAgU2lnbmVkLW9mZi1ieTog
TmVpbCBCcm93biA8bmVpbGJAY3NlLnVuc3cuZWR1LmF1PgojICAgCiMgICAjIyMgRGlmZnN0YXQg
b3V0cHV0CiMgICAgLi9mcy9uZnNkL25mczN4ZHIuYyAgICAgICAgIHwgICAgMiArLQojICAgIC4v
aW5jbHVkZS9saW51eC9uZnNkL3hkcjMuaCB8ICAgIDIgKy0KIyAgICAyIGZpbGVzIGNoYW5nZWQs
IDIgaW5zZXJ0aW9ucygrKSwgMiBkZWxldGlvbnMoLSkKIyAKIyBmcy9uZnNkL25mczN4ZHIuYwoj
ICAgMjAwNC8wOC8xNCAwMDoyMzowNi0wMzowMCBuZWlsYkBjc2UudW5zdy5lZHUuYXUgKzEgLTEK
IyAgIEZpeGVkIHBvc3NpYmx5IHhkciBwYXJzaW5nIGVycm9yIGlmIHdyaXRlIHNpemUgZXhjZWVk
IDJeMzEKIyAKIyBpbmNsdWRlL2xpbnV4L25mc2Q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</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39083</attachid>
            <date>2004-09-06 12:34 0000</date>
            <desc>2.6 /dev/ptmx Patch</desc>
            <filename>2.6-devpts-refcount.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IGxpbnV4LTIuNi41L2ZzL2RldnB0cy9pbm9kZS5jCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGxpbnV4
LTIuNi41Lm9yaWcvZnMvZGV2cHRzL2lub2RlLmMKKysrIGxpbnV4LTIuNi41L2ZzL2RldnB0cy9p
bm9kZS5jCkBAIC0xNzgsOSArMTc4LDEzIEBAIHN0cnVjdCB0dHlfc3RydWN0ICpkZXZwdHNfZ2V0
X3R0eShpbnQgbnUKIHsKIAlzdHJ1Y3QgZGVudHJ5ICpkZW50cnkgPSBnZXRfbm9kZShudW1iZXIp
OwogCXN0cnVjdCB0dHlfc3RydWN0ICp0dHk7Ci0KLQl0dHkgPSAoSVNfRVJSKGRlbnRyeSkgfHwg
IWRlbnRyeS0+ZF9pbm9kZSkgPyBOVUxMIDoKLQkJCWRlbnRyeS0+ZF9pbm9kZS0+dS5nZW5lcmlj
X2lwOworCQorCXR0eSA9IE5VTEw7CisJaWYgKCFJU19FUlIoZGVudHJ5KSkgeworCQlpZiAoZGVu
dHJ5LT5kX2lub2RlKQorCQkJdHR5ID0gZGVudHJ5LT5kX2lub2RlLT51LmdlbmVyaWNfaXA7CisJ
CWRwdXQoZGVudHJ5KTsKKwl9CiAKIAl1cCgmZGV2cHRzX3Jvb3QtPmRfaW5vZGUtPmlfc2VtKTsK
IAo=
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>39084</attachid>
            <date>2004-09-06 12:37 0000</date>
            <desc>2.6 /dev/ptmx Patch</desc>
            <filename>2.6-devpts-refcount.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IGxpbnV4LTIuNi41L2ZzL2RldnB0cy9pbm9kZS5jCj09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGxpbnV4
LTIuNi41Lm9yaWcvZnMvZGV2cHRzL2lub2RlLmMKKysrIGxpbnV4LTIuNi41L2ZzL2RldnB0cy9p
bm9kZS5jCkBAIC0xNzgsOSArMTc4LDEzIEBAIHN0cnVjdCB0dHlfc3RydWN0ICpkZXZwdHNfZ2V0
X3R0eShpbnQgbnUKIHsKIAlzdHJ1Y3QgZGVudHJ5ICpkZW50cnkgPSBnZXRfbm9kZShudW1iZXIp
OwogCXN0cnVjdCB0dHlfc3RydWN0ICp0dHk7Ci0KLQl0dHkgPSAoSVNfRVJSKGRlbnRyeSkgfHwg
IWRlbnRyeS0+ZF9pbm9kZSkgPyBOVUxMIDoKLQkJCWRlbnRyeS0+ZF9pbm9kZS0+dS5nZW5lcmlj
X2lwOworCQorCXR0eSA9IE5VTEw7CisJaWYgKCFJU19FUlIoZGVudHJ5KSkgeworCQlpZiAoZGVu
dHJ5LT5kX2lub2RlKQorCQkJdHR5ID0gZGVudHJ5LT5kX2lub2RlLT51LmdlbmVyaWNfaXA7CisJ
CWRwdXQoZGVudHJ5KTsKKwl9CiAKIAl1cCgmZGV2cHRzX3Jvb3QtPmRfaW5vZGUtPmlfc2VtKTsK
IAo=
</data>        

          </attachment>
    </bug>

</bugzilla>