Annotation of www/errata.html, Revision 1.78
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML Strict//EN">
2: <html>
3: <head>
1.64 deraadt 4: <title>OpenBSD release errata</title>
1.1 deraadt 5: <link rev=made href=mailto:www@openbsd.org>
6: <meta name="resource-type" content="document">
7: <meta name="description" content="the OpenBSD CD errata page">
8: <meta name="keywords" content="openbsd,cd,errata">
9: <meta name="distribution" content="global">
10: <meta name="copyright" content="This document copyright 1997 by OpenBSD.">
11: </head>
12:
13: <BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#23238E">
14:
1.37 deraadt 15: <img alt="[OpenBSD]" SRC="images/smalltitle.gif">
1.68 deraadt 16: <h2><font color=#0000e0>
17: This is the OpenBSD 2.2 release errata & patch list:
18: </font></h2>
19:
1.25 deraadt 20: <ul>
1.43 deraadt 21: <a name=all></a>
1.67 deraadt 22: <li><h3><font color=#e00000>All architectures</font></h3>
1.25 deraadt 23: <ul>
1.72 deraadt 24: <a name=sourceroute></a>
25: <li><strong><font color=#009000>SECURITY FIX</strong></font><br>
26: If the sysctl variable <strong>net.inet.ip.forwarding</strong> is
27: enabled (value 1), but the variable <strong>net.inet.ip.sourceroute</strong>
1.73 deraadt 28: is disabled (value 0), the kernel will block source routed packets from
29: going through, but will still accept source routing packets destined for
1.72 deraadt 30: itself. Our fix changes the <strong>net.inet.ip.sourceroute</strong>
1.77 deraadt 31: variable semantics to mean that all source routed packets should
1.73 deraadt 32: be blocked completely.
1.72 deraadt 33: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/sourceroute.patch>
34: A kernel patch is provided</a>.
1.39 deraadt 35: <p>
1.62 deraadt 36: <a name=ruserok></a>
1.72 deraadt 37: <li><font color=#009000><strong>SECURITY FIX</strong></font><br>
1.61 deraadt 38: A combination localhost+remote host security problem exists if a
39: local user running a setuid binary causes a non-existant root .rhosts
40: file to be created via a symbolic link with a specific kind of corefile,
41: and then subsequently uses rsh/rlogin to enter the machine from remote.
42: A similar exploit might also be possible using sshd which lacks any code
43: for checking for deviations from the expected format in the .rhosts or
44: .shosts files, but we have not confirmed this yet. The following two
45: fixes are recommended:
46: <p>
47: <ul>
48: <li>
49: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/nosuidcoredump.patch>
1.72 deraadt 50: (1) A kernel patch which adds a new sysctl option which permits the
51: administrator to decide whether setuid corefiles should be written or not</a>.
1.61 deraadt 52: <p>
53: <li><a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/rcmd.patch>
1.74 deraadt 54: (2) Replaces the libc ruserok() function with a more paranoid
55: version which detects bogus looking .rhosts files better.</a>
1.61 deraadt 56: </ul>
57: <p>
1.74 deraadt 58: If the
59: first patch is used to stop setuid coredumps, then the second patch is
60: not as important.
1.61 deraadt 61: This problem is fixed much better in OpenBSD-current, where the kernel's
62: symbolic link handling has been improved such that coredumping will not
63: create a file on the other side of a symbolic link. Such a patch is not
64: possible for the 4.4lite1 VFS layer in the OpenBSD 2.2 kernel.
65: <p>
1.72 deraadt 66: <a name=mmap></a>
67: <li><strong><font color=#009000>SECURITY FIX</strong></font><br>
68: If you rely on the system securelevels as described in init(8), you
69: will want this fix. A bug in the vm system permits a file descriptor
70: opened read-only on a device, to later on be mmap(2)'d read-write, and
71: then modified. This does not result in a security hole by itself, but
72: it does violate the safety semantics which securelevels are supposed to
1.78 ! deraadt 73: provide. If a user manages to gain kmem group permissions, using this
! 74: problem they can then gain root trivially.
1.72 deraadt 75: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/vm_mmap.patch>
76: A kernel patch is available which corrects this behaviour</a>.
77: <p>
78: <li><font color=#009000><strong>BUILD PROCESS FIX</strong></font><br>
79: Building an object tree from a read-only source tree (such as off a CDROM)
80: may fail under certain circumstances (e.g. when creating a symlink on sparc
81: whose target name is exactly 33 characters). As a workaround you have to
82: either provide the source tree read/write, or install a newer version of
83: /usr/bin/readlink.
84: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/common/readlink.c>
85: A replacement source file exists</a>.
86: <p>
1.25 deraadt 87: </ul>
1.42 deraadt 88: <a name=i386></a>
1.67 deraadt 89: <li><h3><font color=#e00000>i386</font></h3>
1.25 deraadt 90: <ul>
1.76 deraadt 91: <a name=f00f></a>
1.72 deraadt 92: <li><font color=#009000><strong>RELIABILITY FIX</strong></font><br>
93: The Intel P5 F00F bug was discovered after the CDR's had already been
1.39 deraadt 94: sent to the manufacturer. This problem permits any user who has an account
95: to lock your machine up using a 4-line program. The problem only affects
96: Intel P5 processors (the i386, i486, P-Pro, and P-II are not vulnerable,
97: nor are processors by other manufacturers).
1.44 deraadt 98: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/f00f.patch>
1.39 deraadt 99: A kernel source-code patch is available</a>.
100: <p>
1.72 deraadt 101: <li><font color=#009000><strong>FUNCTIONALITY FIX</strong></font><br>
102: Some Linux binaries will execute in SVR4 emulation mode, which is
1.33 deraadt 103: definately a problem for people who need Linux emulation to work correctly.
1.39 deraadt 104: To solve this mis-identification problem,
1.32 deraadt 105: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/compat_linux.patch>
1.72 deraadt 106: a patch file is provided</a>.
1.39 deraadt 107: <p>
1.72 deraadt 108: <li><font color=#009000><strong>RELIABILITY FIX</strong></font><br>
109: APM can crash on machines without it.
1.45 deraadt 110: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/i386/apm.patch>
111: A kernel source-code patch is available</a>.
112: <p>
1.72 deraadt 113: <li><font color=#009000><strong>INSTALLATION PROCESS FLAW</strong></font><br>
114: A few people are running into this problem, particularily if they had some
1.39 deraadt 115: other *BSD operating system on their machine before trying OpenBSD: if after
116: installation onto an IDE-based machine, the kernel fails to mount the root
117: partition because it thinks that it should be opening sd0 (0x400), this means
118: you have incorrectly setup your disklabel for the IDE drive -- the disklabel
119: is indicating that the drive is SCSI.
120: To repair this, use the floppy to run "disklabel -E wd0", then using the
121: "edit" command ensure the type field is set to "ST506".
122: <p>
123: </ul>
1.47 deraadt 124: <a name=mac68k></a>
1.67 deraadt 125: <li><h3><font color=#e00000>mac68k</font></h3>
1.39 deraadt 126: <ul>
1.72 deraadt 127: <li><font color=#009000><strong>NEW SOFTWARE</strong></font><br>
128: Unfortunately, X11 binaries for the mac68k did not manage to make it onto the
1.69 deraadt 129: CDROM. However, X11 for the mac68k is immediately available from
1.46 gene 130: <a href="ftp://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/X11/X11R6.tar.gz">
131: ftp://ftp.OpenBSD.org/pub/OpenBSD/2.2/mac68k/X11/X11R6.tar.gz</a>. Please
132: be sure to read the <a href="ftp://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/X11/README.X11">README file</a> also in that directory for instructions on installing
133: and setting up X.
1.39 deraadt 134: <p>
1.72 deraadt 135: <li><font color=#009000><strong>INSTALLATION PROCESS FLAW</strong></font><br>
136: As shipped on the CDROM, both the
137: <a href="ftp://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k/bsd-generic.tar.gz">
138: generic kernel</a>
139: and the
1.70 gene 140: <a href="ftp://ftp.openbsd.org/pub/OpenBSD/2.2/bsd-genericbsc.tar.gz">
1.72 deraadt 141: genericsbc kernel</a>
142: extract themselves into the wrong place in the filesystem.
1.70 gene 143: Both <strong>should</strong> extract a kernel named <tt>/bsd</tt>, but they extract
144: the kernel into <tt>/usr/src/sys/arch/mac68k/compile</tt> instead.
145: <p>
1.74 deraadt 146: This has been fixed on the ftp release of <a href=22.html>OpenBSD 2.2</a>, and
1.71 gene 147: fresh kernels are available from <a href="ftp://ftp.openbsd.org/pub/OpenBSD/2.2/mac68k">
148: ftp://ftp.OpenBSD.ORG/pub/OpenBSD/2.2/mac68k/</a>. If at all possible,
149: installing these kernels is recommended.
150: <p>
151: A number of possible workarounds exist if you don't have easy access to ftp
152: the updated kernels. The simplest of these is to use a
1.70 gene 153: MacOS program to uncompress and untar the kernel aad use the Installer's
154: mini-shell to "cpin" the kernel. Alternately, you could install the kernel
155: with the Installer and use the mini-shell to move the binary from <tt>/usr/src/...</tt> to <tt>/bsd</tt>.
156: <p>
1.25 deraadt 157: </ul>
1.65 deraadt 158: <a name=sparc></a>
1.67 deraadt 159: <li><h3><font color=#e00000>sparc</font></h3>
1.25 deraadt 160: <ul>
1.72 deraadt 161: <li><font color=#009000><strong>RELIABILITY FIX</strong></font><br>
162: Older 4/xxx systems (particularily the 4/300's) cannot boot
1.58 deraadt 163: with the 2.2 kernel due to bugs in the scsi device driver.
1.57 jason 164: <a href=ftp://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/esp.patch>
1.72 deraadt 165: A kernel source patch is available</a>.
1.60 jason 166: Replacement kernels are available for:
167: <a href=ftp://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/bsd>bsd</a>,
168: <a href=ftp://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/bsd.scsi3>bsd.scsi3</a>,
169: and a replacement for bsd.rd is coming soon.
1.39 deraadt 170: <p>
1.65 deraadt 171: <a name=sparciommu></a>
1.72 deraadt 172: <li><font color=#009000><strong>RELIABILITY FIX</strong></font><br>
173: SPARCstation 4 and 5 (Microsparc 2) users may see kernel panics when
1.63 marc 174: using a custom kernel configured for option sun4m only.
175: <a href=ftp://ftp.OpenBSD.org/pub/OpenBSD/patches/2.2/sparc/sun4m.patch>
1.72 deraadt 176: A workaround (kernel source patch) is available</a>. Apply the patch and
1.63 marc 177: then re-build your kernel.
178: <p>
1.39 deraadt 179: </ul>
1.67 deraadt 180: <li><h3><font color=#e00000>amiga</font></h3>
1.39 deraadt 181: <p>
182: <ul>
1.72 deraadt 183: <li><font color=#009000><strong>FUNCTIONALITY FIX</strong></font><br>
184: Missing Xamiga manual pages. Get
1.48 niklas 185: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/amiga/Xamiga-manual.tgz>
186: this package</a> and execute, <i>as root</i>:<br>
1.74 deraadt 187: <strong><b># </b>pkg_add Xamiga-manual.tgz</strong><br>
1.51 deraadt 188: The MD5 checksum of this package is:<br>
1.49 deraadt 189: <b>MD5 (Xamiga-manual.tgz) = 2362a7857264b9d17f65cca258b42031</b><p>
1.72 deraadt 190: <li><font color=#009000><strong>FUNCTIONALITY FIX</strong></font><br>
191: The Ariadne ethernet support was broken, there will be both binary and
1.48 niklas 192: source level fixes available shortly. If you are in a hurry mail
1.49 deraadt 193: <a href=mailto:niklas@openbsd.org>Niklas</a> for a test kernel.<p>
1.25 deraadt 194: </ul>
1.65 deraadt 195: <a name=pmax></a>
1.67 deraadt 196: <li><h3><font color=#e00000>pmax</font></h3>
1.25 deraadt 197: <ul>
1.72 deraadt 198: <li><font color=#009000><strong>FUNCTIONALITY FIX</strong></font><br>
199: There is a Year-1998 problem in the time-setting code (which causes the
1.53 deraadt 200: date and time to be set incorrectly after a reboot in 1998).
201: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/clock.patch>
1.72 deraadt 202: A source code patch file is available</a> plus replacement installation
1.53 deraadt 203: kernels for the 2.2 release at
204: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/bsd.NFS>bsd.NFS</a>,
205: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/bsd>bsd</a>,
206: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/bsd.rz0>bsd.rz0</a>.
1.66 deraadt 207: <p>
1.72 deraadt 208: <li><font color=#009000><strong>FUNCTIONALITY FIX</strong></font><br>
209: X11 support for the 3min and 3maxplus machines was broken
1.53 deraadt 210: due to a kernel bug.
211: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2/pmax/fb.patch>
212: A source code patch is available</a>.
1.66 deraadt 213: <p>
1.72 deraadt 214: <li><font color=#009000><strong>SECURITY FIX</strong></font><br>
215: A security problem in the shared library linker <strong>ld.so</strong> requires that
1.59 deraadt 216: you replace it with a new binary.
217: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2//pmax/ld.so>
1.72 deraadt 218: The replacement binary is here</a>.
1.39 deraadt 219: <p>
1.25 deraadt 220: </ul>
1.65 deraadt 221: <a name=arc></a>
1.67 deraadt 222: <li><h3><font color=#e00000>arc</font></h3>
1.59 deraadt 223: <ul>
1.72 deraadt 224: <li><font color=#009000><strong>SECURITY FIX</strong></font><br>
225: A security problem in the shared library linker <strong>ld.so</strong> requires
226: that you replace it with a new binary.
1.59 deraadt 227: <a href=ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.2//pmax/ld.so>
1.72 deraadt 228: The replacement binary is here</a>.
1.69 deraadt 229: <p>
1.59 deraadt 230: </ul>
1.67 deraadt 231: <li><h3><font color=#e00000>alpha</font></h3>
1.56 deraadt 232: <p>
233: <ul>
234: <li>No problems identified yet.
235: <p>
236: </ul>
1.67 deraadt 237: <li><h3><font color=#e00000>hp300</font></h3>
1.56 deraadt 238: <p>
239: <ul>
240: <li>No problems identified yet.
241: <p>
242: </ul>
1.67 deraadt 243: <li><h3><font color=#e00000>mvme68k</font></h3>
1.25 deraadt 244: <ul>
1.39 deraadt 245: <li>No problems identified yet.
246: <p>
1.25 deraadt 247: </ul>
248: </ul>
249: <br>
1.75 deraadt 250:
1.25 deraadt 251: <hr>
1.75 deraadt 252: <a href=errata21.html>For 2.1 errata, please refer here</a>.
1.2 deraadt 253: <hr>
254: <a href=orders.html><img src=back.gif border=0 alt=OpenBSD></a>
255: <a href=mailto:www@openbsd.org>www@openbsd.org</a>
1.78 ! deraadt 256: <br><small>$OpenBSD: errata.html,v 1.77 1998/02/19 13:49:00 deraadt Exp $</small>
1.2 deraadt 257:
258: </body>
259: </html>