Article View: muc.lists.freebsd.bugs
Article #593[Bug 300953] Fatal trap NUM: general protection fault while in kernel mode in ata_action
From: bugzilla-noreply
Date: Sat, 21 Nov 2026 04:27
Date: Sat, 21 Nov 2026 04:27
88 lines
5743 bytes
5743 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300953
Bug ID: 300953
Summary: Fatal trap NUM: general protection fault while in
kernel mode in ata_action
Product: Base System
Version: 15.1-STABLE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: bugs@FreeBSD.org
Reporter: r772577952@gmail.com
Hi FreeBSD maintainers,
When fuzzing freebsd kernel with our modified syzkaller, an issue is discovered
in the CAM subsystem. This issue is reproducible on the latest release
(release/15.1.0-p7, commit bb03631fe3b7a8bfa8071e8063f554528d4e4618).
The kernel console output, kernel config, and syz reproducers can be found at
https://drive.google.com/drive/folders/1gTAF32illNNmkyjL-fh-5YaAEDWTflC6?usp=sharing.
The issue report is also listed below (symbolized by our modified
syz-symbolize) to assist with the analysis:
```
Fatal trap 9: general protection fault while in kernel mode
cpuid = 1; apic id = 01
instruction pointer = 0x20:0xffffffff8239357c memcpy_erms
sys/amd64/amd64/support.S:551
stack pointer = 0x28:0xfffffe0056b3a300
frame pointer = 0x28:0xfffffe0056b3a300
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 1602 (syz-executor)
rdi: 02550100007fffff rsi: fffffe0053b1b960 rdx: 0000000030304d51
rcx: 0000000000000007 r8: 0000000031303030 r9: 0000000000000007
rax: 02550100007fffff rbx: fffffe006b5b27b8 rbp: fffffe0056b3a300
r10: 0000000000000000 r11: fffffe005852dcd0 r12: fffffe0053a53800
r13: 0000000000000007 r14: 02550100007fffff r15: fffffe006b5b2810
trap number = 9
panic: general protection fault
cpuid = 1
time = 1795187612
KDB: stack backtrace:
#0 0xffffffff817b1d89 at kdb_backtrace+0x119 sys/kern/subr_kdb.c:451
#1 0xffffffff816c2ab7 at vpanic+0x257 sys/kern/kern_shutdown.c:959
#2 0xffffffff816c2855 at panic+0xb5 sys/kern/kern_shutdown.c:887
#3 0xffffffff8239aa05 at trap_fatal+0x105 sys/amd64/amd64/trap.c:1028
#4 0xffffffff8239a1b2 at trap+0xeb2 sys/amd64/amd64/trap.c:703
#5 0xffffffff82343db8 at calltrap+0x8 sys/amd64/amd64/exception.S:285
#6 0xffffffff803b5490 at ata_action+0x6d0 ata_dev_advinfo
sys/cam/ata/ata_xpt.c:-1 [inline]
#6 0xffffffff803b5490 at ata_action+0x6d0 sys/cam/ata/ata_xpt.c:1839
#7 0xffffffff804237b5 at passdoioctl+0x1565 sys/cam/scsi/scsi_pass.c:2002
#8 0xffffffff80421913 at passioctl+0x33 sys/cam/scsi/scsi_pass.c:1751
#9 0xffffffff812e31d7 at devfs_ioctl+0x267 sys/fs/devfs/devfs_vnops.c:964
#10 0xffffffff81993f32 at vn_ioctl+0x432 VOP_IOCTL
usr/obj/usr/src/amd64.amd64/sys/RNFREEBSD/./vnode_if.h:633 [inline]
#10 0xffffffff81993f32 at vn_ioctl+0x432 sys/kern/vfs_vnops.c:1900
#11 0xffffffff812e4289 at devfs_ioctl_f+0x69 sys/fs/devfs/devfs_vnops.c:895
#12 0xffffffff8180d1d0 at kern_ioctl+0x5b0 fo_ioctl sys/sys/file.h:388 [inline]
#12 0xffffffff8180d1d0 at kern_ioctl+0x5b0 sys/kern/sys_generic.c:811
#13 0xffffffff8180cb29 at sys_ioctl+0x2e9 sys/kern/sys_generic.c:716
#14 0xffffffff8239c88e at amd64_syscall+0x45e syscallenter
sys/amd64/amd64/../../kern/subr_syscall.c:193 [inline]
#14 0xffffffff8239c88e at amd64_syscall+0x45e sys/amd64/amd64/trap.c:1267
#15 0xffffffff823446ab at fast_syscall_common+0xf8
sys/amd64/amd64/exception.S:570
Uptime: 50s
Automatic reboot in 15 seconds - press a key on the console to abort
```
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-300953-227@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.bugs Subject: [Bug 300953] Fatal trap NUM: general protection fault while in kernel mode in ata_action Date: Sat, 21 Nov 2026 04:27:53 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300953-227@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="83593"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1795235273; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UoQvlhVy8WRR1Y+prmxcTrDGbAYKRhq/Bbgg9zi+ALU=; b=p57mQHV4xLDJYEIxOD43l+Mg3KBazdrHJuaNFT28Bj1bGdCCEnNJLOJKw5kRHNSqmzQEIo qCjW5NVdkxRkhQ8rEsu0XGGNGWGVdo0vaZW4nu4UhHaNF04goaUc61h0sM/b/jq7PCdzp+ SkOEWNJOr+pam2Hu05hFYssVhSZV6EQBCpCQ4Vq3JOWseyyIxyZmLGC7oH6VryX9pzeiDy idg/kpaVaWVV0c+dAJ/JBUIww2xgB5Be9dxW33qIxB8M82nfM+RsvTE5PKLAsyTnOxMbyy AT3N5rkzGF3uCKBMr9U+IHXvQkQln8vuDStQ2XjqkO6ShdmREuKveZeeovBdWg== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes