From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f71.google.com (mail-io1-f71.google.com [209.85.166.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 115D4487BF for ; Sat, 18 Jan 2025 11:21:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737199264; cv=none; b=XwFVVADg3Wu+DV9HT8vGkX6mHCr8edwHYGU4annWJ0w3z9rq7czDftHAH7NPhIA0wz1D9gcqBifRJctCj7PmxeS0D38cnZOpCHoFE6JNiqiz6Dao4RLWdandlJB7NC7G+7tLR24d3bvGJx+IuL3NpdxyvPwfUBIukEmZ6WDq+U0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737199264; c=relaxed/simple; bh=8j68GUIA3xxilUr5aqyrfOIIQ9TB/UqOySNCCFf9a5s=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=H7NbChQzW7f+EIBQTLFhj1NQbUNn8gyAqjd+tAHTcQipVJKVgeihjmIyPA9+h+RqRV5j3bPn2HL+FMitGryx3R6HWq7P5GBahmNtEsrDzdPZSQ6RHrUlO/6MAkdpiCy6du2YdypUQ6v2xJUPd+OJ7MnU4ZzBprVO2JZ4xjyAQws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.71 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-io1-f71.google.com with SMTP id ca18e2360f4ac-844d02766f9so203364839f.1 for ; Sat, 18 Jan 2025 03:21:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737199262; x=1737804062; h=to:from:subject:message-id:in-reply-to:date:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=O7CafeVhr4b8ixdmEQb5n1tKVrU3mKkqR5NMKrEk2+A=; b=mdUwvK9tqcU7Tx4oplbkdnAdgpU4yCf3erQfOQ/gBDx+KWkkYTkfQHJdi69vI6iIKe WCbqLhMh57YMK+vByyrsQk3cSrKZVpt+6Z5gTcR8JZAYCfQAPbAYhGSemrn/qT4SFyiM G0H5TprjDv4yeV4Cr4IwjYUrhog914dTZLW6797lBscyMXJwTFQqk1xkqscu5vsgZGwz 0KSp0Aq3EzehGMzY4qc+ALlljulJEwI+lxDw/WLYaE5SbKJ5tU9eYnEfFaE0m2EuL7TB tC3iZIbo1JZg2u0jBve1pTlEOAuZhbh8rcUBAmBDVCFFR9ASePUvZ8XTMUxNA/f2KJvC 67jA== X-Forwarded-Encrypted: i=1; AJvYcCXRcJjhpAQ4MJm6FTP3bexYtYFC9xPnshyZlZFQTbMHcK5gj8gSlXsYbjTfRJPhhzLi844I7eTHuSTRLKM=@vger.kernel.org X-Gm-Message-State: AOJu0YycrljKC+RUk55iOv3fRFd5XffHfqKIKcIzWqt07Qpp+CsSoqDt gVmJsd+XKnsWMBXB2e/uctHmMzr1p8QGPM2XCDUingSDJNeUrKsp8C52WqXy4AxrByD/pNtl+me AOwGIDg/0oe2gkGcgNNoMD9DEK59iWcY9dOo6TDP3IhenhN+rt4DaMmY= X-Google-Smtp-Source: AGHT+IEroWDchbY1ryi8YAAn4e2TvYbtp9p+7kKMbJBm5CYaycleJhWwNGN5RKIZaBuWazoXQaasWYTYPVqyclp3LKvh03hf1wKU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:3f0b:b0:3ce:a676:5cec with SMTP id e9e14a558f8ab-3cf743aba5bmr49712475ab.1.1737199262145; Sat, 18 Jan 2025 03:21:02 -0800 (PST) Date: Sat, 18 Jan 2025 03:21:02 -0800 In-Reply-To: <20250118110555.1978-1-hdanton@sina.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <678b8e9e.050a0220.303755.0021.GAE@google.com> Subject: Re: [syzbot] [net?] KASAN: slab-use-after-free Read in handle_tx (2) From: syzbot To: hdanton@sina.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot has tested the proposed patch but the reproducer is still triggering an issue: INFO: rcu detected stall in corrupted rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 0-....: (10502 ticks this GP) idle=53f4/1/0x4000000000000000 softirq=13718/13719 fqs=4654 rcu: hardirqs softirqs csw/system rcu: number: 0 0 0 rcu: cputime: 104 0 52395 ==> 52510(ms) rcu: (t=10502 jiffies g=11589 q=64997 ncpus=4) CPU: 0 UID: 0 PID: 1415 Comm: aoe_tx0 Not tainted 6.13.0-rc7-syzkaller-g595523945be0-dirty #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:194 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 76 22 4a f6 48 89 df e8 ce a1 4a f6 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 c5 86 3b f6 65 8b 05 86 30 d7 74 85 c0 74 16 5b RSP: 0018:ffffc90006d4f9e8 EFLAGS: 00000246 RAX: 0000000000000002 RBX: ffffffff9ab12620 RCX: 1ffffffff2dd995e RDX: 0000000000000000 RSI: ffffffff8b6cd9e0 RDI: ffffffff8bd1efe0 RBP: 0000000000000293 R08: 0000000000000001 R09: fffffbfff2dca7be R10: ffffffff96e53df7 R11: 0000000000000002 R12: ffffffff9ab12728 R13: 0000000000000003 R14: 0000000000000001 R15: 0000000000000003 FS: 0000000000000000(0000) GS:ffff88806a600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00772e000 CR3: 000000000df7e000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] uart_port_unlock_irqrestore include/linux/serial_core.h:786 [inline] uart_write+0x4c1/0xb30 drivers/tty/serial/serial_core.c:628 handle_tx+0x203/0x630 drivers/net/caif/caif_serial.c:236 __netdev_start_xmit include/linux/netdevice.h:5002 [inline] netdev_start_xmit include/linux/netdevice.h:5011 [inline] xmit_one net/core/dev.c:3620 [inline] dev_hard_start_xmit+0x9a/0x7b0 net/core/dev.c:3636 __dev_queue_xmit+0x7f0/0x43e0 net/core/dev.c:4466 dev_queue_xmit include/linux/netdevice.h:3168 [inline] tx+0xcc/0x190 drivers/block/aoe/aoenet.c:62 kthread+0x1e7/0x3c0 drivers/block/aoe/aoecmd.c:1237 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Tested on: commit: 59552394 Merge tag 'devicetree-fixes-for-6.13-2' of gi.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1567e9df980000 kernel config: https://syzkaller.appspot.com/x/.config?x=d1cb4a1f148c0861 dashboard link: https://syzkaller.appspot.com/bug?extid=827272712bd6d12c79a4 compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 patch: https://syzkaller.appspot.com/x/patch.diff?x=111a4164580000