FreeBSD-EN-22:04.pcid : Incorrect PCID mode invalidations
Versions Affected : All versions prior to TrueNAS 12.0-U8
Description
Operations specific to TLB invalidation in PCID mode were misordered with respect to IPI transmission.
This issue may cause stale TLB translation entries (and hence invalid data) in multithreaded applications, leading to application misbehaviour.
Workaround
PCID may be disabled by adding the following line to /boot/loader.conf:
vm.pmap.pcid_enabled=0
Mitigation
- Upgrade to TrueNAS 12.0-U8 or later.
Commit
- FreeBSD Revision : r370980
- TrueNAS Commit : 95864ee
- TrueNAS Commit : c25fe91
- JIRA Ticket : NAS-114278