From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9A8AFC4361B for ; Thu, 10 Dec 2020 17:55:28 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E92FF23E1D for ; Thu, 10 Dec 2020 17:55:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E92FF23E1D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 32EE56B006E; Thu, 10 Dec 2020 12:55:27 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 2DF8D6B0070; Thu, 10 Dec 2020 12:55:27 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1DC9A6B0071; Thu, 10 Dec 2020 12:55:27 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0101.hostedemail.com [216.40.44.101]) by kanga.kvack.org (Postfix) with ESMTP id 07B8A6B006E for ; Thu, 10 Dec 2020 12:55:27 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id BF8E3246E for ; Thu, 10 Dec 2020 17:55:26 +0000 (UTC) X-FDA: 77578124652.25.price68_5a10f0b273fa Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin25.hostedemail.com (Postfix) with ESMTP id 9E3AC1804E3A1 for ; Thu, 10 Dec 2020 17:55:26 +0000 (UTC) X-HE-Tag: price68_5a10f0b273fa X-Filterd-Recvd-Size: 5464 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by imf47.hostedemail.com (Postfix) with ESMTP for ; Thu, 10 Dec 2020 17:55:26 +0000 (UTC) Received: by mail-lf1-f49.google.com with SMTP id l11so9536258lfg.0 for ; Thu, 10 Dec 2020 09:55:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zDlVyBN2lUAerbsJjfSwE5HuWZyqsr4KS2OdCDR9W8E=; b=tI4RzZVY6tTNeOA+ZqmiGXRJfIZ8PTZQfQwri7DxJmIH5X+pRLgSfkGPDkab358/mf ioBD2L3KDrUkBq6m90G4GeITPVY9LKErXJoPvU3xdMBWee0fh7JEegHm0GN2qQmPb/If lrB0SelzpD+GUo+5w5uhgA7AGKDlAktu9xALYkKgM5w1Hk/5sBqfZBWHWZOxyvqwu9Rf uaiMYVQT6OZh+PUM6di5eEddLfgeUqozfrbzYawNOKmU0SnuKhkK5gjo5Ua7cuFAjQd3 Eloq0wK3f5i00rhC/8t5PSsFt4jaT6uyIRzcpx8N+y6FGKv64Too8AgAJSNHgZS5gX6l bolw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zDlVyBN2lUAerbsJjfSwE5HuWZyqsr4KS2OdCDR9W8E=; b=mCi4Eo1BS78XraopfpdTtInPLSOkYcDX2jcFodFYvtyChBOXF2HDktE4e2HKDGQxRs b73A7eO+MSw+2rYILaK44V97nF9jvdyha8ZaKPzSFhPxjswz0mslD1whxX27N0164cAk QbyDI0dAtwpvxdmDxlImutwBXVOaveUKhq4s5FXOEyl98yRl9jequDhXTk4NztvoHtu7 M2vfjGib+l/eWxALWIfnabpNmxG0AHc3SI1CoBGJFsRJuRU5MUFbWqJZNePPVpUdx4Vm TPCOhHucFB1bgmiWp/IC8AjUd4nDG2do1dGH2U315bqd1MFxn294X4WAPkSLf/EGOFio ERmQ== X-Gm-Message-State: AOAM532DaEENvqAtFOvUfl47FWJSHQbz43C5xqzf8NPGhln5EFpsNNGy wadkS7vPJOqvm3i11zZ9+GRUJKKBs0Vc7sZ+C8DKmBmBSHs= X-Google-Smtp-Source: ABdhPJz6vDKLyBKUw66NRXdsmGxMs8U1Xr4eXqSBTp+ZUXIGwsCdA06o9ospaVsoFbYMUedj4OT91eqlT4Mcp7g3K1Q= X-Received: by 2002:a19:be14:: with SMTP id o20mr3545636lff.305.1607622924784; Thu, 10 Dec 2020 09:55:24 -0800 (PST) MIME-Version: 1.0 From: Md Muazzam Husain Date: Thu, 10 Dec 2020 23:25:13 +0530 Message-ID: Subject: Slab bug during skb allocation To: penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, mdakhil2003@gmail.com Content-Type: multipart/alternative; boundary="0000000000005d58f205b61fe120" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: --0000000000005d58f205b61fe120 Content-Type: text/plain; charset="UTF-8" Hi All, I have kernel version 3.10.59. So during the allocation for skb i am getting call trace for __netdev_alloc_skb which follows till cache_alloc_refill and finally crashes. Please find snapshot below. addr2line -e vmlinux ffffffffc114109c shows linux/mm/slab.c:2700 has the problem. Is there any existing bug and any patch for this. Call Trace: [] *cache_alloc_refill*+0x1b4/0x848 [] __kmalloc_track_caller+0x124/0x1f0 [] __kmalloc_reserve.isra.17+0x40/0xa8 [] __alloc_skb+0x84/0x1a0 [] *__netdev_alloc_skb*+0xdc/0x148 [] xlpnae_irq+0x148/0x200 [] handle_irq_event_percpu+0x94/0x3f0 [] handle_irq_event+0x54/0x98 [] handle_level_irq+0xe4/0x170 [] generic_handle_irq+0x38/0x58 [] do_IRQ+0x18/0x28 [] plat_irq_dispatch+0x258/0x490 [] ret_from_irq+0x0/0x4 [] __r4k_wait+0x20/0x40 [] cpu_startup_entry+0xd4/0x2d8 [] prom_pre_boot_secondary_cpus+0x0/0x48 Thanks, Muazzam --0000000000005d58f205b61fe120 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0I have kerne= l version 3.10.59. So during the allocation for skb i am getting call trace= for=C2=A0__netdev_alloc_skb which follows till=C2=A0cache_alloc_refill and= finally crashes. Please find snapshot=C2=A0below.
addr2line -e v= mlinux ffffffffc114109c shows linux/mm/slab.c:2700 has the problem. Is ther= e any existing bug and any patch for this.

Cal= l Trace:
[<ffffffffc114109c>] cache_alloc_refill+0x1b4/0x84= 8
[<ffffffffc1141854>] __kmalloc_track_caller+0x124/0x1f0
[<= ffffffffc144a930>] __kmalloc_reserve.isra.17+0x40/0xa8
[<ffffffffc= 144b644>] __alloc_skb+0x84/0x1a0
[<ffffffffc144d084>] __netd= ev_alloc_skb+0xdc/0x148
[<ffffffffc13fb510>] xlpnae_irq+0x148/= 0x200
[<ffffffffc10b87ac>] handle_irq_event_percpu+0x94/0x3f0
[= <ffffffffc10b8b5c>] handle_irq_event+0x54/0x98
[<ffffffffc10bc7= 24>] handle_level_irq+0xe4/0x170
[<ffffffffc10b7d90>] generic_h= andle_irq+0x38/0x58
[<ffffffffc1018a20>] do_IRQ+0x18/0x28
[<= ffffffffc1015ce8>] plat_irq_dispatch+0x258/0x490
[<ffffffffc1016a0= 0>] ret_from_irq+0x0/0x4
[<ffffffffc1016ca0>] __r4k_wait+0x20/0= x40
[<ffffffffc109072c>] cpu_startup_entry+0xd4/0x2d8
[<ffff= ffffc1014ab8>] prom_pre_boot_secondary_cpus+0x0/0x48

<= /div>

Thanks,
Muazzam


--0000000000005d58f205b61fe120--