Project

General

Profile

Actions

Bug #15021

closed

upanic recursive mutex enter

Added by Dan McDonald 2 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

During a user program's call to upanic() we discovered a case where a mutex is entered while already holding it. The fix is straightforward, move the mutex_exit() prior to the opportunity for a double-hold. This has been tested both before-and-after on an OmniOS VM.

Actions #1

Updated by Dan McDonald 2 months ago

  • Status changed from New to Pending RTI
  • % Done changed from 0 to 90
Actions #2

Updated by Electric Monk 2 months ago

  • Status changed from Pending RTI to Closed
  • % Done changed from 90 to 100

git commit b7335573a496fd332333ccc5718fb23ea11815ba

commit  b7335573a496fd332333ccc5718fb23ea11815ba
Author: Robert Mustacchi <rm@fingolfin.org>
Date:   2022-09-28T19:19:48.000Z

    15021 upanic recursive mutex enter
    Reviewed by: Dan McDonald <danmcd@mnx.io>
    Approved by: Joshua M. Clulow <josh@sysmgr.org>

Actions

Also available in: Atom PDF