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