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=-5.8 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 7F71DC11D3D for ; Thu, 27 Feb 2020 16:04:37 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2A18E2469C for ; Thu, 27 Feb 2020 16:04:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Wiru3hWT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2A18E2469C Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-audit-bounces@redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1582819475; h=from:from:sender:sender: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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=fH0I4uqSU4VKY9Vfr2urh8ZB3WKxbh8c9J1pMSJ1Q74=; b=Wiru3hWTwxDXVVvjNRiFnzRapnlhofYb0B1acDfgTK4EoW0Y+EUeIr+MfoOJLZyxYd1QSQ r9oTqyJxaYt6r3qoK2/eWAFib4PXl+65PBhGQlNE45SSzNxpb6JYuIlqWlRw8inHMUwMvH ZOPeA4YOi3lLEQ7W+z+CbJUYHJwdVLs= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-225-_OlwhXyzOgSTZ3Rs-w9UQQ-1; Thu, 27 Feb 2020 11:04:27 -0500 X-MC-Unique: _OlwhXyzOgSTZ3Rs-w9UQQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B23EC107ACC4; Thu, 27 Feb 2020 16:04:23 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 56D301CB; Thu, 27 Feb 2020 16:04:22 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B610584481; Thu, 27 Feb 2020 16:04:21 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 01RFf7v8008452 for ; Thu, 27 Feb 2020 10:41:07 -0500 Received: by smtp.corp.redhat.com (Postfix) id 7FE701017840; Thu, 27 Feb 2020 15:41:07 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7B2AE10166FF for ; Thu, 27 Feb 2020 15:41:05 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 432F28007B3 for ; Thu, 27 Feb 2020 15:41:05 +0000 (UTC) Received: from mail-qk1-f194.google.com (mail-qk1-f194.google.com [209.85.222.194]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-453-UwHVUPKyMJ-Sps-SuZCbCw-1; Thu, 27 Feb 2020 10:41:01 -0500 X-MC-Unique: UwHVUPKyMJ-Sps-SuZCbCw-1 Received: by mail-qk1-f194.google.com with SMTP id 145so3572793qkl.2 for ; Thu, 27 Feb 2020 07:41:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UcmWvN21kKZ70hUOSa5/kSaL+wAOScFP8hTIhBw94cc=; b=UglmoV5XlH1m5mkZf60h3CuZLb/2bj57mAmoxC+4tXHH9XJuqKQGCMEIBxbjXjKdtq VKYYbOZb9YfIUtqpM5I4FdZJ4HUk1nPMoxCLgN7izMNwHvmgaGY5aUNpJG7Zs/4ioaqX LWHZ3eAZSfV0lt68HUf44Mz57xhib3os8Jghq0Ak5cr4Owuy4yRYL5Ebh9XCnpuWqGhe o5Yi56Xev4rfWZg2NbJd3s2PT0/fUx2TXoydDQCl4meCbhP/Dd8pQSetZjfq5pl9dPYL fxpVronOEJ25ATdqrQL2IWQLteixdNe2QVyCIIvjIYZIT+8Z4ep6ML2sJJ03mDlt9NxW TbhQ== X-Gm-Message-State: APjAAAW6o+qEYdyJpRy1bYmpsBXws9avkeoXAjb6Yl18SKVwhePbBUqL ASTt9cJEvIEegXezk7dh09tk9nq89uneLvq6EIlDQw== X-Google-Smtp-Source: APXvYqyvCcZRyPJXJqpRh+lJbBsXcMCYS+j8CNs54f9MKXADA9C0ZddbN1rC7XyVj5phQQm+xGzC+owGEthT9Uu0wmc= X-Received: by 2002:a37:4755:: with SMTP id u82mr5889350qka.43.1582818061001; Thu, 27 Feb 2020 07:41:01 -0800 (PST) MIME-Version: 1.0 References: <0000000000005fe204059f4ddf27@google.com> In-Reply-To: From: Dmitry Vyukov Date: Thu, 27 Feb 2020 16:40:49 +0100 Message-ID: Subject: Re: kernel panic: audit: rate limit exceeded To: Paul Moore X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-MIME-Autoconverted: from quoted-printable to 8bit by lists01.pubmisc.prod.ext.phx2.redhat.com id 01RFf7v8008452 X-loop: linux-audit@redhat.com X-Mailman-Approved-At: Thu, 27 Feb 2020 11:03:53 -0500 Cc: netdev , syzkaller-bugs , LKML , linux-audit@redhat.com, peter.senna@collabora.com, stas.yakovlev@gmail.com, romain.perier@collabora.com, syzbot , Kalle Valo X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: <20200227154049.WiSZzjR_VAQEDohixhF3or8rc8cq9Y8Sf9CCIZlplJw@z> On Mon, Feb 24, 2020 at 11:37 PM Paul Moore wrote: > > On Mon, Feb 24, 2020 at 3:08 AM syzbot > wrote: > > > > Hello, > > > > syzbot found the following crash on: > > > > HEAD commit: 0c0ddd6a Merge tag 'linux-watchdog-5.6-rc3' of git://www.l.. > > git tree: net > > console output: https://syzkaller.appspot.com/x/log.txt?x=12c8a3d9e00000 > > kernel config: https://syzkaller.appspot.com/x/.config?x=3b8906eb6a7d6028 > > dashboard link: https://syzkaller.appspot.com/bug?extid=72461ac44b36c98f58e5 > > compiler: gcc (GCC) 9.0.0 20181231 (experimental) > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=14c803ede00000 > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=17237de9e00000 > > > > The bug was bisected to: > > > > commit 28b75415ad19fef232d8daab4d5de17d753f0b36 > > Author: Romain Perier > > Date: Wed Aug 23 07:16:51 2017 +0000 > > > > wireless: ipw2200: Replace PCI pool old API > > > > bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=12dbfe09e00000 > > final crash: https://syzkaller.appspot.com/x/report.txt?x=11dbfe09e00000 > > console output: https://syzkaller.appspot.com/x/log.txt?x=16dbfe09e00000 > > > > IMPORTANT: if you fix the bug, please add the following tag to the commit: > > Reported-by: syzbot+72461ac44b36c98f58e5@syzkaller.appspotmail.com > > Fixes: 28b75415ad19 ("wireless: ipw2200: Replace PCI pool old API") > > > > audit: audit_lost=1 audit_rate_limit=2 audit_backlog_limit=0 > > Kernel panic - not syncing: audit: rate limit exceeded > > CPU: 1 PID: 10031 Comm: syz-executor626 Not tainted 5.6.0-rc2-syzkaller #0 > > Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 > > Call Trace: > > __dump_stack lib/dump_stack.c:77 [inline] > > dump_stack+0x197/0x210 lib/dump_stack.c:118 > > panic+0x2e3/0x75c kernel/panic.c:221 > > audit_panic.cold+0x32/0x32 kernel/audit.c:307 > > audit_log_lost kernel/audit.c:377 [inline] > > audit_log_lost+0x8b/0x180 kernel/audit.c:349 > > audit_log_end+0x23c/0x2b0 kernel/audit.c:2322 > > audit_log_config_change+0xcc/0xf0 kernel/audit.c:396 > > audit_receive_msg+0x2246/0x28b0 kernel/audit.c:1277 > > audit_receive+0x114/0x230 kernel/audit.c:1513 > > netlink_unicast_kernel net/netlink/af_netlink.c:1303 [inline] > > netlink_unicast+0x59e/0x7e0 net/netlink/af_netlink.c:1329 > > netlink_sendmsg+0x91c/0xea0 net/netlink/af_netlink.c:1918 > > sock_sendmsg_nosec net/socket.c:652 [inline] > > sock_sendmsg+0xd7/0x130 net/socket.c:672 > > ____sys_sendmsg+0x753/0x880 net/socket.c:2343 > > ___sys_sendmsg+0x100/0x170 net/socket.c:2397 > > __sys_sendmsg+0x105/0x1d0 net/socket.c:2430 > > __do_sys_sendmsg net/socket.c:2439 [inline] > > __se_sys_sendmsg net/socket.c:2437 [inline] > > __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2437 > > do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 > > entry_SYSCALL_64_after_hwframe+0x49/0xbe > > RIP: 0033:0x441239 > > Code: e8 fc ab 02 00 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 9b 09 fc ff c3 66 2e 0f 1f 84 00 00 00 00 > > RSP: 002b:00007ffd68c9df48 EFLAGS: 00000246 ORIG_RAX: 000000000000002e > > RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000441239 > > RDX: 0000000000000000 RSI: 00000000200006c0 RDI: 0000000000000003 > > RBP: 0000000000018b16 R08: 00000000004002c8 R09: 00000000004002c8 > > R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000402060 > > R13: 00000000004020f0 R14: 0000000000000000 R15: 0000000000000000 > > Kernel Offset: disabled > > Rebooting in 86400 seconds.. > > Has the syzbot audit related configuration recently changed? At the > very least it looks like you want to configure the system so that it > doesn't panic when an audit record is lost (printk/AUDIT_FAIL_PRINTK > or silent/AUDIT_FAIL_SILENT are better options); look at the > auditctl(8) manpage for some more information (hint: look at the "-f" > option). That one has more extended discussion of the situation: #syz dup: kernel panic: audit: backlog limit exceeded -- Linux-audit mailing list Linux-audit@redhat.com https://www.redhat.com/mailman/listinfo/linux-audit