ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
(Generate patch)

Comparing trunk/UPDATING (file contents):
Revision 6983 by laffer1, Fri Mar 20 00:53:47 2015 UTC vs.
Revision 9173 by laffer1, Sat Oct 15 13:48:05 2016 UTC

# Line 1 | Line 1
1   Updating Information for MidnightBSD users.
2  
3 + 20161015:
4 +        libarchive 3.2.1
5 +
6 + 20161013:
7 +        Sync ZFS code with Illuminos/FreeBSD 9.2. Added support for
8 +        feature flags, pool version 5000. This also includes some
9 +        bug fixes and performance optimizations.
10 +
11 + 20160925:
12 +        Import NetBSD vis(3) and unvis(3) as well as mtree.
13 +
14 +        one-true-awk 20121220
15 +
16 +        inetd now honors kern.ipc.somaxconn value.
17 +
18 +        netmap synced with FreeBSD 9.2
19 +
20 +        linuxolator now has dtrace probes.
21 +
22 +        bsdgrep now correctly handles -m to exclude only one file.
23 +
24 +        UFS file systems can now be resized in read-write mode due to the new
25 +        write suspension feature.
26 +
27 +        Basic support added for Intel Raid Recover Technology.
28 +
29 +        GMIRROR & GRAID3 now mark volumes clean on shutdown earlier to help with ZFS issues.
30 +
31 +        Highpoint hpt27xx now in GENERIC kernel.
32 +
33 + 20160923:
34 +        Security update for OpenSSL
35 +
36 +        A malicious client can send an excessively large OCSP Status Request extension.
37 +        If that client continually requests renegotiation, sending a large OCSP Status
38 +        Request extension each time, then there will be unbounded memory growth on the
39 +        server. [CVE-2016-6304]
40 +
41 +        An overflow can occur in MDC2_Update() either if called directly or through
42 +        the EVP_DigestUpdate() function using MDC2. If an attacker is able to supply
43 +        very large amounts of input data after a previous call to EVP_EncryptUpdate()
44 +        with a partial block then a length check can overflow resulting in a heap
45 +        corruption. [CVE-2016-6303]
46 +
47 +        If a server uses SHA512 for TLS session ticket HMAC it is vulnerable to a
48 +        DoS attack where a malformed ticket will result in an OOB read which will
49 +        ultimately crash. [CVE-2016-6302]
50 +
51 +        The function BN_bn2dec() does not check the return value of BN_div_word().
52 +        This can cause an OOB write if an application uses this function with an
53 +        overly large BIGNUM. This could be a problem if an overly large certificate
54 +        or CRL is printed out from an untrusted source. TLS is not affected because
55 +        record limits will reject an oversized certificate before it is parsed.
56 +        [CVE-2016-2182]
57 +
58 +        The function TS_OBJ_print_bio() misuses OBJ_obj2txt(): the return value is
59 +        the total length the OID text representation would use and not the amount
60 +        of data written. This will result in OOB reads when large OIDs are presented.
61 +        [CVE-2016-2180]
62 +
63 +        Some calculations of limits in OpenSSL have used undefined pointer arithmetic.
64 +        This could cause problems with some malloc implementations. [CVE-2016-2177]
65 +
66 +        Operations in the DSA signing algorithm should run in constant time in order to
67 +        avoid side channel attacks. A flaw in the OpenSSL DSA implementation means that
68 +        a non-constant time codepath is followed for certain operations. [CVE-2016-2178]
69 +
70 +        In a DTLS connection where handshake messages are delivered out-of-order those
71 +        messages that OpenSSL is not yet ready to process will be buffered for later
72 +        use. Under certain circumstances, a flaw in the logic means that those messages
73 +        do not get removed from the buffer even though the handshake has been completed.
74 +        An attacker could force up to approx. 15 messages to remain in the buffer when
75 +        they are no longer required. These messages will be cleared when the DTLS
76 +        connection is closed. The default maximum size for a message is 100k. Therefore
77 +        the attacker could force an additional 1500k to be consumed per connection.
78 +        [CVE-2016-2179]
79 +
80 +        A flaw in the DTLS replay attack protection mechanism means that records that
81 +        arrive for future epochs update the replay protection "window" before the MAC
82 +        for the record has been validated. This could be exploited by an attacker by
83 +        sending a record for the next epoch (which does not have to decrypt or have a
84 +        valid MAC), with a very large sequence number. This means that all subsequent
85 +        legitimate packets are dropped causing a denial of service for a specific
86 +        DTLS connection. [CVE-2016-2181]
87 +
88 +        In OpenSSL 1.0.2 and earlier some missing message length checks can result in
89 +        OOB reads of up to 2 bytes beyond an allocated buffer. There is a theoretical
90 +        DoS risk but this has not been observed in practice on common platforms.
91 +        [CVE-2016-6306]
92 +
93 + 20160918:
94 +        With the addition of auditdistd(8), a new auditdistd user is now
95 +        depended on during installworld.  "mergemaster -p" can be used to add
96 +        the user prior to installworld.
97 +
98 +        The VFS KBI was changed with the merge of several nullfs
99 +        optimizations and fixes.  All filesystem modules must be
100 +        recompiled.
101 +
102 + 20160916:
103 +        The random(4) support for the VIA hardware random number
104 +        generator (`PADLOCK') is no longer enabled unconditionally.
105 +        Add the PADLOCK_RNG option in the custom kernel config if
106 +        needed.  The GENERIC kernels on i386 and amd64 do include the
107 +        option, so the change only affects the custom kernel
108 +        configurations.
109 +
110 +        A new version of ZFS (pool version 5000) has been merged.
111 +        Starting with this version the old system of ZFS pool versioning
112 +        is superseded by "feature flags". This concept enables forward
113 +        compatibility against certain future changes in functionality of ZFS
114 +        pools. The first two read-only compatible "feature flags" for ZFS
115 +        pools are "com.delphix:async_destroy" and "com.delphix:empty_bpobj".
116 +        For more information read the new zpool-features(7) manual page.
117 +        Please refer to the "ZFS notes" section of this file for information
118 +        on upgrading boot ZFS pools.
119 +
120 + 20160906:
121 +        Add support for the MosChip MCS9904 four serial ports
122 +        controller.
123 +
124 +        Add support for walltimestamp in DTrace.
125 +
126 +        Various gdb improvments.
127 +
128 +        ZFS
129 +        Import the zio nop-write improvement from Illumos. To reduce I/O,
130 +        nop-write omits overwriting data if the checksum (cryptographically
131 +        secure) of new data matches the checksum of existing data.
132 +        It also saves space if snapshots are in use.
133 +
134 +        It currently works only on datasets with enabled compression, disabled
135 +        deduplication and sha256 checksums.
136 +
137 +        Add loader(8) tunable to enable/disable nopwrite functionality:
138 +        vfs.zfs.nopwrite_enabled
139 +
140 +        Introduce a new dataset aclmode setting "restricted" to protect ACL's
141 +        being destroyed or corrupted by a drive-by chmod.
142 +
143 +        New loader-only tunables:
144 +        vfs.zfs.sync_pass_deferred_free
145 +        vfs.zfs.sync_pass_dont_compress
146 +        vfs.zfs.sync_pass_rewrite
147 +
148 +        chkgrp(8) add support for q flag
149 +
150 +        Fix problem with the Samsung 840 PRO series SSD detection.
151 +        The device reports support for SATA Asynchronous Notification in its
152 +        IDENTIFY data, but returns error on attempt to enable that feature.
153 +        Make SATA XPT of CAM only report these errors, but not fail the device.
154 +
155 + 20160905:
156 +        Add a resource limit for the total number of kqueues
157 +        available to the user. Kqueue now saves the ucred of the
158 +        allocating thread, to correctly decrement the counter on close.
159 +        Based on FreeBSD SVN 256849
160 +
161 +        Import netcat from OpenBSD 5.2
162 +
163 + 20160904:
164 +        Introduced experimental TCP sysctls starting with
165 +        net.inet.tcp.experimental.initcwnd10
166 +
167 + 20160814:
168 +        switched default desktop port to midnightbsd-desktop. This gives us flexibility to change it
169 +        in the release after the fact.
170 +
171 +        tzdata 2016a
172 +
173 + 20160811:
174 +        libdispatch 210
175 +
176 +        Added quirks for several models of SSDs to enable advanced format/4k mode. List includes
177 +        Samsung 830, 840, 850 and 750 series, Intel x25 and a few Toshiba models. Also
178 +        added WD Red drives.
179 +
180 +        Updated list of pci device vendors.
181 +
182 +        Updated list of usb devices.
183 +
184 + 20160807:
185 +        Implement several changes to libmport to fix some memory corruption issues.
186 +
187 + 20160806:
188 +        sqlite3 3.13.0
189 +
190 + 20160805:
191 +        Merged fixes for libmport that improve error handling when installing packages. Also
192 +        support mkdir -p like behavior for plist entries.
193 +
194 + 20160531:
195 +        Fix four security issues with MidnightBSD.
196 +
197 +        The implementation of TIOCGSERIAL ioctl(2) does not clear the output
198 +        struct before sending to userland in the linux emulation layer.
199 +
200 +        The compat 43 stat(2) system call exposes kernel stack to userland.
201 +
202 +        libarchive - CVE-2015-2304 and CVE-2013-0211 fix issues with
203 +        cpio directory traversal and an integer signedness error in the archive
204 +        write zip data routine.
205 +
206 +
207 + 20160528:
208 +        Fixed minor issues with mined(1) and msearch(1).
209 +
210 + 20160526:
211 +        Add support for Ivybridge and Haswell Intel CPUs to hwpmc(4).
212 +
213 +        Fix libpmc(3) build with clang compiler.
214 +
215 + 20160519:
216 +        Kernel Security updates
217 +
218 +        atkbd(4) - Incorrect signedness comparison in the ioctl(2) handler allows a malicious
219 +        local user to overwrite a portion of the kernel memory.
220 +
221 +        Incorrect argument handling in sendmsg(2)
222 +
223 +        Incorrect argument handling in the socket code allows malicious local
224 +        user to overwrite large portion of the kernel memory.
225 +
226 + 20160505:
227 +        OpenSSL security patch
228 +
229 +        The padding check in AES-NI CBC MAC was rewritten to be in constant time
230 +        by making sure that always the same bytes are read and compared against
231 +        either the MAC or padding bytes. But it no longer checked that there was
232 +        enough data to have both the MAC and padding bytes. [CVE-2016-2107]
233 +
234 +        An overflow can occur in the EVP_EncodeUpdate() function which is used for
235 +        Base64 encoding of binary data. [CVE-2016-2105]
236 +
237 +        An overflow can occur in the EVP_EncryptUpdate() function, however it is
238 +        believed that there can be no overflows in internal code due to this problem.
239 +        [CVE-2016-2106]
240 +
241 +        When ASN.1 data is read from a BIO using functions such as d2i_CMS_bio()
242 +        a short invalid encoding can casuse allocation of large amounts of memory
243 +        potentially consuming excessive resources or exhausting memory.
244 +        [CVE-2016-2109]
245 +
246 + 20160412:
247 +        0.8 stable branch created. Continue development as 0.9.
248 +
249 +        Fix several issues with wait6 system call addition.
250 +
251 + 20160409:
252 +        libmport now supports two new plist formats:
253 +        @(root,wheel,4775) myfile
254 +        @dir(root,wheel,775) mydir
255 +
256 +        On delete, absoluate paths are now handled properly.
257 +
258 + 20160317:
259 +        OpenSSH doesn't have the luck of the Irish.
260 +
261 +        Fix a security issue with OpenSSH X11 forwarding that can allow an attacker
262 +        run shell commands on the call to xauth.
263 +
264 +        Incorrect argument validation in sysarch(2)
265 +
266 +        A special combination of sysarch(2) arguments, specify a request to
267 +        uninstall a set of descriptors from the LDT.  The start descriptor
268 +        is cleared and the number of descriptors are provided.  Due to invalid
269 +        use of a signed intermediate value in the bounds checking during argument
270 +        validity verification, unbound zero'ing of the process LDT and adjacent
271 +        memory can be initiated from usermode.
272 +
273 +        Patch obtained from FreeBSD.
274 +
275 + 20160229:
276 +        top now displays information on ZFS arc cache.
277 +
278 + 20160228:
279 +        llvm + clang 3.3 is now the default compiler in MidnightBSD.
280 +
281 + 20160222:
282 +        Introduce pipe2 to linux emulation layer.
283 +
284 + 20160114:
285 +        OpenSSL
286 +
287 +        The signature verification routines will crash with a NULL pointer dereference
288 +        if presented with an ASN.1 signature using the RSA PSS algorithm and absent
289 +        mask generation function parameter. [CVE-2015-3194]
290 +
291 +        When presented with a malformed X509_ATTRIBUTE structure, OpenSSL will leak
292 +        memory. [CVE-2015-3195]
293 +
294 +        If PSK identity hints are received by a multi-threaded client then the values
295 +        are incorrectly updated in the parent SSL_CTX structure.  [CVE-2015-3196]
296 +
297 +        Fix security on bsnmpd configuration file during installation.
298 +
299 +        TCP MD5 signature denial of service
300 +
301 +        A programming error in processing a TCP connection with both TCP_MD5SIG
302 +        and TCP_NOOPT socket options may lead to kernel crash.
303 +
304 +        SCTP
305 +
306 +        A lack of proper input checks in the ICMPv6 processing in the SCTP stack
307 +        can lead to either a failed kernel assertion or to a NULL pointer
308 +        dereference.  In either case, a kernel panic will follow.
309 +
310 + 20160102:
311 +        Happy New Year
312 +
313 + 20151101:
314 +        Increase kern.ipc.somaxconn default to 256.
315 +
316 + 20151017:
317 +        Add initial statistics api to libmport and a driver to print
318 +        it in mport(1).
319 +
320 + 20151002:
321 +        Revised rpcbind(8) patch to fix issues with NIS
322 +
323 + 20150930:
324 +        In rpcbind(8), netbuf structures are copied directly, which would result in
325 +        two netbuf structures that reference to one shared address buffer.  When one
326 +        of the two netbuf structures is freed, access to the other netbuf structure
327 +        would result in an undefined result that may crash the rpcbind(8) daemon.
328 +
329 + 20150926:
330 +        libmport now supports @preexec, @postexec, @preunexec and @postunexec
331 +        to replace @exec and @unexec.  
332 +
333 +        pre exec runs afer pre-install scripts but before actual installation
334 +
335 +        post exec runs after install but before post install scripts and
336 +        pkg message.
337 +
338 +        pre unexec runs before pre uninstall scripts
339 +
340 +        post unexec runs before de-install scripts and after file removal.
341 +
342 + 20150917:
343 +        Fix kqueue write events for files > 2GB
344 +
345 + 20150825:
346 +        kernel:
347 +        fix a security issue on amd64 where the GS segment CPU register can be changed via
348 +        userland value in kernel mode by using an IRET with #SS or #NP exceptions.
349 +
350 +        openssh:
351 +        A programming error in the privileged monitor process of the sshd(8)
352 +        service may allow the username of an already-authenticated user to be
353 +        overwritten by the unprivileged child process.
354 +
355 +        A use-after-free error in the privileged monitor process of he sshd(8)
356 +        service may be deterministically triggered by the actions of a
357 +        compromised unprivileged child process.
358 +
359 +        A use-after-free error in the session multiplexing code in the sshd(8)
360 +        service may result in unintended termination of the connection.
361 +
362 + 20150818:
363 +        expat security fix
364 +
365 + 20150815:
366 +        libc changes:
367 +        setmode(3) now returns errno consistently on error.
368 +        libc will compile without error using clang
369 +
370 + 20150814:
371 +        wait6 system call added.
372 +
373 +        date(1) now handles non numeric numbers passed to -r
374 +        like GNU coreutils for improved compatibility.
375 +
376 + 20150811:
377 +        ata(4) AMD Hudson2 SATA controller support.
378 +        Intel lynxpoint SATA.
379 +
380 +        Fix some const warnings when building several device drivers
381 +        with llvm/clang.
382 +
383 +        Sync cas(4) with FreeBSD 9-stable.
384 +
385 +        Fix some minor issues with ath(4).
386 +
387 + 20150809:
388 +        xz 5.0.8
389 +
390 + 20150808:
391 +        libmport now logs installation and removal of packages to syslog.
392 +
393 + 20150805:
394 +        routed - fix a potential security issue where traffic from outside
395 +        the network can disrupt routing.
396 +
397 +        bsd patch - fix a bug with ed(1) scripts allowing unsanitized input
398 +        to run.
399 +
400 + 20150802:
401 +        jansson 2.7 library added. (libjansson is a JSON library in C)
402 +
403 + 20150728:
404 +        Heimdal 1.5.2 (kerberos implementation)
405 +
406 +        OpenSSL 1.0.1o
407 +
408 +        cpucontrol(8) now supports VIA CPUs. Synced with FreeBSD 9.2.
409 +
410 +        TCP Resassemly resource exhaustion bug:
411 +        There is a mistake with the introduction of VNET, which converted the
412 +        global limit on the number of segments that could belong to reassembly
413 +        queues into a per-VNET limit.  Because mbufs are allocated from a
414 +        global pool, in the presence of a sufficient number of VNETs, the
415 +        total number of mbufs attached to reassembly queues can grow to the
416 +        total number of mbufs in the system, at which point all network
417 +        traffic would cease.
418 +        Obtained from: FreeBSD 8
419 +
420 +        OpenSSH
421 +
422 +        Fix two security vulnerabilities:
423 +        OpenSSH clients does not correctly verify DNS SSHFP records when a server
424 +        offers a certificate. [CVE-2014-2653]
425 +
426 +        OpenSSH servers which are configured to allow password authentication
427 +        using PAM (default) would allow many password attempts. A bug allows
428 +        MaxAuthTries to be bypassed. [CVE-2015-5600]
429 +
430 +
431 +        Switch to bsdpatch (from FreeBSD & OpenBSD)
432 +
433 + 20150726:
434 +        BSD Sort updated
435 +
436 +        sqlite 3.8.10.2
437 +
438 + 20150725:
439 +        Import reallocarray from OpenBSD's libc.  
440 +
441 +        The reallocarray() function is similar to realloc() except it operates on
442 +        nmemb members of size size and checks for integer overflow in the
443 +        calculation nmemb * size.
444 +
445 + 20150722:
446 +        Fix a bug where TCP connections transitioning to LAST_ACK
447 +        state can get stuck. This can result in a denial of service.
448 +
449 + 20150715:
450 +        libmport now supports @shell and @sample in plists. This means that
451 +        a shell port can automatically add an entry to /etc/shells and remove
452 +        it upon uninstallation. For sample files, a copy is made without the
453 +        .sample extension if one does not exist and it is removed automatically
454 +        only if the md5 hash of the two files is the same.
455 +
456 + 20150709:
457 +        flex 2.5.39
458 +
459 + 20150702:
460 +        ZFS in MidnightBSD now supports lz4 compression. You can enable it
461 +        with zfs set compression=lz4 pool/path.
462 +
463 +        Verify it's working with
464 +        zfs get compressratio pool/path
465 +        du -h -s *
466 +
467 +        Note you must write new data when turning on compression to see
468 +        changes. Existing files are not compressed.
469 +
470 +        Note: While we used the same basic implementation of lz4 that
471 +        FreeBSD and OpenZFS uses, we did not yet implement features support
472 +        and the zfs version still reports 28. This may come in a future update
473 +        to ZFS.
474 +
475 + 20150621:
476 +        libmport now automatically stops services when deleting packages.
477 +
478 +        The package must have installed an rc.d script in /usr/local/etc
479 +        for this to work. This is equivalent to running service <name> onestop
480 +
481 + 20150618:
482 +        Sendmail
483 +
484 +        With the recent changes to OpenSSL to block 512 bit certificates,
485 +        sendmail can't connect with TLS to some servers.
486 +
487 +        Increase the default size to 1024 bit for client connections to
488 +        match the server configuration.
489 +
490 +        ZFS
491 +
492 +        Added ZFS TRIM support which is enabled by default. To disable
493 +        ZFS TRIM support set vfs.zfs.trim.enabled=0 in loader.conf.
494 +
495 +        Creating new ZFS pools and adding new devices to existing pools
496 +        first performs a full device level TRIM which can take a significant
497 +        amount of time. The sysctl vfs.zfs.vdev.trim_on_init can be set to 0
498 +        to disable this behaviour.
499 +
500 +        ZFS TRIM requires the underlying device support BIO_DELETE which
501 +        is currently provided by methods such as ATA TRIM and SCSI UNMAP
502 +        via CAM, which are typically supported by SSD's.
503 +
504 +        Stats for ZFS TRIM can be monitored by looking at the sysctl's
505 +        under kstat.zfs.misc.zio_trim.
506 +
507 +        rc.d
508 +
509 +        Reworked handling of cleanvar and FILESYSTEMS so that FILESYSTEMS
510 +        implies everything is mounted and ready to go.
511 +
512 +        Changed how ip6addressctl maps IPv6 on startup.
513 +
514 + 20150613:
515 +        tzdata 2015d
516 +
517 + 20150612:
518 +        OpenSSL 0.9.8zg
519 +
520 + 20150419:
521 +        MidnightBSD 0.6 stable branch created. Continue 0.7
522 +        development.
523 +
524 + 20150418:
525 +        sqlite 3.8.9
526 +
527 + 20150407:
528 +        Fix two security vulnerabilities:
529 +
530 +        The previous fix for IGMP had an overflow issue. This has been corrected.
531 +
532 +        ipv6: The Neighbor Discover Protocol allows a local router to advertise a
533 +        suggested Current Hop Limit value of a link, which will replace
534 +        Current Hop Limit on an interface connected to the link on the MidnightBSD
535 +        system.
536 +
537   20150319:
538          OpenSSL 0.9.8.zf
539  
540          mksh R50e
541 +
542 +        Apple mDNSResponder 561.1.1
543  
544   20150306:
545          Upgrade OpenSSL to 0.9.8ze

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines