From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f79.google.com (mail-ot1-f79.google.com [209.85.210.79]) (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 EE7C4181334 for ; Sun, 3 May 2026 13:01:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.79 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777813302; cv=none; b=Hp7SHQs05AwLtrVAAJJhVTPJumIApkArhzlhmug/ZrYH794k6v5usfRwMAydpNc1HfNPIcOrcGiO/WeXDB4LrQrprAllmdL1DeWMFD5mi4+nEmnMwg2+NGbH2hgGHebq2G6WA5lpdmeBztYGmRIm95YfCmkPq0H5Xzk55f8lThc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777813302; c=relaxed/simple; bh=F5WfPsKDFWQDDcKzDchOGZAek7nKUhRFTGOx9P7drZw=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=n4b2+jULPVh9oHd6uJJm2KHv0tKkL4zXXXvztSEhT1HZrq1ACVQhYs7oi91Lr18GYM0k2Cv0WxWmiw2BCwDLSKssYFUkALrw6+HZvaL9E2y6FETy8dI9Y3HQbYOoBoG3Ydf8nvaOAqMISUslbx35fbOy5lo+B3RMMK3bcNbguNw= 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.210.79 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-ot1-f79.google.com with SMTP id 46e09a7af769-7dbe76e3abcso9722717a34.0 for ; Sun, 03 May 2026 06:01:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1777813300; x=1778418100; 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=QcbS4/wZLn1qGk+PMueX057ZKheUXfeNFAg+i6bN94I=; b=BMagX1c792K6l7bbHbBqVyVXLD5X8nMlYK4rNHKmS9nLIGwXI6Avimr45J1/ZEim24 hujK9EkTBejPptwdKs3JKfXb0HJWE3lMI92nT6XkTKlc0ASshAMiL1ITRpXUx8QBEK7f cIdUYT7zCmL4ndrukCyxWSBRD3XGo2AleMP7qrhgx7L2I898+UF8x30wpc6y8huYoeOR b4UAGel7FzGsnEhiYm0GH+nBkOX8VM47/7hl9/y3pSJkBJO3dmh6NGvQRNkenUNkCsRc HVllE4AJGqVihoSOVJeCry9EQz1hA1l4Mj71gZuX1fOvLvUJ3NpiS5/6HZ5gGJWmAKNj F+0A== X-Gm-Message-State: AOJu0YyCgVRQCq2QEScTR5Sz1njeoCbDQpqLL8K7u8D4dH9lPZFrxhde 0jt/sxszEx/bdvBI5+OxdpvPO96G0N11QJBVOXIg7negEfn4w+WQBo1jgN6YEtJTQZMbcUUJgtL zouMmVfRQO7SalOxLX+xqT2ke2an6Xb/MwxHkKlkNit5xYru+wiQ4M9nHuxvquQ== 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:6820:308f:b0:67e:3ae6:9031 with SMTP id 006d021491bc7-69697e28ad7mr2934929eaf.59.1777813299759; Sun, 03 May 2026 06:01:39 -0700 (PDT) Date: Sun, 03 May 2026 06:01:39 -0700 In-Reply-To: <69e4ee46.a00a0220.1bd0ca.0058.GAE@google.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69f74733.050a0220.312cd3.0032.GAE@google.com> Subject: Re: [syzbot] [kernel?] KMSAN: uninit-value in irqentry_exit_to_kernel_mode_preempt From: syzbot To: linux-kernel@vger.kernel.org, luto@kernel.org, peterz@infradead.org, syzkaller-bugs@googlegroups.com, tglx@kernel.org, zlatistiv@gmail.com Content-Type: text/plain; charset="UTF-8" syzbot has found a reproducer for the following issue on: HEAD commit: 66edb901bf87 Merge tag 'v7.1-p3' of git://git.kernel.org/p.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=107b2dba580000 kernel config: https://syzkaller.appspot.com/x/.config?x=1c3f61154f3bb7e5 dashboard link: https://syzkaller.appspot.com/bug?extid=23d7fcd204e3837866ff compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-1~exp1~20251221153213.50), Debian LLD 21.1.8 syz repro: https://syzkaller.appspot.com/x/repro.syz?x=126caece580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11f00d06580000 Downloadable assets: disk image: https://storage.googleapis.com/syzbot-assets/9014c04fc561/disk-66edb901.raw.xz vmlinux: https://storage.googleapis.com/syzbot-assets/a96b1e11a924/vmlinux-66edb901.xz kernel image: https://storage.googleapis.com/syzbot-assets/680236de6331/bzImage-66edb901.xz IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+23d7fcd204e3837866ff@syzkaller.appspotmail.com ===================================================== BUG: KMSAN: uninit-value in irqentry_exit_to_kernel_mode_preempt+0xb0/0xc0 include/linux/irq-entry-common.h:472 irqentry_exit_to_kernel_mode_preempt+0xb0/0xc0 include/linux/irq-entry-common.h:472 irqentry_exit_to_kernel_mode include/linux/irq-entry-common.h:547 [inline] irqentry_exit+0x7b/0x760 kernel/entry/common.c:164 sysvec_apic_timer_interrupt+0x52/0x90 arch/x86/kernel/apic/apic.c:1061 asm_sysvec_apic_timer_interrupt+0x1f/0x30 arch/x86/include/asm/idtentry.h:697 encrypted_key_alloc+0x8c9/0xa70 security/keys/encrypted-keys/encrypted.c:641 encrypted_instantiate+0x45e/0x3220 security/keys/encrypted-keys/encrypted.c:812 __key_instantiate_and_link+0xfe/0x5d0 security/keys/key.c:446 __key_create_or_update+0x12c4/0x1500 security/keys/key.c:941 key_create_or_update+0x5f/0x80 security/keys/key.c:1021 __do_sys_add_key security/keys/keyctl.c:134 [inline] __se_sys_add_key+0x656/0x870 security/keys/keyctl.c:74 __x64_sys_add_key+0xe4/0x150 security/keys/keyctl.c:74 x64_sys_call+0xd3f/0x3ea0 arch/x86/include/generated/asm/syscalls_64.h:249 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x134/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Local variable dlen created at: encrypted_key_alloc+0x4f/0xa70 security/keys/encrypted-keys/encrypted.c:586 encrypted_instantiate+0x45e/0x3220 security/keys/encrypted-keys/encrypted.c:812 CPU: 1 UID: 0 PID: 6291 Comm: syz.0.346 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 ===================================================== --- If you want syzbot to run the reproducer, reply with: #syz test: git://repo/address.git branch-or-commit-hash If you attach or paste a git patch, syzbot will apply it before testing.