Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4230427rwj; Tue, 20 Dec 2022 07:37:51 -0800 (PST) X-Google-Smtp-Source: AA0mqf4SAHVXDxswZ5ifKmLRfHU3NTgIVJocjJTjRUCmUcEcSJpdobGWHNczrLYrQikSSHZKts6P X-Received: by 2002:a05:6402:2034:b0:470:49a2:ad70 with SMTP id ay20-20020a056402203400b0047049a2ad70mr24778853edb.5.1671550671714; Tue, 20 Dec 2022 07:37:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671550671; cv=none; d=google.com; s=arc-20160816; b=jZzbR9blB2RpW/MHR4RzAL0xANuXeQny1vwSAblf0eiAHm6MyS5XUTMsOJ1Sn1t0ts rHhSAZn3Gbm0S7JVHGTgT5t00JrC+YL/lUpOoef1nRmVHxsAFPURNfQ3UqJNWOmCFnKF xLxzV2Cg0IiuS8ifelO+X2qpRix8roI8UoKkQ97rsEm2WP/w0o7F3r2jN6M9iuzmvJ6N AyQrJe4hXdV31LCRV2SbhCZYzjJJKhTPAfoMM/GD7RaHS5oYBfR0vXAgGzIhBqHATTj7 3NZZRDN33Ryv6CngyT4QtOAyfVOWMnV+1hcfpsC4FkIbYKazZAbpEppRbtwLx7V+zmWf SwOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=yniX3DcpRk9sBiWCBy+TnUkgS03lpuXwo8Z0rlKMOu8=; b=BTXFiSLwH7Sq0OBYH9xqrz4DAvkkXFaStRSiNYICv6v3WUTxERiFu7bKCJgwC0kw1s AgxMpT+Je+a2PvHUVHY/zJm2WloSAQBfEq4T/zsXhSE9kPRb+lcgJvzhb1hvMexpXzeS vuWbZznAHC136EFvwM01iVf0gFczv4HvpcIdgIXNQf+vB3GT2jEGFtEpOQ3K7F05ftVI Gj65Y+y9rTB6OhgxOCY0u9HWkX68WtQ74hFITRKQXwB29gWN3CwdLuTsaT4jwIrFgt14 dQVmoNuPcWSc1nCfAI4LVN0NoORYSHBbANMhG9QJ8ggliY94u57SsS7qQNAijs28uCwD EWPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="PNhbt/RG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j9-20020a50ed09000000b0047ad7c7578fsi3563183eds.137.2022.12.20.07.37.35; Tue, 20 Dec 2022 07:37:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="PNhbt/RG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233730AbiLTPWt (ORCPT + 69 others); Tue, 20 Dec 2022 10:22:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230017AbiLTPWq (ORCPT ); Tue, 20 Dec 2022 10:22:46 -0500 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74BF51A3B7 for ; Tue, 20 Dec 2022 07:22:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1671549765; x=1703085765; h=message-id:subject:from:to:cc:date:in-reply-to: references:mime-version:content-transfer-encoding; bh=6gLafIRStZG6lRFMZBHBv6Gl27kyIWKo/pz2JOmDTLk=; b=PNhbt/RG5VMnLfX+xaFMtZjPy8jzBwniLs2Jt2C7NY7wwHsIN2Q66Fok GYM9+QTLPF7p73SszHZfA9yI/A479xbRIA6ZSA4CgDGQKYaSXBMwTtl9e 2ESwsHGdAhsQg4fwMeyhsylwfM9XB7LigEX0+hlebROy6np5cZoL8m9xa M8Bj5AghIGBEphOzomoqvaAnuEo6B8/vT3dNlcGS4kDOPxftnWwGWCQcH s8OudC/ukntrybYikRqEG8TIOBt7hOKk8pLSHN+IOHakDVS5Z6LAg2N2w Uc0ENffLbba1LW0hls8fktRMbDySxE2l7PNQaO0/xLVqcmrl0ChPIvIpG g==; X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="319688045" X-IronPort-AV: E=Sophos;i="5.96,259,1665471600"; d="scan'208";a="319688045" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2022 07:22:37 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10567"; a="719601472" X-IronPort-AV: E=Sophos;i="5.96,259,1665471600"; d="scan'208";a="719601472" Received: from kjayadev-mobl.amr.corp.intel.com (HELO spandruv-desk1.amr.corp.intel.com) ([10.251.27.109]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Dec 2022 07:22:37 -0800 Message-ID: <05424a5351a847786377a548dba0759917d8046c.camel@linux.intel.com> Subject: Re: Possible regression in drm/i915 driver: memleak From: srinivas pandruvada To: Mirsad Todorovac , LKML , jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com, Rodrigo Vivi , tvrtko.ursulin@linux.intel.com Cc: Thorsten Leemhuis , intel-gfx@lists.freedesktop.org Date: Tue, 20 Dec 2022 07:22:36 -0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Added DRM mailing list and maintainers On Tue, 2022-12-20 at 15:33 +0100, Mirsad Todorovac wrote: > Hi all, > > I have been unsuccessful to find any particular Intel i915 maintainer > emails, so my best bet is to post here, as you will must assuredly > already know them. > > The problem is a kernel memory leak that is repeatedly occurring > triggered during the execution of Chrome browser under the latest > 6.1.0+ > kernel of this morning and Almalinux 8.6 on a Lenovo desktop box > with Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz CPU. > > The build is with KMEMLEAK, KASAN and MGLRU turned on during the > build, > on a vanilla mainline kernel from Mr. Torvalds' tree. > > The leaks look like this one: > > unreferenced object 0xffff888131754880 (size 64): >    comm "chrome", pid 13058, jiffies 4298568878 (age 3708.084s) >    hex dump (first 32 bytes): >      01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  > ................ >      00 00 00 00 00 00 00 00 00 80 1e 3e 83 88 ff ff  > ...........>.... >    backtrace: >      [] slab_post_alloc_hook+0xb2/0x340 >      [] __kmem_cache_alloc_node+0x1bf/0x2c0 >      [] kmalloc_trace+0x2a/0xb0 >      [] drm_vma_node_allow+0x45/0x150 [drm] >      [] __assign_mmap_offset_handle+0x615/0x820 > [i915] >      [] i915_gem_mmap_offset_ioctl+0x77/0x110 > [i915] >      [] drm_ioctl_kernel+0x181/0x280 [drm] >      [] drm_ioctl+0x2dd/0x6a0 [drm] >      [] __x64_sys_ioctl+0xc4/0x100 >      [] do_syscall_64+0x58/0x80 >      [] entry_SYSCALL_64_after_hwframe+0x72/0xdc > > The complete list of leaks in attachment, but they seem similar or > the same. > > Please find attached lshw and kernel build config file. > > I will probably check the same parms on my laptop at home, which is > also > Lenovo, but a different hw config and Ubuntu 22.10. > > Thanks, > Mirsad > > -- > Mirsad Goran Todorovac > Sistem inženjer > Grafički fakultet | Akademija likovnih umjetnosti > Sveučilište u Zagrebu