Use after free in Updater (CVE-2026-11115)
A race condition in the Google Updater's PolicyService allows a local non-admin user to trigger a use-after-free by concurrently calling a COM interface method that copies a vector of policy managers while another thread clears it. This could potentially lead to privilege escalation to SYSTEM.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 54 days
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports without the Chrome Security team.
Overview: A potential race condition in the Google Updater allows a vector of policy managers to be accessed concurrently by COM RPC threads and the main sequence. If the vector is cleared during a policy refresh while being copied by an RPC thread, a Use-After-Free occurs. A local, non-admin user could potentially exploit this to achieve privilege escalation to SYSTEM.
Affected files:
chrome/updater/policy/service.ccchrome/updater/policy/service.hchrome/updater/app/server/win/com_classes_legacy.ccchrome/updater/configurator.ccchrome/windows_services/service_program/service.cc
Estimated timestamp from git blame: 2025-11-13
Description
A race condition exists in the Google Updater's PolicyService that can lead to a Use-After-Free (UAF) vulnerability. This issue occurs because the sequence-affine PolicyService is accessed concurrently from COM RPC threads and the main application sequence without sufficient synchronization.
The PolicyStatusSystemClass COM object, running as a NT AUTHORITY\SYSTEM service, implements the legacy IPolicyStatus interface. The COM security DACL explicitly grants access to the Interactive group (S-1-5-4), allowing any locally logged-in standard user to interface with it.
Because the server runs in a Multi-Threaded Apartment (MTA), calls to these interfaces are handled on an RPC thread pool. Several property getters in IPolicyStatus (such as get_effectivePolicyForAppUpdates, get_targetVersionPrefix, and get_isRollbackToTargetVersionAllowed in chrome/updater/app/server/win/com_classes_legacy.cc) call PolicyService methods directly on the RPC thread, bypassing the intended AppServerWin::PostRpcTask sequence marshaling.
Inside PolicyService::QueryAppPolicy (called by these getters), the code iterates over the list of policy managers by calling policy_managers_->managers(). This method returns std::vector<scoped_refptr<PolicyManagerInterface>> by value, invoking the std::vector copy constructor on the RPC thread.
Concurrently, an attacker can trigger IPolicyStatus2::refreshPolicies(). This fetches policies asynchronously and eventually executes PolicyService::FetchPoliciesDone on the main sequence. This function calls InitializeManagersVector(), which executes managers_.clear().
The Race Condition
There is no lock protecting the managers_ vector between the RPC thread's copy constructor and the main sequence's clear().
managers_.clear()executes on the main sequence, destroying thescoped_refptrelements in the vector and dropping their reference counts to zero. This frees the underlyingDMPolicyManagerobject.- Concurrently, the RPC thread is executing the
std::vectorcopy constructor. Becausestd::vector::clear()does not free the underlying buffer memory, the RPC thread reads the stale pointers from the buffer. - The RPC thread constructs a new
scoped_refptrusing the stale pointer, incrementing the reference count field within the already freedDMPolicyManagermemory block. - The RPC thread continues its loop execution in
QueryAppPolicy, invokingstd::invokewith a member function pointer on the freed object. This results in a virtual method call on a freed object.
Because scoped_refptr::ptr_ is explicitly excluded from MiraclePtr protection (RAW_PTR_EXCLUSION), this UAF is not mitigated by BackupRefPtr.
Potential Exploitation Steps
Note: These are suggested steps; our tooling agent has not executed a working proof of concept.
- A standard, non-administrative local user logs into a managed Windows device.
- The attacker instantiates the
PolicyStatusSystemClassCOM object. - The attacker spawns two concurrent threads.
- Thread 1 repeatedly calls
IPolicyStatus2::refreshPolicies()to trigger policy fetches and subsequentmanagers_.clear()calls on the main sequence. - Thread 2 repeatedly calls
IPolicyStatus::get_effectivePolicyForAppUpdates(...)to trigger the unsynchronized vector copy andstd::invokevirtual calls on the RPC thread. - By grooming the heap, the attacker controls the reallocated memory and hijacks the virtual method call to achieve Local Privilege Escalation (LPE) to SYSTEM.
Suggested Fix
Update the legacy IPolicyStatus property getters in chrome/updater/app/server/win/com_classes_legacy.cc (e.g., get_effectivePolicyForAppUpdates) to use PolicyStatusResult<T>::Get to marshal the execution to the main sequence. This pattern is already safely implemented for the newer IPolicyStatus2 methods.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The PolicyService's vector of policy managers is accessed without synchronization from both COM RPC threads and the main sequence, leading to a use-after-free when one thread clears the vector while another copies it.
What the attacker needed
Local non-admin user on managed Windows device; ability to instantiate COM object
The fix
The legacy IPolicyStatus property getters should be updated to use PolicyStatusResult<T>::Get to marshal execution to the main sequence, as is already done for the newer IPolicyStatus2 methods.
How it was found
- A standard, non-administrative local user logs into a managed Windows device.
- The attacker instantiates the PolicyStatusSystemClass COM object.
- The attacker spawns two concurrent threads.
- Thread 1 repeatedly calls IPolicyStatus2::refreshPolicies() to trigger policy fetches and subsequent managers_.clear() calls on the main sequence.
- Thread 2 repeatedly calls IPolicyStatus::get_effectivePolicyForAppUpdates(...) to trigger the unsynchronized vector copy and std::invoke virtual calls on the RPC thread.
- By grooming the heap, the attacker controls the reallocated memory and hijacks the virtual method call to achieve Local Privilege Escalation (LPE) to SYSTEM.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A background service running with high privileges has a bug where two threads can access the same list of objects at the same time. One thread frees the objects while the other is still using them, which can crash the program or let an attacker take control. A normal user on the machine can trigger this by calling a special interface.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.