Get a Quote   (408) 943-4100               TrueNAS Discord      VendOp_Icon_15x15px   Commercial Support

Versions Affected : All versions prior to TrueNAS 13.0-U2


Description

When dumping core and saving process information, proc_getargv() might return an sbuf which have a sbuf_len() of 0 or -1, which is not properly handled.

An out-of-bound read can happen when user constructs a specially crafted ps_string, which in turn can cause the kernel to crash.


Workaround

The system administrator can workaround this issue by disabling coredump. This can be done by adding:

kern.coredump=0

to /etc/sysctl.conf and run

service sysctl start


Mitigation

  • Upgrade to TrueNAS 13.0-U2 or later.

Commit


Further information