Annotation of www/errata23.html, Revision 1.86
1.85 bentley 1: <!doctype html>
2: <html lang=en id=errata>
3: <meta charset=utf-8>
4:
1.75 tj 5: <title>OpenBSD 2.3 Errata</title>
1.1 deraadt 6: <meta name="description" content="the OpenBSD CD errata page">
1.74 deraadt 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.77 tb 9: <link rel="canonical" href="https://www.openbsd.org/errata23.html">
1.1 deraadt 10:
1.66 deraadt 11: <!--
12: IMPORTANT REMINDER
13: IF YOU ADD A NEW ERRATUM, MAIL THE PATCH TO TECH AND ANNOUNCE
14: -->
15:
1.1 deraadt 16:
1.85 bentley 17: <h2 id=OpenBSD>
1.74 deraadt 18: <a href="index.html">
1.85 bentley 19: <i>Open</i><b>BSD</b></a>
20: 2.3 Errata
1.75 tj 21: </h2>
1.74 deraadt 22: <hr>
1.1 deraadt 23:
1.26 deraadt 24: For errata on a certain release, click below:<br>
1.25 deraadt 25: <a href="errata21.html">2.1</a>,
26: <a href="errata22.html">2.2</a>,
27: <a href="errata24.html">2.4</a>,
28: <a href="errata25.html">2.5</a>,
29: <a href="errata26.html">2.6</a>,
30: <a href="errata27.html">2.7</a>,
31: <a href="errata28.html">2.8</a>,
32: <a href="errata29.html">2.9</a>,
33: <a href="errata30.html">3.0</a>,
34: <a href="errata31.html">3.1</a>,
1.29 deraadt 35: <a href="errata32.html">3.2</a>,
1.30 david 36: <a href="errata33.html">3.3</a>,
1.34 david 37: <a href="errata34.html">3.4</a>,
1.35 miod 38: <a href="errata35.html">3.5</a>,
1.36 deraadt 39: <a href="errata36.html">3.6</a>,
1.60 deraadt 40: <a href="errata37.html">3.7</a>,
1.45 deraadt 41: <br>
1.38 deraadt 42: <a href="errata38.html">3.8</a>,
1.39 deraadt 43: <a href="errata39.html">3.9</a>,
1.40 deraadt 44: <a href="errata40.html">4.0</a>,
1.42 merdely 45: <a href="errata41.html">4.1</a>,
1.44 deraadt 46: <a href="errata42.html">4.2</a>,
1.45 deraadt 47: <a href="errata43.html">4.3</a>,
1.47 deraadt 48: <a href="errata44.html">4.4</a>,
1.48 deraadt 49: <a href="errata45.html">4.5</a>,
1.49 deraadt 50: <a href="errata46.html">4.6</a>,
1.51 deraadt 51: <a href="errata47.html">4.7</a>,
1.52 miod 52: <a href="errata48.html">4.8</a>,
1.53 nick 53: <a href="errata49.html">4.9</a>,
1.54 sthen 54: <a href="errata50.html">5.0</a>,
1.55 deraadt 55: <a href="errata51.html">5.1</a>,
1.56 deraadt 56: <a href="errata52.html">5.2</a>,
1.57 deraadt 57: <a href="errata53.html">5.3</a>,
1.60 deraadt 58: <br>
1.58 deraadt 59: <a href="errata54.html">5.4</a>,
1.65 jsg 60: <a href="errata55.html">5.5</a>,
1.69 deraadt 61: <a href="errata56.html">5.6</a>,
1.72 deraadt 62: <a href="errata57.html">5.7</a>,
1.73 deraadt 63: <a href="errata58.html">5.8</a>,
1.76 deraadt 64: <a href="errata59.html">5.9</a>,
1.79 tj 65: <a href="errata60.html">6.0</a>,
1.81 deraadt 66: <a href="errata61.html">6.1</a>,
1.82 deraadt 67: <a href="errata62.html">6.2</a>,
1.83 deraadt 68: <a href="errata63.html">6.3</a>,
1.84 deraadt 69: <a href="errata64.html">6.4</a>,
70: <a href="errata65.html">6.5</a>.
1.1 deraadt 71: <hr>
72:
1.14 ericj 73: <p>
1.79 tj 74: Patches for the OpenBSD base system are distributed as unified diffs.
75: Each patch contains usage instructions.
76: All the following patches are also available in one
77: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3.tar.gz">tar.gz file</a>
78: for convenience.
1.61 deraadt 79:
80: <p>
1.79 tj 81: Patches for supported releases are also incorporated into the
1.80 tj 82: <a href="stable.html">-stable branch</a>.
1.14 ericj 83:
1.1 deraadt 84: <hr>
85:
86: <ul>
1.86 ! deraadt 87:
1.67 bentley 88: <li id="bootpd">
1.86 ! deraadt 89: <strong>001: SECURITY FIX</strong>
1.64 deraadt 90: <i>All architectures</i><br>
1.5 deraadt 91: A remotely exploitable problem exists in bootpd(8). bootpd is disabled
92: by default, but some people may actually be using it.
1.78 tb 93: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/bootpd.patch">
1.61 deraadt 94: A source code patch exists which remedies this problem.</a>
95: This is the second version of the patch.
1.5 deraadt 96: <p>
1.86 ! deraadt 97:
1.67 bentley 98: <li id="tcpfix">
1.86 ! deraadt 99: <strong>002: SECURITY FIX</strong>
1.64 deraadt 100: <i>All architectures</i><br>
1.2 deraadt 101: A remote machine lockup problem exists in the TCP decoding code.
1.78 tb 102: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/tcpfix.patch">
1.2 deraadt 103: A source code patch exists which remedies this problem.</a>
104: <p>
1.86 ! deraadt 105:
1.67 bentley 106: <li id="atapi">
1.86 ! deraadt 107: <strong>003: HARDWARE SUPPORT</strong>
1.64 deraadt 108: <i>All architectures</i><br>
1.1 deraadt 109: Some ATAPI cdroms which do not support the full mandatory command set,
110: (e.g. ATAPI_READ_CD_CAPACITY) do not work with the acd(4) driver.
111: A patch is
1.78 tb 112: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/acd.patch">
1.1 deraadt 113: available here.</a>
114: <p>
1.86 ! deraadt 115:
1.67 bentley 116: <li id="chpass">
1.86 ! deraadt 117: <strong>004: SECURITY FIX</strong>
1.64 deraadt 118: <i>All architectures</i><br>
1.1 deraadt 119: Chpass(1) has a file descriptor leak which allows an
120: attacker to modify /etc/master.passwd.
1.78 tb 121: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/chpass.patch">
1.1 deraadt 122: A source code patch exists which remedies this problem.</a>
123: <p>
1.86 ! deraadt 124:
1.67 bentley 125: <li id="resid">
1.86 ! deraadt 126: <strong>005: RELIABILITY FIX</strong>
1.64 deraadt 127: <i>All architectures</i><br>
1.43 tobias 128: Calling readv(2) with iov_len < 0 or > INT_MAX would result in a
1.1 deraadt 129: kernel panic. This is the third revision of this patch.
1.78 tb 130: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/resid.patch">
1.1 deraadt 131: A source code patch exists which remedies this problem.</a>
132: <p>
1.86 ! deraadt 133:
1.67 bentley 134: <li id="inetd">
1.86 ! deraadt 135: <strong>006: SECURITY FIX</strong>
1.64 deraadt 136: <i>All architectures</i><br>
1.1 deraadt 137: Inetd had a file descriptor leak. A patch is
1.78 tb 138: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/inetd.patch">
1.1 deraadt 139: available here.</a>
140: <p>
1.86 ! deraadt 141:
1.67 bentley 142: <li id="unionfs">
1.86 ! deraadt 143: <strong>007: BUG FIX</strong>
1.64 deraadt 144: <i>All architectures</i><br>
1.1 deraadt 145: As shipped, unionfs had some serious problems.
1.78 tb 146: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/unionfs.patch">
1.1 deraadt 147: A patch is available to solve this</a>.
148: <p>
1.86 ! deraadt 149:
1.67 bentley 150: <li id="fdalloc">
1.86 ! deraadt 151: <strong>008: SECURITY FIX</strong>
1.64 deraadt 152: <i>All architectures</i><br>
1.1 deraadt 153: Some non-allocated file descriptors have implied uses according to
154: system libraries, and hence setuid and setgid processes should not
155: be executed with these descriptors unallocated. A patch which forces
156: setuid and setgid processes to have some descriptors in fd slots
1.58 deraadt 157: 0, 1, and 2 is
1.78 tb 158: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/fdalloc.patch">
1.1 deraadt 159: available here.</a>
160: <p>
1.86 ! deraadt 161:
1.67 bentley 162: <li id="resolver">
1.86 ! deraadt 163: <strong>009: SECURITY FIX</strong>
1.64 deraadt 164: <i>All architectures</i><br>
1.3 deraadt 165: A benign looking buffer overflow in the resolver routines was re-introduced
166: accidentally. The previously fixed behaviour is more correct. A patch
167: to fix this is
1.78 tb 168: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/resolver.patch">
1.3 deraadt 169: available here.</a>
170: <p>
1.86 ! deraadt 171:
1.67 bentley 172: <li id="xlib">
1.86 ! deraadt 173: <strong>010: SECURITY FIX</strong>
1.64 deraadt 174: <i>All architectures</i><br>
1.1 deraadt 175: Vulnerabilities have been found in the X11, Xt, Xaw and Xmu
176: libraries. These affect xterm and all other setuid-root programs that
177: use these libraries. The problems are associated with buffer overflows
178: in code that processes user-supplied data. The Xt library problems
179: include those fixed in TOG's recent public patch 3 for X11R6.3. All
180: releases of XFree86 up to and including 3.3.2 patch 1 and the version
181: distributed with OpenBSD are vulnerable to some or all of these
182: problems.
183: These problems are fixed in XFree86 patch 2.
1.78 tb 184: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/XFree86-3.3.2.2.patch">
1.1 deraadt 185: The 2nd source patch</a> for these problems, specifically adapted to the
186: OpenBSD 2.3 X11 tree, is available now.
187: <p>
1.86 ! deraadt 188:
1.67 bentley 189: <li id="kill">
1.86 ! deraadt 190: <strong>011: SECURITY FIX</strong>
1.64 deraadt 191: <i>All architectures</i><br>
1.1 deraadt 192: The kill(2) system call previously would permit a large set of signals to
193: be delivered to setuid or setgid processes. If such processes were using
194: those signals in dubious ways, this could have resulted in security
195: problems of various kinds.
1.78 tb 196: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/kill.patch">
1.1 deraadt 197: The fourth revision of a source code patch which solves the problem is
198: available.</a>
199: <p>
1.86 ! deraadt 200:
1.67 bentley 201: <li id="immutable">
1.86 ! deraadt 202: <strong>012: SECURITY FIX</strong>
1.64 deraadt 203: <i>All architectures</i><br>
1.1 deraadt 204: A possible new security problem exists if you rely on securelevels and
205: immutable or append-only files or character devices. The fix does not
206: permit mmap'ing of immutable or append-only files which are otherwise
1.17 pvalchev 207: writable, as the VM system will bypass the meaning of the file flags
1.1 deraadt 208: when writes happen to the file.
1.78 tb 209: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/immutable.patch">
1.1 deraadt 210: A source code patch exists which remedies this problem.</a>
211: <p>
1.86 ! deraadt 212:
1.67 bentley 213: <li id="ipsec">
1.86 ! deraadt 214: <strong>013: SECURITY FIX</strong>
1.64 deraadt 215: <i>All architectures</i><br>
1.1 deraadt 216: If IPSEC communication is attempted by starting photurisd(8) (which is
217: disabled by default), a system crash may be evoked from remote if
218: an attacker uses some classes of invalid packets.
1.78 tb 219: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/ipsec.patch">
1.1 deraadt 220: A source code patch exists which remedies this problem.</a>
221: <p>
1.86 ! deraadt 222:
1.67 bentley 223: <li id="xterm-xaw">
1.86 ! deraadt 224: <strong>014: SECURITY FIX</strong>
1.64 deraadt 225: <i>All architectures</i><br>
1.1 deraadt 226: As stated in CERT advisory VB-98.04, there are buffer
1.85 bentley 227: overrun problems in <b>xterm</b> related to the input-Method,
1.1 deraadt 228: preeditType, and *Keymap resources. Additional buffer overruns exist in
1.85 bentley 229: the <b>Xaw</b> library related to the inputMethod and
1.1 deraadt 230: preeditType resources. The xterm(1) problem represents a security
231: vulnerability for any platform where xterm is installed setuid-root
232: (as is the case for all OpenBSD platforms). The Xaw problem represents
233: a security vulnerability for any setuid-root program that uses the Xaw
234: library (including xterm). Patch1 from XFree86 3.3.2 corrects
235: these problems.
1.78 tb 236: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/common/xterm-xaw.patch">
1.1 deraadt 237: We provide a version of this patch file specifically for the OpenBSD 2.3 tree</a>.
238: We also provide tar files which replace the xterm(1) binary and the libXaw
239: libraries on your system. These are expected to be extracted in
1.85 bentley 240: <b>/usr/X11R6</b> using the command
241: <b>"tar xvfpz Xawfix.tgz"</b>.
1.1 deraadt 242: The files are...
1.78 tb 243: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/i386/Xawfix.tgz">i386</a>,
244: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/alpha/Xawfix.tgz">alpha</a>,
245: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/mac68k/Xawfix.tgz">mac68k</a>,
246: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/mvme68k/Xawfix.tgz">
1.1 deraadt 247: mvme68k</a>,
1.78 tb 248: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/hp300/Xawfix.tgz">hp300</a>,
249: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/sparc/Xawfix.tgz">sparc</a>,
250: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/pmax/Xawfix.tgz">pmax</a>,
1.1 deraadt 251: and
1.78 tb 252: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/arc/Xawfix.tgz">arc</a>.
1.1 deraadt 253: <p>
1.86 ! deraadt 254:
1.67 bentley 255: <li id="pctr">
1.86 ! deraadt 256: <strong>015: RELIABILITY FIX</strong><br>
1.1 deraadt 257: The pctr(4) driver has bugs that permit any user to crash the machine,
258: if the CPU is not an Intel CPU. This problem has been properly fixed
259: since, but fixes are hard to apply to the 2.2 or 2.3 releases. To avoid
260: the problem, recompile your kernel without the pctr(4) device driver.
261: <p>
1.86 ! deraadt 262: <li><strong>016: CORRUPTED FILE</strong><br>
1.1 deraadt 263: The CD version of the precompiled ghostscript package is corrupted and
264: not installable. The correct file can be retrieved by FTP from:
1.78 tb 265: <a href="https://ftp.openbsd.org/pub/OpenBSD/2.3/packages/i386/ghostscript-5.10.tgz">
266: https://ftp.openbsd.org/pub/OpenBSD/2.3/packages/i386/ghostscript-5.10.tgz</a>.
1.1 deraadt 267: Its checksums (obtained with <i>cksum(1)</i>, <i>md5(1)</i> and
268: <i>sha1(1)</i> respectively) are:
269: <ul>
270: <li>725752890 3639338 ghostscript-5.10.tgz
271: <li>MD5 (ghostscript-5.10.tgz) = 3144ca814ad1965d671be2b7be3d3050
272: <li>SHA1 (ghostscript-5.10.tgz) = bd9374fa547ac0078d5207463d3b0a19d80d213c
273: </ul>
274: <p>
1.86 ! deraadt 275:
1.67 bentley 276: <li id="pcvt">
1.86 ! deraadt 277: <strong>017: RELIABILITY FIX</strong><br>
1.1 deraadt 278: The pcvt(4) console driver has a bug that can cause some keyboard
279: controllers to lock up when a key is pressed that toggles the status
280: of a keyboard LED (scroll lock, caps lock, etc). The problem is
281: generally intermittent and the keyboard can be "unlocked" by unplugging
282: and plugging it back in.
1.78 tb 283: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/i386/pcvt.patch">
1.1 deraadt 284: A source code patch exists which remedies this problem.</a>
285: <p>
1.86 ! deraadt 286: <li><strong>018: RELIABILITY FIX</strong><br>
1.1 deraadt 287: The 2.3 release does not run reliably on the sun4m LX/LC machines
288: (ie. Sparc Classic).
1.78 tb 289: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/sparc/iommureg.patch">
1.1 deraadt 290: A source code patch exists which remedies this problem.</a>
291: Two kernels which replace the ones in the release are also provided:
1.78 tb 292: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/sparc/bsd">bsd</a> and
293: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/sparc/bsd.scsi3">bsd.scsi3</a>.
1.1 deraadt 294: Other replacements for the 2.3 install tools are
1.78 tb 295: <a href="https://ftp.openbsd.org/pub/OpenBSD/patches/2.3/sparc">also available</a>.
1.1 deraadt 296: <p>
1.86 ! deraadt 297: <li><strong>019: MINOR INCOMPATIBILITY</strong><br>
1.58 deraadt 298: The AmigaOS patch
1.1 deraadt 299: <a href="http://us.aminet.net/pub/aminet/util/sys/PoolMem.lha">PoolMem</a>
300: improves AmigaOS memory handling tremendously, but confuses loadbsd, which
301: grabs less memory from the system than is available. To work around the
302: problem, be sure to execute
303: <pre>
304: PoolMem remove
305: </pre>
306: right before running loadbsd. The next release of loadbsd will probably be
307: PoolMem-aware.
308: <p>
1.86 ! deraadt 309: <li><strong>020: RELEASE WARNING</strong><br>
1.1 deraadt 310: The XFree86 binary set shipped on the CD and FTP site are not the
311: exact final set that we shipped for the other releases. A few minor
1.85 bentley 312: changes, mostly in <b>xdm(1)</b> configuration, were made
1.1 deraadt 313: after those binaries were made. Patches for this might come out later.
314: <p>
1.86 ! deraadt 315: <li><strong>021: X11 RELEASE ERROR</strong><br>
1.1 deraadt 316: The XFree86 binary set was linked with an older version of the C
317: library. To work around the problem, do the following as root.
318: <p>
1.31 henning 319: <pre>
320: cd /usr/lib/
321: ln -s libc.so.18.0 libc.so.17
322: </pre>
1.1 deraadt 323: <p>
1.86 ! deraadt 324: <li><strong>022: X11 RELEASE ERROR</strong><br>
1.1 deraadt 325: The X11R5 server used in this port does not understand the default
326: authorization types used by the X11R6 clients, which results in no
327: clients being able to connect to the server. To fix this
328: problem add the line below to /usr/X11R6/lib/X11/xdm/xdm-config.
329: <p>
1.31 henning 330: <pre>
331: DisplayManager._0.authName: MIT-MAGIC-COOKIE-1
332: </pre>
1.1 deraadt 333: <p>
1.86 ! deraadt 334: <li><strong>023: INSTALLATION PROCESS FLAW</strong><br>
1.1 deraadt 335: The pmax install does not correctly install the boot block.
336: To work around the problem, after the install program has finished, do
337: the following (assuming scsi id 0):
338: <p>
1.31 henning 339: <pre>
340: disklabel rz0 > /tmp/label
341: disklabel -R -B rz0 /tmp/label
342: </pre>
1.1 deraadt 343: <p>
1.86 ! deraadt 344: <li><strong>024: RELEASE WARNING</strong><br>
1.1 deraadt 345: The XFree86 binary set shipped on the CD and FTP site are not the
346: exact final set that we shipped for the other releases. A few minor
1.85 bentley 347: changes, mostly in <b>xdm(1)</b> configuration, were made
1.1 deraadt 348: after those binaries were made. Patches for this might come out later.
349: <p>
1.86 ! deraadt 350: <li><strong>025: X11 RELEASE ERROR</strong><br>
1.1 deraadt 351: The XFree86 binary set was linked with an older version of the C
352: library. To work around the problem, do the following as root.
353: <p>
1.31 henning 354: <pre>
355: cd /usr/lib/
356: ln -s libc.so.18.0 libc.so.17
357: </pre>
1.1 deraadt 358: <p>
1.86 ! deraadt 359: <li><strong>026: RELEASE WARNING</strong><br>
1.1 deraadt 360: When you start the install an upgrade option is advertised but
361: there really is no such option.
362: <p>
1.86 ! deraadt 363: <li><strong>027: RELEASE WARNING</strong><br>
1.1 deraadt 364: When you start the install an upgrade option is advertised but
365: there really is no such option.
366: <p>
1.86 ! deraadt 367: <li><strong>028: RELEASE WARNING</strong><br>
1.17 pvalchev 368: Unlabeled disks with weird geometries can panic the kernel.
1.1 deraadt 369: A fix will be made available when 2.3 is out.
370: <p>
1.86 ! deraadt 371: <li><strong>029: SECURITY FIX</strong><br>
1.1 deraadt 372: The powerpc release shipped on the OpenBSD 2.3 CD does not contain
373: two late fixes applied late in the release cycle. The
1.58 deraadt 374: <a href="errata22.html#rmjob">rmjob</a> and
1.28 naddy 375: <a href="errata22.html#uucpd">uucpd</a> patches should be applied to
1.1 deraadt 376: the system if those subsystems are used.
377: <p>
1.59 deraadt 378:
1.1 deraadt 379: </ul>
380:
1.68 tedu 381: <hr>