Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2684229lqp; Mon, 25 Mar 2024 06:37:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWl1FOlf2fTBt4Ay+geHgcdkwP906ByNa/xWOiAPAOOpTwbZFrdE+0H/ljJW+IvdmsU9VzFHE6Mf3caKU27MadENnKNMcYUZ+cgIFRguw== X-Google-Smtp-Source: AGHT+IHSI0xiNLSffOfvSsbYMSSmuNsFvElH1wTIwgkhq5p2ka8qg7IEHSNmfmSUB8e6n98jYFYN X-Received: by 2002:a92:870c:0:b0:368:5cc2:6dff with SMTP id m12-20020a92870c000000b003685cc26dffmr6641466ild.8.1711373871602; Mon, 25 Mar 2024 06:37:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711373871; cv=pass; d=google.com; s=arc-20160816; b=I67oeDvUBGCMnoC3o2wlM6vFfyfosEH3gzdNS215AI83+Iv5V+vW6IkJFD7+uB1HuZ +jeY7jRKvyIGCZIEFZNmEjHtqsW/HhfK7GIeWXpWEFW4Nj+QYuPn4duaae5Tk1E5h6L5 JaCK5AhXM9WiR0+TVCtCCV7aB5mJ8Of6o0crF5bCP8ue474um2/56hAoh9BtBqR9YRsC qBB6hl8/El/u2fUp0dGMVZZEhYctKSkk7PC7IUhwkYx99QRHbvE8ZUTYuuwRWjwFmYRH L78b02k1G6HJfXxkPgWbRkL3nhdW/SsTIg/wDgNQe31N6MsjxXnU6pME7LnCDN85l+WB cFfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id:dkim-signature; bh=PXxUYXNi2B5JrRFUMDl5qPnuHfLdN9B9ueRStkVYom4=; fh=V0t47tP1MI3yTL7QGUteAzO90pcNeZpJExG2szmQpjU=; b=r25ColYhLO3Dsu0coOn6Cr4UXb2oyvax76gUsMnB7U5J4cB4EWECerrQmZ8uWjNpeV wUQKbnNwrreb/clGdtJBhOEpGPl5gbYpy8WK8+B924m2P5GFJVi57UgMo2TdonPiGUwK wkkXBXGNwIKJY/MhWLgDebxDbH65UjwMdprV5efUJ1Q4jezulRgIZyOx6vBTfSVtNqR5 8FhYf5pYm9PB+F8PZdZtTJamYRoIg0nAyfAznN2gT09w/gAppO32VEpUO8l0jU95NM43 NncYIrd4ZVDEgGSC6T8+tQcdkg24chPABVMvvh3HC0MtWKKlWMU4JqrK8L5ClKSEMwF+ AG+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QQSs45jo; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-116662-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116662-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y10-20020a63fa0a000000b005d81b96abb9si7659405pgh.888.2024.03.25.06.37.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 06:37:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116662-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=QQSs45jo; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-116662-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116662-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8C06C2C1754 for ; Mon, 25 Mar 2024 13:34:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 25C0412D1F0; Mon, 25 Mar 2024 10:21:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="QQSs45jo" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B4A9812CDB1 for ; Mon, 25 Mar 2024 07:45:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711352757; cv=none; b=b0XL74VUMqqTJeCF8Hg5pDlWYx4KdxYuOIdUgyZ9XFslRce5DU8VpGixzznpcDXPTqCnyHNHuc8IYxCNXkJ+JCnzRpW2xGnAjmNlhohRs9rtaVuD19X3rtwAo1Zg+9WKLCGtiB5OUU2jfnvOt3bclGfPN9vu/q+ogM2wtRjHXNc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711352757; c=relaxed/simple; bh=XLXR7CpeR8gHAez+Vwa8A2VvxLDQcEPkSjGIz/Pgx0g=; h=Message-ID:Date:MIME-Version:To:Cc:From:Subject:Content-Type; b=NNhI45Qtj1iKTEQLDoWc1ORaPjp/AIDIU2o8hHnf052mKKxgANVqLPHAxkZDpSgQCXpre92n4IVszJU0Se56YHvgRRuzyud56PLv5iZBAywBj4INp0j5IjIGU9MI+Eg3HkXpDNoGLlaleKVS6U9KufKDIrnsbue244etqr7VpTY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=QQSs45jo; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711352754; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=PXxUYXNi2B5JrRFUMDl5qPnuHfLdN9B9ueRStkVYom4=; b=QQSs45jo6eXyoK0lK02A8RnAYGcgjVXJ0ZOMHC/lJGBJj6cIQa5HP/oub/4Qtkf0svP8lc iz5oPfpgHBe07enbqFn9uIe+oRY9hlP0vRsJlALAjgaU2PRe3RaKIu4WW7kR3wZuq4M3n1 QZvu4zpJ4QObRdLgduCStlWlx2RS1vw= Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-626-mfYpWBL6PqeDkxMe6ychaQ-1; Mon, 25 Mar 2024 03:45:52 -0400 X-MC-Unique: mfYpWBL6PqeDkxMe6ychaQ-1 Received: by mail-pf1-f199.google.com with SMTP id d2e1a72fcca58-6e356790f94so2463481b3a.1 for ; Mon, 25 Mar 2024 00:45:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711352751; x=1711957551; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=PXxUYXNi2B5JrRFUMDl5qPnuHfLdN9B9ueRStkVYom4=; b=kxBU+xBULpQGONbRN3Q9iU1IV6IkI2BV7vgNZXiYYdfEH3q0EsuF3aDFfnrt08v0r5 fQJAXbCWMkWun9oqx5x23Eb+Ys+okfqseb4PpxqnYDmyLiSn4ydOcFR/PVm2kFRqnk8N qkcV5QfFUCZsRcRGq6v8l6+7wOkcfL2KbHCPnI+cYf2Ixl28EwTYzsn6I+z0DC4/MPNS /Vpu0VhwDB5yUDNClRVXJ+Vtjs3TsZygrNTBa90FACf6EytQ3lTt62oSOHc8HgFJgsrT 8ebe9vzTomj94DjbLjQm7HkewP//v63zmk+ED1CDFdZRwC2g7inAw4W8S0jGbu03mDuJ B+NA== X-Gm-Message-State: AOJu0YwRIqOkBY7wI2FvEU4NAlbYap1oJZtO791lBlyeHogC3lD7LutT 6jl7LXlw+AEDXLDZEjtv2SIOqRLWUkSflJqYOc/iAYzhpwHvNNsyL7FcoWD2qAOsAkKBasppe3w 3iy3N4YIY1FFnWw4eYhMeZHT49fQGrko+VnBKDNCAZ6bsJUZ9g+Lzo4WHGFFH/vGHwdaLFbLk X-Received: by 2002:a05:6a00:4fc9:b0:6ea:7ff3:e8c1 with SMTP id le9-20020a056a004fc900b006ea7ff3e8c1mr9608557pfb.5.1711352751116; Mon, 25 Mar 2024 00:45:51 -0700 (PDT) X-Received: by 2002:a05:6a00:4fc9:b0:6ea:7ff3:e8c1 with SMTP id le9-20020a056a004fc900b006ea7ff3e8c1mr9608542pfb.5.1711352750729; Mon, 25 Mar 2024 00:45:50 -0700 (PDT) Received: from [10.72.113.22] ([43.228.180.230]) by smtp.gmail.com with ESMTPSA id v6-20020aa78086000000b006ea8c030c1esm3576295pff.211.2024.03.25.00.45.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 25 Mar 2024 00:45:50 -0700 (PDT) Message-ID: Date: Mon, 25 Mar 2024 15:45:46 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Ceph Development , linux-fsdevel@vger.kernel.org From: Xiubo Li Subject: kernel BUG at mm/usercopy.c:102 -- pc : usercopy_abort Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi guys, We are hitting the same crash frequently recently with the latest kernel when testing kceph, and the call trace will be something likes: [ 1580.034891] usercopy: Kernel memory exposure attempt detected from SLUB object 'kmalloc-192' (offset 82, size 499712)!^M [ 1580.045866] ------------[ cut here ]------------^M [ 1580.050551] kernel BUG at mm/usercopy.c:102!^M ^M Entering kdb (current=0xffff8881211f5500, pid 172901) on processor 4 Oops: (null)^M due to oops @ 0xffffffff8138cabd^M CPU: 4 PID: 172901 Comm: fsstress Tainted: G S 6.6.0-g623393c9d50c #1^M Hardware name: Supermicro SYS-5018R-WR/X10SRW-F, BIOS 1.0c 09/07/2015^M RIP: 0010:usercopy_abort+0x6d/0x80^M Code: 4c 0f 44 d0 41 53 48 c7 c0 1c e9 13 82 48 c7 c6 71 62 13 82 48 0f 45 f0 48 89 f9 48 c7 c7 f0 6b 1b 82 4c 89 d2 e8 63 2b df ff <0f> 0b 49 c7 c1 44 c8 14 82 4d 89 cb 4d 89 c8 eb a5 66 90 f3 0f 1e^M RSP: 0018:ffffc90006dfba88 EFLAGS: 00010246^M RAX: 000000000000006a RBX: 000000000007a000 RCX: 0000000000000000^M RDX: 0000000000000000 RSI: ffff88885fd1d880 RDI: ffff88885fd1d880^M RBP: 000000000007a000 R08: 0000000000000000 R09: c0000000ffffdfff^M R10: 0000000000000001 R11: ffffc90006dfb930 R12: 0000000000000001^M R13: ffff8882b7bbed12 R14: ffff88827a375830 R15: ffff8882b7b44d12^M FS:  00007fb24c859500(0000) GS:ffff88885fd00000(0000) knlGS:0000000000000000^M CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033^M CR2: 000055c2bcf9eb00 CR3: 000000028956c005 CR4: 00000000001706e0^M Call Trace:^M  ^M  ? kdb_main_loop+0x32c/0xa10^M  ? kdb_stub+0x216/0x420^M more> You can see more detail in ceph tracker https://tracker.ceph.com/issues/64471. I have seen someone has reported a similar issue one year ago but that has been fixed already, please see https://lore.kernel.org/linux-mm/CANn89iLaWZhrfyn8NBzdN1zQC0d47WC4_jvpwKQPoHwyCVueVQ@mail.gmail.com/T/. Is it a known issue ? Thanks - Xiubo