[{"id":3687062,"web_url":"http://patchwork.ozlabs.org/comment/3687062/","msgid":"<a74a7a66-c1f1-4d6e-b85a-49ecc8e2e882@mailbox.org>","list_archive_url":null,"date":"2026-05-06T11:25:05","subject":"Re: [PATCH] usb: dwc3: Fix crash on fastboot exit due to incorrect\n memory free","submitter":{"id":85664,"url":"http://patchwork.ozlabs.org/api/people/85664/","name":"Marek Vasut","email":"marek.vasut@mailbox.org"},"content":"On 5/6/26 8:14 AM, Balaji Selvanathan wrote:\n> The dwc3_free_one_event_buffer() function incorrectly called free()\n> on event buffer structures allocated with devm_kzalloc(). This\n> caused heap corruption and a synchronous abort when exiting\n> fastboot mode via \"fastboot continue\".\n> \n> Device-managed memory is automatically freed when the device is\n> removed, so manual deallocation causes the heap allocator to access\n> corrupted metadata.\n> \n> Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>\n> ---\n>   drivers/usb/dwc3/core.c | 1 -\n>   1 file changed, 1 deletion(-)\n> \n> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c\n> index 0dee14c8b59..be198041f08 100644\n> --- a/drivers/usb/dwc3/core.c\n> +++ b/drivers/usb/dwc3/core.c\n> @@ -208,7 +208,6 @@ static void dwc3_free_one_event_buffer(struct dwc3 *dwc,\n>   \t\tstruct dwc3_event_buffer *evt)\n>   {\n>   \tdma_free_coherent(evt->buf);\n> -\tfree(evt);\n>   }\n>   \n>   /**\nDoes this need:\n\nFixes: 884b10e86a05 (\"usb: dwc3: core: fix memory leaks in event buffer \ncleanup\")\n\n?","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=mailbox.org","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n secure) header.d=mailbox.org header.i=@mailbox.org header.b=\"XNw7LscO\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=mailbox.org","phobos.denx.de;\n spf=pass smtp.mailfrom=marek.vasut@mailbox.org"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g9bK33TJ5z1yJq\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 23:07:51 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id A8B7E8490D;\n\tWed,  6 May 2026 15:07:43 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id E31D28490D; Wed,  6 May 2026 15:07:42 +0200 (CEST)","from mout-p-103.mailbox.org (mout-p-103.mailbox.org [80.241.56.161])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 08BE884903\n for <u-boot@lists.denx.de>; Wed,  6 May 2026 15:07:41 +0200 (CEST)","from smtp2.mailbox.org (smtp2.mailbox.org [10.196.197.2])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mout-p-103.mailbox.org (Postfix) with ESMTPS id 4g9bJp5ZV3z9trX;\n Wed,  6 May 2026 15:07:38 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;\n s=mail20150812; t=1778072859;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=hk1pzF29n2IvzhLEOEYNz7f/tCUinXVzDR+2INThrmg=;\n b=XNw7LscOTCBaXeVncLLgV8/Z/1mG6v7giI6Tj0W72D5PRfT5iwgLVuYOw46JD2dDTUuMUR\n Ru/OaH7tiPkitjAERrijrdKCJvqEMRXAdLkJwB89JurRrGfe5t443MzAk+cvGinX7BuBOF\n 3RAxeNazsa9g8qAY+r2NNGPJ13mDxwlxWpHXg3D3sI/rHhd2YCf1MPFSGHZPlDBjun3xH7\n X3VFuinSaOT43xDtW+fRqZL2Z8qzh+quKW/VWjYXdpbCV4d5IMUDk2V5roJPBwsqGWnvTm\n k17wTULTupp5TdQDWmG/gcMbzH4Rh367tSzENCdYKIsT18N0VWFlQF/MKUkVZQ==","Message-ID":"<a74a7a66-c1f1-4d6e-b85a-49ecc8e2e882@mailbox.org>","Date":"Wed, 6 May 2026 13:25:05 +0200","MIME-Version":"1.0","Subject":"Re: [PATCH] usb: dwc3: Fix crash on fastboot exit due to incorrect\n memory free","To":"Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>,\n u-boot@lists.denx.de","Cc":"Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Chris Morgan <macromorgan@hotmail.com>,\n Casey Connolly <casey.connolly@linaro.org>,\n Varadarajan Narayanan <quic_varada@quicinc.com>,\n Gurumoorthy Santhakumar <gurumoorthy.santhakumar@oss.qualcomm.com>","References":"<20260506-usb-v1-1-e0f426bb1e42@oss.qualcomm.com>","Content-Language":"en-US","From":"Marek Vasut <marek.vasut@mailbox.org>","In-Reply-To":"<20260506-usb-v1-1-e0f426bb1e42@oss.qualcomm.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"7bit","X-MBO-RS-META":"18ynjcqdeqdyn4ctf1ygnn1nr99y5uqj","X-MBO-RS-ID":"b13564b8465580f9840","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"}},{"id":3687176,"web_url":"http://patchwork.ozlabs.org/comment/3687176/","msgid":"<437a2860-fecf-4f45-bbe4-3fb9e8958b6a@oss.qualcomm.com>","list_archive_url":null,"date":"2026-05-06T15:26:40","subject":"Re: [PATCH] usb: dwc3: Fix crash on fastboot exit due to incorrect\n memory free","submitter":{"id":90810,"url":"http://patchwork.ozlabs.org/api/people/90810/","name":"Balaji Selvanathan","email":"balaji.selvanathan@oss.qualcomm.com"},"content":"On 5/6/2026 4:55 PM, Marek Vasut wrote:\n> On 5/6/26 8:14 AM, Balaji Selvanathan wrote:\n>> The dwc3_free_one_event_buffer() function incorrectly called free()\n>> on event buffer structures allocated with devm_kzalloc(). This\n>> caused heap corruption and a synchronous abort when exiting\n>> fastboot mode via \"fastboot continue\".\n>>\n>> Device-managed memory is automatically freed when the device is\n>> removed, so manual deallocation causes the heap allocator to access\n>> corrupted metadata.\n>>\n>> Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>\n>> ---\n>>   drivers/usb/dwc3/core.c | 1 -\n>>   1 file changed, 1 deletion(-)\n>>\n>> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c\n>> index 0dee14c8b59..be198041f08 100644\n>> --- a/drivers/usb/dwc3/core.c\n>> +++ b/drivers/usb/dwc3/core.c\n>> @@ -208,7 +208,6 @@ static void dwc3_free_one_event_buffer(struct \n>> dwc3 *dwc,\n>>           struct dwc3_event_buffer *evt)\n>>   {\n>>       dma_free_coherent(evt->buf);\n>> -    free(evt);\n>>   }\n>>     /**\n> Does this need:\n>\n> Fixes: 884b10e86a05 (\"usb: dwc3: core: fix memory leaks in event \n> buffer cleanup\")\n>\n> ?\n\nHi Marek,\n\nWe remove only \"free(evt)\"; \"free(dwc->ev_buffs);\" from this patch \n(884b10e86a05 \"usb: dwc3: core: fix memory leaks in event buffer \ncleanup\") is needed.\n\nRegards","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=cAF7hC+L;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=JoY2tRBM;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=oss.qualcomm.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"cAF7hC+L\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"JoY2tRBM\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com","phobos.denx.de; spf=pass\n smtp.mailfrom=balaji.selvanathan@oss.qualcomm.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g9fPd6nvZz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 07 May 2026 01:27:01 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id E105084915;\n\tWed,  6 May 2026 17:26:52 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id A29B184915; Wed,  6 May 2026 17:26:51 +0200 (CEST)","from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 4D81C8490D\n for <u-boot@lists.denx.de>; Wed,  6 May 2026 17:26:49 +0200 (CEST)","from pps.filterd (m0279868.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 646E0jOf2427853\n for <u-boot@lists.denx.de>; Wed, 6 May 2026 15:26:47 GMT","from mail-pj1-f72.google.com (mail-pj1-f72.google.com\n [209.85.216.72])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e01ph1r50-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <u-boot@lists.denx.de>; Wed, 06 May 2026 15:26:47 +0000 (GMT)","by mail-pj1-f72.google.com with SMTP id\n 98e67ed59e1d1-36514eb1194so8469911a91.2\n for <u-boot@lists.denx.de>; Wed, 06 May 2026 08:26:47 -0700 (PDT)","from [192.168.0.6] ([183.82.205.89])\n by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-365b08feeb0sm1907423a91.2.2026.05.06.08.26.42\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Wed, 06 May 2026 08:26:45 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n WNLhBpSfreKRlpNk1tw7b6qZn5vYQ3O6hfdGpaFPGuo=; b=cAF7hC+LUnVPt3c4\n X0Cg9E9LRdIUmPB+ojXQZeo1Eo+czSvqPyV0nTn7EluKZSRT1scXQGE3RdZzYTVv\n 0WDHzqm3hEB69VM4g1gDhPgb8gHhZFlg5hKrK+nC2RsxLibh0wUGwpT0NyU00IlA\n oaYYwQXJ3h4xNOPxJqV5bZBoeZzWLmXFX4GnQY7OPRhXMjuZ8hfoKV6DjDLsQCdC\n WQXba9PB6FfwfrRy/N20GBh6frqoDt2nuq2GkbFZFQsd1yDlTjUbq2xSHO9t1qbX\n ZOlljbF4IBHmnlAY5T9HXWDAhHkSn9lOJ0NLXOJHcIHbCky82zKX11eJb/t+URaA\n CeMFyw==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1778081207; x=1778686007; darn=lists.denx.de;\n h=content-transfer-encoding:in-reply-to:from:content-language\n :references:cc:to:subject:user-agent:mime-version:date:message-id\n :from:to:cc:subject:date:message-id:reply-to;\n bh=WNLhBpSfreKRlpNk1tw7b6qZn5vYQ3O6hfdGpaFPGuo=;\n b=JoY2tRBMuwyqGD0VUp+5NsEbeww7gT57zV9noOeNeV4M/YxipiZf23xbeDpRE+o8qK\n rNd1NtkvxjrLW3fdBl/Mg83uGG/TM/ido0fNF1yCO6kaFKkXlVg6H+zXktxHgboBYQHv\n /3Ii5jLfyx5ge8GoPl+uzQmovSOOifympAoocTglbJ0KoEH25HZZjin+TScSA4ArbA5P\n DHikH3wFgNMaNX1yD1I2nlKutgcFZK3nyb5iI3SGsHCEZZRIiJQD5Xw6gfPa4SRoCPAc\n QFghzqz9A+Sz2UljqT46djBeQITWdsAV1cZYMn/leSH5lOScPw497mvLaJexKSDtooP2\n A8Zw=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778081207; x=1778686007;\n h=content-transfer-encoding:in-reply-to:from:content-language\n :references:cc:to:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=WNLhBpSfreKRlpNk1tw7b6qZn5vYQ3O6hfdGpaFPGuo=;\n b=JQqHAUEz7bPANKYadNFRZGEN5goL6gkz+zDfmcdh68VF8YMGYVOVjFs7/3DZrGg5HA\n Eh1R5J2o985cWFIXzo/myfvtjMIxLxv5Ohi3zGFV5xOr2p1+qv/R29xud7fFHyj8q+lQ\n pAYoD3rhT4wQ0lZ2elvT6p450TLHsunD0bDtRcYjpUxEt5Y4h1Du7x5sq7dH3fXxPCSh\n gx/o0mlJFu6eIe6OWphwVcqKv+ufkxFZ+yAqLLwaSAdKBKcxcWNIfHA8BmMVs97pllFG\n JorDK7e0OgtjBHLp+uyKCIyGOXNk6apRtkuo4uN4MPOd/aABa/ZX0p9JPa6kVCSsmoeA\n hV8w==","X-Forwarded-Encrypted":"i=1;\n AFNElJ9I6a8fvGYgSG2hWqfKjqZkfjCEPXrRCK6JZMXnWE6hvQ+nhSMApDBcFDHGVcDZY8AnxrXtGKc=@lists.denx.de","X-Gm-Message-State":"AOJu0YzQXlfM5UpMmiHLCcXc4+67/WL0BEMyD99q50wMDIPEXu5n4wcc\n oBrH7RVj+uDdUOkHoWa3n9TIV740MeCxlvoq6IVZRyzD1yKdpb0uIdbJ68qfV1LgYK5i2DxW6Kp\n ND+LR6WLaBgeQIcbDJXH5zhxUGXGgpNG26Ki4bHAt3i7IYrL6NwTwMn9r","X-Gm-Gg":"AeBDieuQxPJ9FEfOUOVkoirMEbVv1Q4SH9pSBw3oVDHinospPaTOxMnyWnU6QIeeJsY\n avJiWJPUxYl/iaZxQtITkgYWGhhdyZk4ZVnA7uBfJkkpsJA99Af8jivETK5GAQ+lSWkl4/TmsnW\n 4V4cp7gSm4K+17Gzp99z9XeAajgwfz2rynBKeXD0f9n8ZkEULwUQYFBkjru9VViP/3pULEvmDgj\n ONUlh7C8XJhH6t/bt+2vaAy8vLWB6jKSwEJebj7j/e+IlbL3ECGvxgVOoO+ii/LIHo6RAhzHWrC\n Z+J6MBhcNBrhEnR2oHQwdERBTns4AdkDHUwb4u4jELgGLzIeL0KFA9n37wt1eTlYW5OAQsTy1aj\n C0nokxNrYDO6UF7u/innLHdKxlyvfzF3qwP8L4y/Z0sZmB9xTPgwdKREsBkwnGUm9ZOQL","X-Received":["by 2002:a17:90b:5484:b0:35d:a3b4:2f00 with SMTP id\n 98e67ed59e1d1-365abad4670mr3609255a91.8.1778081206635;\n Wed, 06 May 2026 08:26:46 -0700 (PDT)","by 2002:a17:90b:5484:b0:35d:a3b4:2f00 with SMTP id\n 98e67ed59e1d1-365abad4670mr3609220a91.8.1778081206182;\n Wed, 06 May 2026 08:26:46 -0700 (PDT)"],"Message-ID":"<437a2860-fecf-4f45-bbe4-3fb9e8958b6a@oss.qualcomm.com>","Date":"Wed, 6 May 2026 20:56:40 +0530","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] usb: dwc3: Fix crash on fastboot exit due to incorrect\n memory free","To":"Marek Vasut <marek.vasut@mailbox.org>, u-boot@lists.denx.de","Cc":"Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Chris Morgan <macromorgan@hotmail.com>,\n Casey Connolly <casey.connolly@linaro.org>,\n Varadarajan Narayanan <quic_varada@quicinc.com>,\n Gurumoorthy Santhakumar <gurumoorthy.santhakumar@oss.qualcomm.com>","References":"<20260506-usb-v1-1-e0f426bb1e42@oss.qualcomm.com>\n <a74a7a66-c1f1-4d6e-b85a-49ecc8e2e882@mailbox.org>","Content-Language":"en-US","From":"Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>","In-Reply-To":"<a74a7a66-c1f1-4d6e-b85a-49ecc8e2e882@mailbox.org>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"8bit","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwNTA2MDE1MiBTYWx0ZWRfX3gvXhkLkAmna\n YhVQpffmSwuxtuCp/d4hXBChspw3iPpnmK8qyP99V1/PxfnZD/EeZWdhn1BfWAJ3aOwyFVrYEFL\n bs7p7bNecaJUpRZIqcoGB4K3DWpAP6aYy/ZP0OXiA5XKs2Zbo6NtY7qQ09Jn6iEwCT3hngov/aT\n EkURhHY/FOWZ1QekFBv6qIum/ii2wm8AVZD12i+rgznAYSfV0spgDZJioEmIFk+aQBYBGCX95qA\n 455xueNyL5Oa7qSdWtvuIeaj5nuqUsLT0tifr7NzIVOyIcdQjJPemKScqHwb0q90kFRPQLQ4UyK\n RKkIZ/qXkHMbsHddkjqcs2Q3DMueK/bbtfPe9B70ORerS+OBGJI3SgviTlFzjilbtfBNaA7Gmee\n t0ZCEW73ZNZpR9AY0NhUnuQ2dXVgNZOyOzM5AFoC/OdPjmtIkNKmy2fJZ2W9zjDEg0OqLF3Isur\n gyEglAHEbPJev0XT93g==","X-Proofpoint-GUID":"DsPFqYTz9MEosZldIuO0KjzQ5lLLYDXs","X-Proofpoint-ORIG-GUID":"DsPFqYTz9MEosZldIuO0KjzQ5lLLYDXs","X-Authority-Analysis":"v=2.4 cv=MYhcfZ/f c=1 sm=1 tr=0 ts=69fb5db7 cx=c_pps\n a=RP+M6JBNLl+fLTcSJhASfg==:117 a=f+zF1XwuGwr39dz+bZsZhg==:17\n a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22\n a=EUspDBNiAAAA:8 a=fRbKdbYq64vAyn_CajkA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10\n a=iS9zxrgQBfv6-_F4QbHw:22","X-Proofpoint-Virus-Version":"vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-05-06_01,2026-05-06_01,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n phishscore=0 bulkscore=0 clxscore=1015 impostorscore=0 adultscore=0\n spamscore=0 priorityscore=1501 malwarescore=0 lowpriorityscore=0\n suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000\n definitions=main-2605060152","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"}},{"id":3687475,"web_url":"http://patchwork.ozlabs.org/comment/3687475/","msgid":"<6320a41d-77ce-402a-935e-ea5b6566452c@mailbox.org>","list_archive_url":null,"date":"2026-05-06T15:28:39","subject":"Re: [PATCH] usb: dwc3: Fix crash on fastboot exit due to incorrect\n memory free","submitter":{"id":85664,"url":"http://patchwork.ozlabs.org/api/people/85664/","name":"Marek Vasut","email":"marek.vasut@mailbox.org"},"content":"On 5/6/26 5:26 PM, Balaji Selvanathan wrote:\n> \n> On 5/6/2026 4:55 PM, Marek Vasut wrote:\n>> On 5/6/26 8:14 AM, Balaji Selvanathan wrote:\n>>> The dwc3_free_one_event_buffer() function incorrectly called free()\n>>> on event buffer structures allocated with devm_kzalloc(). This\n>>> caused heap corruption and a synchronous abort when exiting\n>>> fastboot mode via \"fastboot continue\".\n>>>\n>>> Device-managed memory is automatically freed when the device is\n>>> removed, so manual deallocation causes the heap allocator to access\n>>> corrupted metadata.\n>>>\n>>> Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>\n>>> ---\n>>>   drivers/usb/dwc3/core.c | 1 -\n>>>   1 file changed, 1 deletion(-)\n>>>\n>>> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c\n>>> index 0dee14c8b59..be198041f08 100644\n>>> --- a/drivers/usb/dwc3/core.c\n>>> +++ b/drivers/usb/dwc3/core.c\n>>> @@ -208,7 +208,6 @@ static void dwc3_free_one_event_buffer(struct \n>>> dwc3 *dwc,\n>>>           struct dwc3_event_buffer *evt)\n>>>   {\n>>>       dma_free_coherent(evt->buf);\n>>> -    free(evt);\n>>>   }\n>>>     /**\n>> Does this need:\n>>\n>> Fixes: 884b10e86a05 (\"usb: dwc3: core: fix memory leaks in event \n>> buffer cleanup\")\n>>\n>> ?\n> \n> Hi Marek,\n> \n> We remove only \"free(evt)\"; \"free(dwc->ev_buffs);\" from this patch \n> (884b10e86a05 \"usb: dwc3: core: fix memory leaks in event buffer \n> cleanup\") is needed.\nThe Fixes tag is only a reference for posterity, to trace which previous \ncommit this change repairs. The change itself is fine. Thanks !","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=mailbox.org header.i=@mailbox.org header.a=rsa-sha256\n header.s=mail20150812 header.b=ufs5jC1V;\n\tdkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org\n header.a=rsa-sha256 header.s=mail20150812 header.b=ODjjwbok;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=mailbox.org","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n secure) header.d=mailbox.org header.i=@mailbox.org header.b=\"ufs5jC1V\";\n\tdkim=pass (2048-bit key) header.d=mailbox.org header.i=@mailbox.org\n header.b=\"ODjjwbok\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=mailbox.org","phobos.denx.de;\n spf=pass smtp.mailfrom=marek.vasut@mailbox.org","outgoing_mbo_mout;\n dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=ODjjwbok;\n spf=pass (outgoing_mbo_mout: domain of marek.vasut@mailbox.org designates\n 2001:67c:2050:b231:465::1 as permitted sender)\n smtp.mailfrom=marek.vasut@mailbox.org"],"Received":["from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g9ywy66fRz1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 07 May 2026 13:51:46 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id BF34384A0D;\n\tThu,  7 May 2026 05:51:44 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 220C9849BF; Thu,  7 May 2026 05:51:43 +0200 (CEST)","from mout-p-102.mailbox.org (mout-p-102.mailbox.org\n [IPv6:2001:67c:2050:0:465::102])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 5C79384A0D\n for <u-boot@lists.denx.de>; Thu,  7 May 2026 05:51:41 +0200 (CEST)","from smtp1.mailbox.org (smtp1.mailbox.org\n [IPv6:2001:67c:2050:b231:465::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4g9ywr52Gsz9vJh;\n Thu,  7 May 2026 05:51:40 +0200 (CEST)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-1.1 required=5.0 tests=BAYES_00, DATE_IN_PAST_12_24,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=no\n autolearn_force=no version=3.4.2","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;\n s=mail20150812; t=1778125901;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=YknNeBaMLWvZvzlSunnQoZomvVOntMzeGi1FUsfy8C4=;\n b=ufs5jC1VXj4n3WvUrinMIQY+C4DCW65E0y4U16qsTr7XTjNyuOiMR9XzY+uotMG5HasggJ\n qvXiqzLa/b2Tah0wPWg/n+9rGhlN5yl9muwkx9l/OFRkL+jDvJv/lHy1sdVgJnRxt86YP+\n KdtioInlLiT4febD85DTAEWb6G2o70j9ejG+TcKXfYLBfkVCeeXBwGQ7vdD4BrcVt6XX4W\n YNcGOF97hMe7LZLAj7aKP/OrFiAVLCzr7EZTHpdlU5C/CyXwlLpTZTbTZt5QI1DDLBxH5x\n mTKkGBsUavN3tUSymtJEzc6gFWhsE8aw3WivfvTwrfI6FNOkKcMl9dTKPsqtzg==","v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org;\n s=mail20150812; t=1778125899;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=YknNeBaMLWvZvzlSunnQoZomvVOntMzeGi1FUsfy8C4=;\n b=ODjjwbokGt6mlBxYYSnYm9Ur9FpAb82FMUUyrcupkMs5O2O+djCdCzd9z1dcnnu51YvIiJ\n 5WkSqMRLwBSowqcdWUs1ovIcLWPAO9UFAs1nopZ2NnLSPMLpvA5x+oFWEU2D+DsnpKWLXU\n HaK30mHy+vgdyNENFvmfV2ObwOK1QlJrPXQakd/tQ66lOptlmNiHtBn8naf7wE2Y+/ONL4\n PF7/UImmiQEF5To32U+NQN0xso+YOq/Er5TKNHSiRGOTtz/cc74S+MheWVFF8S5RV60Yr0\n H2wNDv8V8Hn4xVYnZP9MCrzfO0iUmPsiH64rJw6YgcUq8s99LiOxXpcYFWj+wQ=="],"Message-ID":"<6320a41d-77ce-402a-935e-ea5b6566452c@mailbox.org>","Date":"Wed, 6 May 2026 17:28:39 +0200","MIME-Version":"1.0","Subject":"Re: [PATCH] usb: dwc3: Fix crash on fastboot exit due to incorrect\n memory free","To":"Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>,\n Marek Vasut <marek.vasut@mailbox.org>, u-boot@lists.denx.de","Cc":"Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Chris Morgan <macromorgan@hotmail.com>,\n Casey Connolly <casey.connolly@linaro.org>,\n Varadarajan Narayanan <quic_varada@quicinc.com>,\n Gurumoorthy Santhakumar <gurumoorthy.santhakumar@oss.qualcomm.com>","References":"<20260506-usb-v1-1-e0f426bb1e42@oss.qualcomm.com>\n <a74a7a66-c1f1-4d6e-b85a-49ecc8e2e882@mailbox.org>\n <437a2860-fecf-4f45-bbe4-3fb9e8958b6a@oss.qualcomm.com>","Content-Language":"en-US","From":"Marek Vasut <marek.vasut@mailbox.org>","In-Reply-To":"<437a2860-fecf-4f45-bbe4-3fb9e8958b6a@oss.qualcomm.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"8bit","X-MBO-RS-META":"yt38n31s5ixan7tdp8gcgtn5k661h5ha","X-MBO-RS-ID":"a737ab51929db9914c3","X-Rspamd-Queue-Id":"4g9ywr52Gsz9vJh","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"}},{"id":3687489,"web_url":"http://patchwork.ozlabs.org/comment/3687489/","msgid":"<5c6feffa-1f21-45df-ae2e-c313393593cc@oss.qualcomm.com>","list_archive_url":null,"date":"2026-05-07T04:38:56","subject":"Re: [PATCH] usb: dwc3: Fix crash on fastboot exit due to incorrect\n memory free","submitter":{"id":90810,"url":"http://patchwork.ozlabs.org/api/people/90810/","name":"Balaji Selvanathan","email":"balaji.selvanathan@oss.qualcomm.com"},"content":"On 5/6/2026 8:58 PM, Marek Vasut wrote:\n> On 5/6/26 5:26 PM, Balaji Selvanathan wrote:\n>>\n>> On 5/6/2026 4:55 PM, Marek Vasut wrote:\n>>> On 5/6/26 8:14 AM, Balaji Selvanathan wrote:\n>>>> The dwc3_free_one_event_buffer() function incorrectly called free()\n>>>> on event buffer structures allocated with devm_kzalloc(). This\n>>>> caused heap corruption and a synchronous abort when exiting\n>>>> fastboot mode via \"fastboot continue\".\n>>>>\n>>>> Device-managed memory is automatically freed when the device is\n>>>> removed, so manual deallocation causes the heap allocator to access\n>>>> corrupted metadata.\n>>>>\n>>>> Signed-off-by: Balaji Selvanathan \n>>>> <balaji.selvanathan@oss.qualcomm.com>\n>>>> ---\n>>>>   drivers/usb/dwc3/core.c | 1 -\n>>>>   1 file changed, 1 deletion(-)\n>>>>\n>>>> diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c\n>>>> index 0dee14c8b59..be198041f08 100644\n>>>> --- a/drivers/usb/dwc3/core.c\n>>>> +++ b/drivers/usb/dwc3/core.c\n>>>> @@ -208,7 +208,6 @@ static void dwc3_free_one_event_buffer(struct \n>>>> dwc3 *dwc,\n>>>>           struct dwc3_event_buffer *evt)\n>>>>   {\n>>>>       dma_free_coherent(evt->buf);\n>>>> -    free(evt);\n>>>>   }\n>>>>     /**\n>>> Does this need:\n>>>\n>>> Fixes: 884b10e86a05 (\"usb: dwc3: core: fix memory leaks in event \n>>> buffer cleanup\")\n>>>\n>>> ?\n>>\n>> Hi Marek,\n>>\n>> We remove only \"free(evt)\"; \"free(dwc->ev_buffs);\" from this patch \n>> (884b10e86a05 \"usb: dwc3: core: fix memory leaks in event buffer \n>> cleanup\") is needed.\n> The Fixes tag is only a reference for posterity, to trace which \n> previous commit this change repairs. The change itself is fine. Thanks !\n\nHi Marek,\n\nGot it. Thanks for the feedback. Have added fixes tag and respinned: \nhttps://lore.kernel.org/u-boot/20260507-usb-v2-1-3958b8732553@oss.qualcomm.com/\n\nRegards,\n\nBalaji","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=PrAktIaL;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=a9b7VhSP;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=none (p=none dis=none) header.from=oss.qualcomm.com","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"PrAktIaL\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"a9b7VhSP\";\n\tdkim-atps=neutral","phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com","phobos.denx.de; spf=pass\n smtp.mailfrom=balaji.selvanathan@oss.qualcomm.com"],"Received":["from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g9zzm1W1Zz1yCg\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 07 May 2026 14:39:16 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 7665B84903;\n\tThu,  7 May 2026 06:39:13 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 4B43F8490D; Thu,  7 May 2026 06:39:12 +0200 (CEST)","from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 7AF8A848FD\n for <u-boot@lists.denx.de>; Thu,  7 May 2026 06:39:05 +0200 (CEST)","from pps.filterd (m0279868.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 64745o6I879575\n for <u-boot@lists.denx.de>; Thu, 7 May 2026 04:39:03 GMT","from mail-pj1-f72.google.com (mail-pj1-f72.google.com\n [209.85.216.72])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4e0kdq02gc-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <u-boot@lists.denx.de>; Thu, 07 May 2026 04:39:03 +0000 (GMT)","by mail-pj1-f72.google.com with SMTP id\n 98e67ed59e1d1-365ff2ab7beso527870a91.1\n for <u-boot@lists.denx.de>; Wed, 06 May 2026 21:39:03 -0700 (PDT)","from [192.168.0.5] ([183.82.205.86])\n by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-365b4f75f25sm4362822a91.10.2026.05.06.21.38.58\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Wed, 06 May 2026 21:39:01 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n mnY8pIyNJlMEjfxYUfYGdqyHaYYc73N0QKyzcLkpTQM=; b=PrAktIaLvPTcILxO\n ZmELockNjRBbhlgIQIvazqNnfAoey8CFoT1edjOInoHPNkunTzDL5VDmqEFN/KrO\n 7p8+mh6wfQ6yX0XyOAhmTRgsuqw4LyCQLM3kB/G6QcsObSVsHOrHx5RP+or8hOON\n eFIS1xbqCku1Q6bBrfxVXnbJgdehIF5Rr8a92zs2pNLj8+PIDTUa1LgMFVz5brgt\n QItVZOxZf0uIRLVMuRjzxeUrkiFYDgD4fbRPoUmm90NXpivgyv9LUO++sUEomPlL\n 1iyLQaEW6L18QNx/irqBm6DOWdrgUDIM8SmTj6aQDPErwh2N6Sm6uCMTPgsj6wwP\n uczi4Q==","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1778128742; x=1778733542; darn=lists.denx.de;\n h=content-transfer-encoding:in-reply-to:from:content-language\n :references:cc:to:subject:user-agent:mime-version:date:message-id\n :from:to:cc:subject:date:message-id:reply-to;\n bh=mnY8pIyNJlMEjfxYUfYGdqyHaYYc73N0QKyzcLkpTQM=;\n b=a9b7VhSPvxgF9d29U191l5Hhren8xlZyKnCLmfxO/9WJOOc4UJI/p5gS2FYDuoY0jJ\n /UiyUQMKzPX/wCWhCJPwt/z2opFaHuL82YSAW6YckWsoqwxk3UVjpyy6PLfDkq2j7A0y\n Xk3r9EOSayDnX43PvHEthH96/Wt7MYzMxMOdj+wjiqTBWb5KaLDl4fAhn5uPQzUlIF/c\n GtpOXnaoTVCZHPrnorKAzggoNLsrnMYHMT788/7MUvlHIWXlDP4MNTg80lRl7ao1uRq5\n 7DsNWatrhHhXmryIRz42Nst3HYTAaZPlo7MkxE0/EWA/eU+ZJGYsbyRsOhIygYWkgRs5\n f0rA=="],"X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778128742; x=1778733542;\n h=content-transfer-encoding:in-reply-to:from:content-language\n :references:cc:to:subject:user-agent:mime-version:date:message-id\n :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=mnY8pIyNJlMEjfxYUfYGdqyHaYYc73N0QKyzcLkpTQM=;\n b=PUWobLSXMOq8hl/XTMvDahhpWWpZptnB9FrrZkDQ4vBeyMI5A3JRP/dcYBABFItEGU\n 6KXqP/61M6Qez+0FDn2nAyJ9PB0bxQmF//qfq/aKvD+hGf79URQClUL4E+La9VN08/T7\n qvA/1kHaSu3DBXGFDjmp9AeM4+ANXtAKyCBUXc5roUyczBeqRgy+gONgPHTuMbAFWuyf\n jSJxqlc9aeN11Z/sAXSr4KvHHMXrITZJ8v+UfJNwCWgRGA1vFzKxdN+JZbvt1K4HOp1Y\n dlme8q7Je7jjXrxFn1sCjZPLHKA2Brps7vsG19JIDjHtrMWvaNK+0dSz8hPSOpNfekaD\n Z6EA==","X-Forwarded-Encrypted":"i=1;\n AFNElJ/F95wrmzFAXNOuuAglvEGFpkoKZQY5o5o9D/j8d/Rl3RVzWmd3QUvHSTyGQCxe3aonmCaKh18=@lists.denx.de","X-Gm-Message-State":"AOJu0YyNplXAR/vfRM/kikf+KuR+CQsTKCol9xUsZuFTPyVn/uOdR9Pp\n 9kFF9UpgtalCEnmmWuXQf/SmBbXDRIvMgYvxrW0YcA9LjpzkEsP3io6K0xKrzuxvx+8son4ep9r\n cTmEDupMNZV7xVgAA05FZBzQwIqzM8kyW5aQGYcD3NuQPZeXLypTH+EXO","X-Gm-Gg":"AeBDietTqdp6IPNBr9KMsKOtP41Vy611EYFS7MuMs5SymL06Ez0YcflBY/7j6l4s/fp\n VKaEp2RUOFpMrZQHd1CQKNuvBHyyc7BHWzl7JCBBMWdIn5A9rZ8uYino0VT6pocmui4FdFky5on\n ODNgxQbKdcq2o3I9l+rZxzRezNBpe7zrWiNT1wjaBX3u8kcbf/jTqK51lCe7YHzymP1t+fWTdu6\n 0OmpWG4mMWsd7a7Vrild8MJBUeI+NsUaok5vBc+/rPfTf2RfMS69NmJz6eDKJuC0U/hXEjelDkT\n udShs91v6IMUmeIVUvmMk2HYp3S7NosnRQex+WGPYIvvIe//fQqoyVZuvBTIW52DnILRAWwMmgl\n 3PnNqDIlUHPC6bqxnVYVbxh53agOlij2RWn3u2Grw6izamullSIFr/K4ay7EJh1Ibw+Xy","X-Received":["by 2002:a17:90a:d646:b0:356:21e9:73ff with SMTP id\n 98e67ed59e1d1-366055e69demr999253a91.11.1778128742351;\n Wed, 06 May 2026 21:39:02 -0700 (PDT)","by 2002:a17:90a:d646:b0:356:21e9:73ff with SMTP id\n 98e67ed59e1d1-366055e69demr999227a91.11.1778128741710;\n Wed, 06 May 2026 21:39:01 -0700 (PDT)"],"Message-ID":"<5c6feffa-1f21-45df-ae2e-c313393593cc@oss.qualcomm.com>","Date":"Thu, 7 May 2026 10:08:56 +0530","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] usb: dwc3: Fix crash on fastboot exit due to incorrect\n memory free","To":"Marek Vasut <marek.vasut@mailbox.org>, u-boot@lists.denx.de","Cc":"Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Chris Morgan <macromorgan@hotmail.com>,\n Casey Connolly <casey.connolly@linaro.org>,\n Varadarajan Narayanan <quic_varada@quicinc.com>,\n Gurumoorthy Santhakumar <gurumoorthy.santhakumar@oss.qualcomm.com>","References":"<20260506-usb-v1-1-e0f426bb1e42@oss.qualcomm.com>\n <a74a7a66-c1f1-4d6e-b85a-49ecc8e2e882@mailbox.org>\n <437a2860-fecf-4f45-bbe4-3fb9e8958b6a@oss.qualcomm.com>\n <6320a41d-77ce-402a-935e-ea5b6566452c@mailbox.org>","Content-Language":"en-US","From":"Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>","In-Reply-To":"<6320a41d-77ce-402a-935e-ea5b6566452c@mailbox.org>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"8bit","X-Authority-Analysis":"v=2.4 cv=P6IKQCAu c=1 sm=1 tr=0 ts=69fc1767 cx=c_pps\n a=RP+M6JBNLl+fLTcSJhASfg==:117 a=zmnrgFrZdAT0tyz+jvxjSw==:17\n a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=ZpdpYltYx_vBUK5n70dp:22\n a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=Mteuuo-1QxKlh2dnY80A:9 a=3ZKOabzyN94A:10\n a=QEXdDO2ut3YA:10 a=iS9zxrgQBfv6-_F4QbHw:22","X-Proofpoint-ORIG-GUID":"h3deT1XKx_C6KQ5mdEp3facwdxEo6eez","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwNTA3MDA0MiBTYWx0ZWRfX79g9N4lx0GMw\n 9YDSh9olfKRsP/0WbHAmy6qOWLPifX4Nj0HIQJSsLCSAv0vFjbCElHXTJ6Uh6YlxMABheDubcqZ\n bFQZQX6U6pXt2KasJukyRmjad0u4l2sZmkghIb2hC1LZ6PAZdKnbxYs94Qn6vWb904UeQU5R9kG\n eQ6iZom2stC9/KeejtATXYRhlj4Pv361vFE00Zq1cKrqTirJyd6mWUD2xoQiZbTredo2wXWhH7/\n H6oOZjRJPnCt9oHdq5wasqbt7p+Qe05LjST2Zx4LrL9b53Trcju1rz2mpaU6VwLkqpBuMN7n0iR\n SUDaDY56Er2vjTHNO5h4RFLePt3iWf5EF7FN+UdmtWZRmC0QQxAXUed8MDCbi3ZB/t2BSYkiZkN\n ac9GGQUQ8Z5gOSVWWMEf84dc8hQj44WOD20FGGdvwLwEZ80x2JB6OZPbULYLnrYeOUtQzl4PqGh\n E2+ZgWAhNTfbfP3xV8w==","X-Proofpoint-GUID":"h3deT1XKx_C6KQ5mdEp3facwdxEo6eez","X-Proofpoint-Virus-Version":"vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-05-06_02,2026-05-06_01,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n phishscore=0 suspectscore=0 clxscore=1015 bulkscore=0 spamscore=0\n lowpriorityscore=0 malwarescore=0 adultscore=0 priorityscore=1501\n impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000\n definitions=main-2605070042","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"}}]