Software Update: NetBSD 5.0.2

Spread the love

NetBSD is a Unix-like operating system that originated in the 386BSD 0.1 branch. The first version, NetBSD 0.8, was released on April 21, 1993 and has been evolving ever since. Of the well-known BSD variants FreeBSD, OpenBSD and NetBSD, the latter can be run on most platforms. The developers have released version 5.0.2 of NetBSD some time ago, which is still worth mentioning for the Meuktracker. The corresponding announcement looks like this:

Announcing NetBSD 5.0.2

The NetBSD Project is pleased to announce that version 5.0.2 of the NetBSD operating system is now available. NetBSD 5.0.2 is the second critical/security update of the NetBSD 5.0 ​​release branch. It represents a selected subset of fixes deemed critical for security or stability reasons.

Please note that all fixes in critical/security updates (ie, NetBSD 5.0.1, 5.0.2, etc.) are cumulative, so the latest update contains all such fixes since the corresponding minor release. These fixes will also appear in future minor releases (ie, NetBSD 5.1, 5.2, etc.), together with other less-critical fixes and feature enhancements.

Complete source and binaries for NetBSD 5.0.2 are available for download at many sites around the world. A list of download sites providing FTP, HTTP, AnonCVS, SUP, and other services may be found at http://www.NetBSD.org/mirrors/. We encourage users who wish to install via ISO images to download via BitTorrent by using the torrent files supplied in the ISO image area. A list of hashes for the NetBSD 5.0.2 distribution has been signed with the well-connected PGP key for the NetBSD Security Officer: http://ftp.NetBSD.org/pub/NetBSD/security/hashes/NetBSD-5.0.2_hashes .asc

NetBSD is free. All of the code is under non-restrictive licenses, and may be used without paying royalties to anyone. Free support services are available through our mailing lists and website. Commercial support is available from a variety of sources. More information on NetBSD is available from our website.

Changes Between 5.0.1 and 5.0.2

The complete list of changes can be found in the CHANGES-5.0.2 file in the top level directory of the NetBSD 5.0.2 release tree. An abbreviated list is as follows:

Security Advisory Fixes

  • NetBSD-SA2010-002, OpenSSL TLS renegotiation man in the middle vulnerability
  • NetBSD-SA2010-003, azalia(4)/hdaudio(4) negative mixer index panic

Note: Advisories prior to NetBSD-SA2010-002 do not affect NetBSD 5.0.1.

Other Security Fixes:

  • openssl: Fix CVE-2009-4355.
  • Update BIND server and tools to 9.5.2-P2, fixing CVE-2009-0025, CVE-2009-4022, and CVE-2010-0097.
  • ntpd(8): Fix CVE-2009-3563.
  • expat: Fix SA36425 and CVE-2009-3560.
  • fts(3): Avoid possible integer overflow on really deep dirs, and subsequent collateral damage. Received from OpenBSD via US-CERT as VU #590371.
  • Fix a couple issues with POSIX message queues:
    • An invalid signal number passed to mq_notify() could crash the kernel on delivery — add a boundary check.
    • A user could set mq_maxmsg (the maximum number of messages in a queue) to a huge value on mq_open(O_CREAT) and later use up all kernel memory by mq_send() — add a sysctl’able limit which defaults to 16*mq_def_maxmsg.
  • arc4random(3): Keep arc4_i and arc4_j synchronized after a rekeying. This prevents accidentally ending up in a short ARC4 cycle.

kernel:

  • Fix a UFS quota crash.
  • Fix a case where setpriority(2) returned EACCES instead of EPERM. PR 41489.
  • Fix panic when calling ioctl(RNDADDDATA) on /dev/random.
  • Fix a memory leak that could occur when using clone(2).
  • Fix an issue where a softint could fire on the wrong CPU.
  • sigtimedwait(2): Fix a memory leak. PR 40750.

Networking:

  • IPv6: Clear cksum flags before any further processing, like ip_forward does. Many drivers set the UDP/TCP v4 flags even for v6 traffic and if the packet is encapsulated with gif, the IPv6 header would get corrupted by ip_output.
  • IPsec: Add a missing splx() call. PR 41701.
  • ifconfig(8): Fix the -vlanif and -carpdev keywords.
  • Update dhcpcd(8) to 4.0.14.

driver:

  • twa(4): Disable completely bogus DIAGNOSTIC check.
  • mfi(4): Fix a couple crashes.
  • path(4): Catch up to audio(4) device_t/softc split.

