Low firefox Logic Error 🔧 Commit mapped

Overview

Low
Severity
—
CVSS
No
Exploited ITW
Fixed
Fix Status
Impactlow
DescriptionRace condition in the Networking: DNS component
ComponentNetworking
Bug ClassLogic Error
Tracker2072048
Fix commit60e8ebc4209c (firefox) +1/-1
CISA KEVNot listed
CreditedMozilla
Disclosed2026-10-13

Files Changed

  • netwerk/dns/nsHostRecord.h
diff --git a/netwerk/dns/nsHostRecord.h b/netwerk/dns/nsHostRecord.h
index 04507e11d43..c840620b086 100644
--- a/netwerk/dns/nsHostRecord.h
+++ b/netwerk/dns/nsHostRecord.h
@@ -238,7 +238,7 @@ class nsHostRecord : public mozilla::LinkedListElement<RefPtr<nsHostRecord>>,
   // (past-TTL, grace-period) cache entry. Captured at serve time: true only
   // when a grace-period cache hit is returned, and cleared on every fresh
   // resolution.
-  bool mFromStaleCache = false;
+  mozilla::Atomic<bool, mozilla::Relaxed> mFromStaleCache{false};
 
   // Explicitly expired
   bool mDoomed = false;
Loading diff…