[SERVER-70766] Server crashes when the OCSP fetcher attempts to fetch during shutdown Created: 21/Oct/22  Updated: 29/Oct/23  Resolved: 02/Nov/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Erwin Pe Assignee: Shreyas Kalyan
Resolution: Fixed Votes: 0
Labels: tsan
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Security 2022-11-14
Participants:
Linked BF Score: 33

 Description   

A segmentation fault occurs when the OCSP fetcher periodic job fires while mongod is shutting down. The null pointer dereferenced is the std::unique_ptr<OCSPManager> obtained from the global service context here. Oddly, this issue only manifested while running on a TSAN debug build.

 



 Comments   
Comment by Githook User [ 02/Nov/22 ]

Author:

{'name': 'Shreyas Kalyan', 'email': 'shreyas.kalyan@mongodb.com', 'username': 'shreyaskal'}

Message: SERVER-70766 Server crashes when the OCSP fetcher attempts to fetch during shutdown
Branch: master
https://github.com/mongodb/mongo/commit/fc1e90f1089002b92f9f03969efde84fc111492f

Generated at Thu Feb 08 06:17:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.