Closed
Bug 2016901
Opened 9 months ago
Closed 9 months ago
NSSIOLayer may try to unregister preference observer off-main-thread
Categories
(Core :: Security: PSM, defect, P1)
Core
Security: PSM
Tracking
()
RESOLVED
FIXED
150 Branch
People
(Reporter: jstutte, Assigned: jstutte)
References
Details
(Keywords: csectype-race, sec-low, Whiteboard: [psm-assigned][adv-main150+r])
Attachments
(1 external file, 1 obsolete file)
~nsSSLIOLayerHelpers() may run off-main thread, apparently. Most likely this is not really exploitable, at least in the tests where this showed up it happens late in shutdown. But it may garble the preferences callback list during shutdown.
I came here by adding more assertions to the Preferences API, and I'll add that patch here to hide it until we fixed it.
| Assignee | ||
Comment 1•9 months ago
|
||
Updated•9 months ago
|
Assignee: nobody → jstutte
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•9 months ago
|
||
Updated•9 months ago
|
Group: core-security → crypto-core-security
Updated•9 months ago
|
Severity: -- → S3
Priority: -- → P1
Whiteboard: [psm-assigned]
| Assignee | ||
Comment 3•9 months ago
|
||
(I'll wait for a sec-rating before landing)
Updated•9 months ago
|
Keywords: csectype-race,
sec-low
| Assignee | ||
Comment 4•9 months ago
•
|
||
I'll land the fix here and will move the assertions to bug 2016728 (or fold them into that patch).
Pushed by jstutte@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/cd3907ee6df1
https://hg.mozilla.org/integration/autoland/rev/9fb77736bdf1
Fix potential race in NSSIOLayer. r=keeler
Updated•9 months ago
|
Attachment #9545196 -
Attachment is obsolete: true
Comment 6•9 months ago
|
||
Group: crypto-core-security → core-security-release
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
status-firefox150:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
Updated•9 months ago
|
status-firefox148:
--- → affected
status-firefox149:
--- → affected
status-firefox-esr140:
--- → affected
Comment 7•9 months ago
|
||
The patch landed in nightly and beta is affected.
:jstutte, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox149towontfix.
For more information, please visit BugBot documentation.
Flags: needinfo?(jstutte)
Updated•8 months ago
|
QA Whiteboard: [sec] [qa-triage-done-c151/b150]
Updated•7 months ago
|
Whiteboard: [psm-assigned] → [psm-assigned][adv-main150+r]
Updated•3 months ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•