NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/55852: Need to audit selnotify() call sites for adherence to NOTE_SUBMIT locking contract



>Number:         55852
>Category:       kern
>Synopsis:       Need to audit selnotify() call sites for adherence to NOTE_SUBMIT locking contract
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 09 00:00:00 +0000 2020
>Originator:     Jason Thorpe
>Release:        NetBSD 9.99.77
>Organization:
RISCy Business
>Environment:
NetBSD 9.99.77
>Description:
Through observation, I have notices several selnotify() call sites that do not correctly adhere to the NOTE_SUBMIT locking protocol.  It is critical for non-KERNEL_LOCK users of selnotify() to correctly adhere to the NOTE_SUBMIT locking contract, otherwise corruption of selinfo::sel_klist can occur.

This PR tracks that an audit of these call sites is needed.
>How-To-Repeat:
N/A
>Fix:
N/A



Home | Main Index | Thread Index | Old Index