Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1716900lqs; Sun, 16 Jun 2024 01:12:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMVhuppVywv0YI1vepwxkBU7M36Rhw6vdTiH9zKtJYVxqWLJ4jEt4RrWxa2i0/g6K+5VwHGrr6GzjNPcExUgb1gEUH3r2GeR+6vlqgvA== X-Google-Smtp-Source: AGHT+IGhJe2pz0xzxdliyLt20kd2vpYJv7sfzIfzsCrt8obMTwweGp+5WEZL6suKMo1E46mC5Jc+ X-Received: by 2002:a05:622a:5288:b0:444:8edd:3cc9 with SMTP id d75a77b69052e-4448edd3d51mr2206631cf.50.1718525531210; Sun, 16 Jun 2024 01:12:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718525531; cv=pass; d=google.com; s=arc-20160816; b=r2kNYkp6nncfvggIwrtsA4S43r5Y4hiXfj7nGJzWq4Dt3M+bR+VYczpqkFu2sRmDGR Kn8H+UdcGcws8RqJl6pw1JaeaGJtG0t2B/IMnfV9WJlpnuGR4NUWZtf29G9RkMx+GHAa I/RiI9ykKsdEUZX18CbyPd5aJBamwMm63KU+5xF/sk2j6JTkE5v2B1kd+lle7ZUFHo8C cCG05ES3y/kTX9m80EORPJ7xkAGolzFbhIF9dHjK6pCHNzAlk1zW0oettqiIwNDr0TEj ffUVmibR7QsR3RgZuYigeApNY6D8nxlNWigRdhnVLMQNngd6Zt0IMwnchOZ/zMhI6Vfz WlgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:from:subject:message-id:in-reply-to:date:mime-version :list-unsubscribe:list-subscribe:list-id:precedence; bh=TzQqLJe0Pb714R8KL4j6bCvLuBW+f/b6nT9prX185Ao=; fh=bvk+oKREYJjiVethwT2tTljJmt1GErMOCDXHoPWICbo=; b=YpGUtOSdJFdeUF0BA5YwmrUJAcrR6ixTHkJOdrRMaAf+ThGx/dUn/buAvl6yLtE6OE DPmEmVvkpq2t1XVTsC+waoafFAE9S+0AB8dWsqPiW0CRHgbEwbg/gse1vLjJmHvIencL R8v4DJrEagz26PNcyk3MS3XvSStsaYH9jl4A6KS+H4573n1FpmCsXPPxTsNgF4370mIb AAO+5KwbY34FqjhvWlEDQZ6h41FQYe0yGgU4MSXp+8CCmBR7nqedq2dy5vDCmUzOpbUV SthkzLzdfbxSU4Yv6T7n1ThEQl10/BqqDBaa+7ws8UGzS2t7xHDljagY5QPZ0wIUA7l4 gSQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-216186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-441f3125823si72208211cf.792.2024.06.16.01.12.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jun 2024 01:12:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-216186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=m3kw2wvrgufz5godrsrytgd7.apphosting.bounces.google.com); spf=pass (google.com: domain of linux-kernel+bounces-216186-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-216186-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EAB6A1C20A8C for ; Sun, 16 Jun 2024 08:12:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B0F42184129; Sun, 16 Jun 2024 08:12:05 +0000 (UTC) Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) (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 D5D14944F for ; Sun, 16 Jun 2024 08:12:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718525525; cv=none; b=rR7ErpPbvWfU6Hvs1WE0AtoH2jTmya6aXTuhCaYzayZJYG5As7SoW9udG2E4xA6tPQrsDAKBIq+daI0tWfSaMwvIOqn5qGCXvjkZa94UbEKjea9PB0vbpakT6pG6VRcrYYongE8vZ7l+m495zpGkpPzy6SYJ5hmfEKUeSJEdRuU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718525525; c=relaxed/simple; bh=jhW8qEONCVshEHx0xZO74hdsuVgHxCX7+H7nSeODnsQ=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=andGDcKpZ2mrVbZ3vLE6PJwRES5kXV7JYq7UVxiCVheotBFieAMu+2C2z/yZMsZyQPdm/arvnUomw2c8z/ijYdgWuZKvNYoAcdlwd9u3B6IkjZpXcOEX+FqM9sQh5ubtTieYvTS0/Ckhb7m/HAEDSSgZs847fkKnA+/iP4BkJ0c= 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.198 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-il1-f198.google.com with SMTP id e9e14a558f8ab-36db3bbf931so35960125ab.0 for ; Sun, 16 Jun 2024 01:12:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718525523; x=1719130323; 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=TzQqLJe0Pb714R8KL4j6bCvLuBW+f/b6nT9prX185Ao=; b=HYnorwVoOvyBuO8E2UJmYMiHH/LzFPBeB8tmTPVS4ycGIzK3rXZORtlLUGC6knTYN/ gv+dzT6hNyqkskppJf+e67ypAxDj027YDG3jLsP3eHuLR5BODla9pmkylhfWfQnaey1G bEuSzgXhXD3MgMHVw+57USwHs35tcZSfCazxKwGzhS38uneb1B29s8fZCO3gsq+LOZxy N7d0zAMHC0JPYDZ82PuvIvECubO71puvS0/0pgNM4FNaaZkq+47hOqVxa9sbyWQlVxft MoaRVoyQDVqBEkTVgmvw0VCyegN464xy90oJs0qEWbKm7Gi0orLbwJBnxqJV53y2Mmbo ad/w== X-Forwarded-Encrypted: i=1; AJvYcCVrCnKoQAXmgOcsyYbMiJE9ofqm1N80f8NbxIzKiNNHZXa16/Wec2F2SpDCnEF1ZNlR2G+SH+/mpCuI9czzwFeGQTNPZLT2QQQJNwLA X-Gm-Message-State: AOJu0Yx4nIQgIARXP3zkzu0lsYSi6KWIUgsTeIaobGEYH3+j/3HgUoC1 B+UfwQTnroRssxfD+2SeqoKoCcQ2fZvL/LFhdVh6Oq6gi/Rvm+5DyUkhv7oihoR2aZmLk8YAgGE n4Ess5UU14HEZDIwNEcJ+y1Q9hr2Pzb/7fRzyaIvZ1eibosskmoKA8iA= 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:20ec:b0:36c:5c1b:2051 with SMTP id e9e14a558f8ab-375e10b24a8mr5388435ab.6.1718525522957; Sun, 16 Jun 2024 01:12:02 -0700 (PDT) Date: Sun, 16 Jun 2024 01:12:02 -0700 In-Reply-To: <20240616063256.1356-1-hdanton@sina.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000005566b3061afd6778@google.com> Subject: Re: [syzbot] [ntfs3?] KASAN: slab-use-after-free Read in chrdev_open From: syzbot To: hdanton@sina.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Hello, syzbot tried to test the proposed patch but the build/boot failed: fs/open.c:955:23: error: call to undeclared function 'real_mount'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] fs/open.c:955:17: error: incompatible integer to pointer conversion initializing 'struct mount *' with an expression of type 'int' [-Wint-conversion] fs/open.c:957:10: error: incomplete definition of type 'struct mount' fs/open.c:959:7: error: call to undeclared function 'mnt_get_count'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] Tested on: commit: 83a7eefe Linux 6.10-rc3 git tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git kernel config: https://syzkaller.appspot.com/x/.config?x=5a05c230e142f2bc dashboard link: https://syzkaller.appspot.com/bug?extid=5d34cc6474499a5ff516 compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40 patch: https://syzkaller.appspot.com/x/patch.diff?x=14863bca980000