Home
Developer Resources
Technical Articles

QNX Technical Articles

QNX® Software Development Platform 6.6 Kernel and Libc Patch (Patch ID 4669): Release Notes

Date of this edition: October 20, 2017

Target OS: This patch is compatible with targets that are running the QNX® Neutrino® RTOS 6.6.

Host OS: In order to apply this patch, you must have installed the QNX Software Development Platform 6.6 on one of the following development hosts:

  • Microsoft Windows 10 Professional 64-bit, Windows 8 Professional 64-bit, Windows 7 Professional 64-bit, or XP Professional SP3
  • Linux Red Hat Enterprise Linux 6 64-bit or Ubuntu Workstation LTS 12.04 32- and 64-bit or Ubuntu Workstation LTS 16.04 Workstation LTS 32- and 64-bit

Note:

For the most up-to-date version of these notes, go to our website (www.qnx.com), log in to your myQNX account, and then go to the Download Center.


Contents

Throughout this document, you may see reference numbers associated with particular issues, changes, etc. When corresponding with our Technical Support staff about a given issue, please quote the relevant reference number. You might also find the reference numbers useful for tracking issues as they become fixed.

What's in this patch?

This patch fixes issues with Kernel and Libc, including security issues on the x86 and ARMLE v7 platforms.

Installed files

The following files are installed under $QNX_TARGET:

  • armle-v7/boot/sys/libmod_aps.a
  • armle-v7/boot/sys/procnto-smp-instr
  • armle-v7/boot/sys/procnto-smp
  • armle-v7/boot/sys/procnto
  • armle-v7/boot/sys/procnto-instr
  • armle-v7/lib/libc.a
  • armle-v7/lib/libc.so.3
  • armle-v7/lib/libcS.a
  • x86/boot/sys/libmod_aps.a
  • x86/boot/sys/procnto-smp-instr
  • x86/boot/sys/procnto-smp
  • x86/boot/sys/procnto
  • x86/boot/sys/procnto-instr
  • x86/lib/libc.a
  • x86/lib/libc.so.3
  • x86/lib/libcS.a
  • usr/include/arm/platform.h
  • usr/include/stdio.h
  • usr/include/pthread.h
  • usr/include/x86/platform.h
  • usr/include/sys/iofunc.h
  • usr/include/sys/neutrino.h
  • armle-v7/lib/libc.so
  • x86/lib/libc.so

Fixed issues

On the x86 and ARMLE v7 platforms, we've extended the QNX Neutrino implementation of the inode notify system to allow filesystems and io-blk to pass INOTIFY_QNX_EXT error notifications to user applications. Before a user application can receive them, it must first call the inotify_init() function to register with the filesystem event manager and then call inotify_qnx_ext() to subscribe to the notifications. Once registered and subscribed, the application can use select() and read() to obtain notifications. (Ref# J1681362)

We've addressed security issues on the x86 and ARMLE v7 platforms (Ref# 2163410, 1691980, 1417049), and we've addressed security issues on the x86 platform (Ref# J170659, J177988, J569334, J654205, J752424, J892931, 1419528, J1434476, J1487508, J1549234, J1573709, J1586750, J1599663):

  • QNX Neutrino Qnet arbitrary file disclosure
  • QNX Neutrino local arbitrary user and kernel space infoleak (ASLR bypass)
  • QNX Neutrino LD_DEBUG local infoleak (ASLR bypass)
  • QCC configuration should enable FULL RELRO by default
  • QNX Neutrino RELRO implementation defect
  • QNX Neutrino weak Stack Smashing Protection (SSP) canary implementation
  • /dev/urandom uses a deprecated algorithm
  • Stack and heap ASLR on 6.6.0 provides insufficient entropy

We've improved exception handing on the ARMLE v7 platform. (Ref# 1652358)

This patch incorporates the following additional fixes for the x86 variant:

  • We've introduced a per-process resource limit on the number of synchronization objects that a process can create. RLIMIT_NSYNC is limited to 100 sync objects. (Ref# J1666456)
  • We've updated the _sleepon_wait() function to improve its handling of pthread_cond_wait() error codes. (Ref# J1364129)
  • We've corrected an issue where a terminating io-pkt-v4 process may have led to undesirable results if certain conditions were met during shutdown. (Ref# J1351481)
  • We've corrected a race condition that could cause MsgReceive() to return EFAULT when the MsgReceive() buffers are fine. (Ref# J1363458)
  • The mphys() function returns a 32-bit return type when the caller is using a 32-bit physical address. We've updated this function to return a 64-bit return type in the case where the caller is using 64-bit physical address. (Ref# J1571467)
  • We've improved support for TUN interfaces. These improvements include bulk read/write support for an application reading from one TUN interface and writing to the other. We've also added support for sendmmsg() and recvmmsg() for connections between io-pkt processes using TUN interfaces. (Ref# J1588283)
  • We've added blk fse-mask=mask to Block I/O support (io-blk) to identify which filesystem events to send to the filesystem event manager. Specify the 32-bit bitmask option as a hex number (i.e. 0x00800020) or as a decimal number. The sys/fs_events.h header lists all types of filesystem events, and provides bitmasks for them. You can also OR bitmasks to construct this mask. To send all of the filesystem events, set the mask to 0xffffffff. To send none of them, set it to zero. (Ref# J1630805)

Known issues

None currently known.

Technical support

To obtain technical support for any QNX product, visit the Support area on our website (www.qnx.com). You'll find a wide range of support options, including community forums.