Platform specific:

  • x86 (amd64 and i386): ichlpcib(4): Fix watchdog code:
    • The timer bound constants are in tick, so convert period to tick before checking it against the bounds.
    • For ICH5 or older, fix code that would have always written a 0 period to the register.
  • amd64: Build kernel modules with -mno-red-zone to ensure kernel compatibility.
  • i386: Fix a panic while booting with an ACPI kernel on 790GX boards. PR 39671.
  • alpha: Fix some SMP issues. PRs 41106, 38335, and 42174.
  • hpcmips: Fix booting from PCMCIA on some slower machines. PRs 41791 and 41164.
  • macppc: pbms(4): Fix crash on attach, and fix aspect ratio of the trackpad on the geyser2 model.
  • sparc64: Improve disk I/O performance under heavy load.
  • vax: mfpr now works nicely on 4000/90.

miscellaneous:

  • libevent: Add -fno-strict-aliasing to work around problems with GCC 4 and strict-aliasing.
  • Update pkg_install to 20091008.
    • pkg_add(1): add support for checking license conditions before installation
    • pkg_delete(1): add -k option to skip over preserved packages.
    • WARNS=4 clean; fix some potential uses of uninitialized variables
    • Add a new command for pkg_admin(1): findbest. It takes one or more patterns and searches for the best match in PKG_PATH, just like pkg_add(1) would. It prints the URLs of the best match for each pattern to stdout.
    • Rewrite the config file parser to read the file only once.
    • Fix a bug in pkg_add(1)’s -P handling. For dependencies the pkgdb path was computed incorrectly and included destdir more than once.
    • Fix the ACTIVE_FTP option to actually set the “a” flag and not the old “p” flag.
    • Restore pkg_add -f functionality for missing dependencies. PR 42001.
    • pkg_admin rebuild should count packages correctly; also count @pkgdir.
    • Fix gpg-sign-package syntax in pkg_admin(1).
    • Change default URL for pkg-vulnerabilities to use HTTP.
    • Don’t dereference a null pointer for pkg_admin add.
  • Fix unaligned access in sha2(3). PR 42273.
  • newsyslog(8): Reset ziptype on each line. Fixes a bug where log files were always compressed if they were listed after a line with the Z or J flag.
  • ld.elf_so(1): Restore backwards compatibility for binaries referencing the main Obj_Entry.
  • dkctl(8): Print the device name on addwedge when the addition was successful.
  • vfwprintf(3): If the current locale doesn’t define the ‘thousands’ grouping info then use sane defaults (‘,’ every 3 digits). Fixes PR 40714.
  • fsck_ext2fs(8): Ignore the “-P” option as intended. PR 41490.
  • vi(1): Fix an issue where the pattern /$/ doesn’t match a dollar sign. PR 41781.
  • printf(1): Avoid segv on “printf ‘%*********s’ 666”.
  • newfs_msdos(8): Make fs size detection get proper size rather than disk size. Without this, newfs_msdos assumes the target fs size is whole disk size, so newfs_msdos will fail or create wrong fs.
  • Prevent makefs(8) from creating invalid ISO format on rockridge support which causes fatal errors in ARC BIOS firmware on MIPS Magnum R4000. PR 42410.
  • Renamed a number of internal getline() functions to get_line() so as to compile under -current.
  • Various documentation fixes.
  • Update and add some TNF ssh keys to /etc/ssh/ssh_known_hosts.

Known Problems

Using block device nodes (eg, wd0a) directly for I/O may cause a kernel crash when the file system containing /dev is FFS and is mounted with -o log. Workaround: use raw disk devices (eg, rwd0a), or remount the file system without -o log.

Occasionally, gdb may cause a process that is being debugged to hang when “single stepped”. Workaround: kill and restart the affected process.

gdb cannot debug running threaded programs correctly. Workaround: generate a core file from the program using gcore(1) and pass the core to gdb, instead of debugging the running program.

Statically linked binaries using pthreads are currently broken.

Version number 5.0.2
Release status Final
Website NetBSD
Download http://www.netbsd.org/releases/index.html#formal
License type Conditions (GNU/BSD/etc.)
BSDDownloaddriverFirmwareFreeBSDFTPGPGhtmlindexISOISO ImageKernelLicensesLimitMachinesMemoryMiscellaneousNetworkingOpenSSLOperating systemPerformancePGPProcessRedRegisterSecuritySoftwareSoftware UpdateTLSToolsTrafficURLwish