syzbot


KCSAN: data-race in get_signal / ptrace_attach (8)

Status: auto-obsoleted due to no activity on 2026/01/19 19:14
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+aa76b57099e518972841@syzkaller.appspotmail.com
First crash: 98d, last: 98d
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
4d74d19e-9916-4474-b4cc-d7f0bbdc12ce assessment-kcsan 💥 KCSAN: data-race in get_signal / ptrace_attach (8) 2026/01/10 02:34 2026/01/10 02:34 2026/01/10 02:34 7519916073b761ced56a7b15fdeeb4674e8dc125 Error 429, Message: You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. * Quota exceeded for metric: generativelanguage.googleapis.com/generate_requests_per_model_per_day, limit: 0, Status: RESOURCE_EXHAUSTED, Details: [map[@type:type.googleapis.com/google.rpc.Help links:[map[description:Learn more about Gemini API quotas url:https://ai.google.dev/gemini-api/docs/rate-limits]]] map[@type:type.googleapis.com/google.rpc.QuotaFailure violations:[map[quotaId:GenerateRequestsPerDayPerProjectPerModel quotaMetric:generativelanguage.googleapis.com/generate_requests_per_model_per_day]]] map[@type:type.googleapis.com/google.rpc.DebugInfo detail:[ORIGINAL ERROR] generic::resource_exhausted: You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. * Quota exceeded for metric: generativelanguage.googleapis.com/generate_requests_per_model_per_day, limit: 0 [google.rpc.error_details_ext] { message: "You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits. To monitor your current usage, head to: https://ai.dev/rate-limit. \n* Quota exceeded for metric: generativelanguage.googleapis.com/generate_requests_per_model_per_day, limit: 0" details { type_url: "type.googleapis.com/language_labs.genai.debug.GeminiApiDebugInfo" value: "RM\nK\nEgenerativelanguage.googleapis.com/generate_requests_per_model_per_day\030\000\"\000" } details { [type.googleapis.com/google.rpc.Help] { links { description: "Learn more about Gemini API quotas" url: "https://ai.google.dev/gemini-api/docs/rate-limits" } } } details { [type.googleapis.com/google.rpc.QuotaFailure] { violations { quota_metric: "generativelanguage.googleapis.com/generate_requests_per_model_per_day" quota_id: "GenerateRequestsPerDayPerProjectPerModel" } } } }]]
Similar bugs (7)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in get_signal / ptrace_attach (2) kasan 6 1 2072d 2072d 0/29 auto-closed as invalid on 2020/08/04 00:25
upstream KCSAN: data-race in get_signal / ptrace_attach (7) kernel 6 1 422d 422d 0/29 auto-obsoleted due to no activity on 2025/03/02 06:49
upstream KCSAN: data-race in get_signal / ptrace_attach (5) kernel 6 1 1476d 1476d 0/29 auto-closed as invalid on 2022/03/23 02:38
upstream KCSAN: data-race in get_signal / ptrace_attach (3) kernel 6 1 1763d 1763d 0/29 auto-closed as invalid on 2021/06/09 02:47
upstream KCSAN: data-race in get_signal / ptrace_attach (6) kernel 6 1 732d 732d 0/29 auto-obsoleted due to no activity on 2024/04/04 22:16
upstream KCSAN: data-race in get_signal / ptrace_attach (4) kernel 6 1 1631d 1631d 0/29 auto-closed as invalid on 2021/10/19 11:18
upstream KCSAN: data-race in get_signal / ptrace_attach kasan 6 1 2307d 2307d 0/29 closed as invalid on 2019/11/19 14:04

Sample crash report:
==================================================================
BUG: KCSAN: data-race in get_signal / ptrace_attach

write to 0xffff88811ad66330 of 4 bytes by task 16548 on cpu 0:
 ptrace_attach+0x26c/0x590 kernel/ptrace.c:462
 __do_sys_ptrace kernel/ptrace.c:1405 [inline]
 __se_sys_ptrace+0x146/0x2c0 kernel/ptrace.c:1387
 __x64_sys_ptrace+0x55/0x70 kernel/ptrace.c:1387
 x64_sys_call+0x2870/0x3000 arch/x86/include/generated/asm/syscalls_64.h:102
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd2/0x200 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff88811ad66330 of 4 bytes by task 16549 on cpu 1:
 get_signal+0x3a0/0xf70 kernel/signal.c:2919
 arch_do_signal_or_restart+0x96/0x440 arch/x86/kernel/signal.c:337
 exit_to_user_mode_loop kernel/entry/common.c:40 [inline]
 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline]
 irqentry_exit_to_user_mode+0x5b/0xa0 kernel/entry/common.c:73
 irqentry_exit+0x12/0x50 kernel/entry/common.c:191
 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 16549 Comm: syz.8.4231 Tainted: G        W           syzkaller #0 PREEMPT(voluntary) 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/24 19:13 upstream ac3fd01e4c1e bf6fe8fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in get_signal / ptrace_attach
* Struck through repros no longer work on HEAD.