You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/02/02 20:04:35 UTC
[jira] [Commented] (TS-3359) Use after free: Tunnel destroyed
without updating HttpSM
[ https://issues.apache.org/jira/browse/TS-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301689#comment-14301689 ]
ASF subversion and git services commented on TS-3359:
-----------------------------------------------------
Commit d6638c4ffe04d1019eb9d477f3f723878f590dc1 in trafficserver's branch refs/heads/master from [~briang]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=d6638c4 ]
TS-3359: update changes
> Use after free: Tunnel destroyed without updating HttpSM
> --------------------------------------------------------
>
> Key: TS-3359
> URL: https://issues.apache.org/jira/browse/TS-3359
> Project: Traffic Server
> Issue Type: Bug
> Components: Core
> Reporter: Brian Geffon
> Assignee: Brian Geffon
> Fix For: 5.3.0
>
>
> In HttpSM there is a member called ua_session which is a HttpClientSession. When chain_abort_all() is called in HttpSM::tunnel_handler_server on the is_http_server_eos_truncation() case it causes this client session to be destroyed but it is later referenced in HttpSM::tunnel_handler_server. Typically this object will be on the freelist and it will happily address the memory; however, under high loads this will obviously lead to issues. This was detected by disabling freelist and using address sanitizer. The patch will be attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)