syzbot


KCSAN: data-race in __tty_hangup / io_file_get_normal

Status: auto-obsoleted due to no activity on 2026/02/14 03:21
Subsystems: serial
[Documentation on labels]
Reported-by: syzbot+ff47261bf0e5233fd700@syzkaller.appspotmail.com
First crash: 74d, last: 74d
✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision Error
ccdff979-eea4-4523-bcda-7c53e995989a assessment-kcsan 💥 KCSAN: data-race in __tty_hangup / io_file_get_normal 2026/01/10 01:18 2026/01/10 01:18 2026/01/10 01:37 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" } } } }]]

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __tty_hangup / io_file_get_normal

write to 0xffff888103de0d88 of 8 bytes by task 7956 on cpu 0:
 __tty_hangup+0x1ef/0x540 drivers/tty/tty_io.c:612
 tty_vhangup drivers/tty/tty_io.c:691 [inline]
 tty_ioctl+0x601/0xb80 drivers/tty/tty_io.c:2732
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:597 [inline]
 __se_sys_ioctl+0xce/0x140 fs/ioctl.c:583
 __x64_sys_ioctl+0x43/0x50 fs/ioctl.c:583
 x64_sys_call+0x14b0/0x3000 arch/x86/include/generated/asm/syscalls_64.h:17
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd8/0x2c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

read to 0xffff888103de0d88 of 8 bytes by task 7953 on cpu 1:
 io_is_uring_fops io_uring/io_uring.c:3357 [inline]
 io_file_get_normal+0x3b/0x180 io_uring/io_uring.c:1990
 io_assign_file+0x9e/0x200 io_uring/io_uring.c:1767
 io_issue_sqe+0x40/0xa80 io_uring/io_uring.c:1812
 io_queue_sqe io_uring/io_uring.c:2042 [inline]
 io_submit_sqe io_uring/io_uring.c:2320 [inline]
 io_submit_sqes+0x78b/0x11b0 io_uring/io_uring.c:2434
 __do_sys_io_uring_enter io_uring/io_uring.c:3280 [inline]
 __se_sys_io_uring_enter+0x1bd/0x1a30 io_uring/io_uring.c:3219
 __x64_sys_io_uring_enter+0x78/0x90 io_uring/io_uring.c:3219
 x64_sys_call+0x27e4/0x3000 arch/x86/include/generated/asm/syscalls_64.h:427
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xd8/0x2c0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

value changed: 0xffffffff858a6020 -> 0xffffffff858a5f10

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

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/20 03:20 upstream dd9b004b7ff3 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __tty_hangup / io_file_get_normal
* Struck through repros no longer work on HEAD.