CONTAP-158011: ONTAP system panics in setSpinNpVersion() while freeing an object
Issue
- ONTAP system running out of memory in the Cluster Session Manager (CSM) module causes the system to enter an error path that has a memory double free bug.
- From the coredump, seeing "error 12" in the CSM traces indicates memory exhaustion
(kgdb-amd64-9.1-209) csm_ring_buffer
12/10 142132 (SessionRecord::cleanUpSessionRecordForHardError): Failed Session (uniq = 0x11060c2888b389a1, error = 12) state was 0, doing cleanup.
12/10 142132 (CtActiveOpen::activeOpenRsp): activeOpenRsp for connection 0xfffff8028d4e4028 encountered error 12 CtLoError CTLOPCP_ERR_OK rxSockError 0, TLSerror 0
- CVO systems may panic with the message "privileged instruction fault" in setSpinNpVersion().