github eclipse-threadx/threadx v6.5.2.202603b_rel
Eclipse ThreadX v6.5.2.202603b

3 hours ago

This hotfix release addresses eight vulnerabilities: seven in ThreadX Modules and one in the TrustZone-M secure stack services. Each needs code already running on the device, in a loaded module or in the non-secure world, and none is reachable over the network. Apart from those fixes, it adds three Module Manager loaders that take the module image's length.

We thank Jo Van Bulck, Tijs Bellefroid, Marton Bognar and Antonis Louka of DistriNet, KU Leuven, SounLabs (@SounLabs), @adawn0106, @testacegi and @alex16848 for reporting these responsibly.

Vulnerabilities addressed

Eight vulnerabilities are fixed in 6.5.2.202603b. All require local code execution and no user interaction.

All eight affect every release from 6.0.1, or from the release that introduced the affected port, up to and including 6.5.2.202603.

Behaviour changes

  • A user-mode module can no longer register tx_trace_buffer_full_notify (TXM_MODULE_INVALID_PROPERTIES).
  • A memory-protected module can no longer send to, flush or receive from another module's callback request queue, or suspend, resume, terminate, reset, re-prioritise or abort the waits of threads it does not own (TXM_MODULE_INVALID). Designs that relied on this need a shared synchronisation object.
  • The new loaders txm_module_manager_in_place_load_ext, txm_module_manager_memory_load_ext and txm_module_manager_absolute_load_ext take the image length and reject images whose preamble does not fit it. The four loaders without a length are deprecated; they remain available and gain the entry-point checks.
  • The Module Manager loaders now release the manager mutex when a preamble size overflows.

Every fix ships with a regression test that fails without it. The PendSV fix is exercised on QEMU through the module execution harness added in #821. Fixes were not run on hardware.

You can access advisories for previously addressed vulnerabilities here.

Full Changelog: v6.5.2.202603_rel...v6.5.2.202603b_rel

Don't miss a new threadx release

NewReleases is sending notifications on new releases.