kernel BUG in commit_creds (3)

Status: upstream: reported C repro on 2026/09/17 19:30
Subsystems: io-uring lsm
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+fa63184795283ac3f842@syzkaller.appspotmail.com
Fix commit: smack: reject relabel-self writes from io_uring workers
Patched on: [ci-upstream-linux-next-kasan-gce-root ci-upstream-rust-kasan-gce], missing on: [ci-qemu-gce-upstream-auto ci-qemu-native-arm64-kvm ci-qemu-upstream ci-qemu-upstream-386 ci-qemu2-arm32 ci-qemu2-arm64 ci-qemu2-arm64-compat ci-qemu2-arm64-mte ci-qemu2-riscv64 ci-snapshot-upstream-root ci-upstream-bpf-kasan-gce ci-upstream-bpf-next-kasan-gce ci-upstream-gce-arm64 ci-upstream-gce-leak ci-upstream-kasan-badwrites-root ci-upstream-kasan-gce ci-upstream-kasan-gce-386 ci-upstream-kasan-gce-root ci-upstream-kasan-gce-selinux-root ci-upstream-kasan-gce-smack-root ci-upstream-kmsan-gce-386-root ci-upstream-kmsan-gce-root ci-upstream-net-kasan-gce ci-upstream-net-this-kasan-gce ci2-upstream-fs ci2-upstream-kcsan-gce ci2-upstream-usb]
First crash: 67d, last: 2d08h
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
122e6e2f assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ✅ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ kernel BUG in commit_creds (3) 2026/09/18 00:33 2026/09/18 00:33 2026/09/18 00:59 8d7d05f1
▶ ▼ Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly lsm report (Oct 2026) 0 (1) 2026/10/03 04:33
[PATCH] smack: reject relabel-self writes from io_uring workers 1 (1) 2026/09/19 03:53
[syzbot] [lsm?] [io-uring?] kernel BUG in commit_creds (3) 0 (1) 2026/09/17 19:30
▶ ▼ Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in commit_creds (2) lsm -1 1 1316d 1312d 0/29 auto-obsoleted due to no activity on 2023/08/15 16:17
upstream kernel BUG in commit_creds io-uring lsm -1 syz, C done 5 1679d 1683d 22/29 fixed on 2023/02/24 13:50
▶ ▼ Last patch testing requests (4)
Created Duration User Patch Repo Result
2026/10/06 23:57 35m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error job log
2026/10/06 23:57 30m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error job log
2026/10/06 23:57 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci error job log
2026/10/06 23:57 26m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report job log log

Sample crash report:
------------[ cut here ]------------
kernel BUG at kernel/cred.c:376!
Internal error: Oops - BUG: 00000000f2000800 [#1]  SMP
Modules linked in:
CPU: 0 UID: 0 PID: 4963 Comm: iou-wrk-4962 Not tainted syzkaller #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
pstate: 83400005 (Nzcv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--)
pc : commit_creds+0x894/0x8e0 kernel/cred.c:376
lr : commit_creds+0x894/0x8e0 kernel/cred.c:376
sp : ffff80009a0277b0
x29: ffff80009a0277c0 x28: ffff0000d3305880 x27: ffff0000d3306148
x26: dfff800000000000 x25: dfff800000000000 x24: ffff700013404f04
x23: ffff0000c8de5cc8 x22: ffff0000d3306150 x21: 1fffe0001a660c2a
x20: ffff0000c7a22f00 x19: ffff0000c7a22300 x18: 1fffe000359cf228
x17: 0000000000000003 x16: ffff8000898b7000 x15: 0000000000000001
x14: 00000000ffff8000 x13: 0000000000000001 x12: 0000000000000000
x11: 0000000000000000 x10: ffff6000191bcb91 x9 : 0000000000000000
x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000004 x3 : ffff8000803a789c
x2 : 0000000000000000 x1 : ffff0000d3305880 x0 : 0000000000000000
Call trace:
 commit_creds+0x894/0x8e0 kernel/cred.c:376 (P)
 smk_write_relabel_self+0x398/0x418 security/smack/smackfs.c:2709
 loop_rw_iter+0x3cc/0x5bc include/linux/uio.h:-1
 io_write+0xc9c/0x10fc io_uring/rw.c:1165
 __io_issue_sqe+0x134/0x374 io_uring/io_uring.c:1514
 io_issue_sqe+0x338/0xf94 io_uring/io_uring.c:1537
 io_wq_submit_work+0x7bc/0xaa0 io_uring/io_uring.c:1677
 io_worker_handle_work+0x740/0x1038 io_uring/io-wq.c:677
 io_wq_worker+0x328/0x103c io_uring/io-wq.c:768
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:854
Code: 91009280 9421559d 17fffe4f 940ad0a2 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/21 13:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a041bdbe1f3a b2c69459 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in commit_creds
2026/09/17 11:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5445d6419962 95928915 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in commit_creds
2026/09/17 11:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5445d6419962 95928915 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in commit_creds
2026/09/17 10:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5445d6419962 95928915 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in commit_creds
2026/09/17 09:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5445d6419962 95928915 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in commit_creds
2026/09/21 20:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 38872197cae2 853b104b .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in commit_creds
2026/09/17 08:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 5445d6419962 95928915 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in commit_creds
* Struck through repros no longer work on HEAD.