Article View: muc.lists.freebsd.bugs
Article #596[Bug 300957] Fatal trap NUM: page fault while in kernel mode in in6_leavegroup_locked
From: bugzilla-noreply
Date: Sat, 21 Nov 2026 05:14
Date: Sat, 21 Nov 2026 05:14
94 lines
6009 bytes
6009 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300957
Bug ID: 300957
Summary: Fatal trap NUM: page fault while in kernel mode in
in6_leavegroup_locked
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 netinet6 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/19gD6_I8Ye8EZzYwbPP2xBUJZBrxoMxxM?usp=sharing.
The issue report is also listed below (symbolized by our modified
syz-symbolize) to assist with the analysis:
```
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0x0
fault code = supervisor read data, page not present
instruction pointer = 0x20:0xffffffff81c63858 in6m_disconnect_locked
sys/netinet6/in6_mcast.c:605
stack pointer = 0x28:0xfffffe0056b40900
frame pointer = 0x28:0xfffffe0056b40950
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 = 6693 (syz-executor)
rdi: 0000000000000000 rsi: 0000000000000001 rdx: 0000000000000000
rcx: fffffe0002bfe6e8 r8: 0000000000000000 r9: 0000000000000001
rax: fffffe0000000000 rbx: fffffe006eca3e24 rbp: fffffe0056b40950
r10: 0000000000000000 r11: fffffe00584fa550 r12: fffffe00580db000
r13: 0000000000000000 r14: fffffe00580db1d0 r15: fffffe006eca3e00
trap number = 12
panic: page fault
cpuid = 1
time = 1795187208
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 0xffffffff8239b914 at trap_pfault+0xc64 trap_fatal
sys/amd64/amd64/trap.c:1028 [inline]
#3 0xffffffff8239b914 at trap_pfault+0xc64 sys/amd64/amd64/trap.c:-1
#4 0xffffffff8239969a at trap+0x39a sys/amd64/amd64/trap.c:531
#5 0xffffffff82343db8 at calltrap+0x8 sys/amd64/amd64/exception.S:285
#6 0xffffffff81c65d5f at in6_leavegroup_locked+0x2af
sys/netinet6/in6_mcast.c:1405
#7 0xffffffff81c65984 at in6_leavegroup+0x114 sys/netinet6/in6_mcast.c:1331
#8 0xffffffff81c67060 at ip6_freemoptions+0x230 inp_gcmoptions
sys/netinet6/in6_mcast.c:1634 [inline]
#8 0xffffffff81c67060 at ip6_freemoptions+0x230 sys/netinet6/in6_mcast.c:1650
#9 0xffffffff81b865bb at in_pcbfree+0x7db sys/netinet/in_pcb.c:1839
#10 0xffffffff81cbddb5 at rip6_detach+0x135 sys/netinet6/raw_ip6.c:702
#11 0xffffffff8189d4f5 at sorele_locked+0x225 sofree
sys/kern/uipc_socket.c:1925 [inline]
#11 0xffffffff8189d4f5 at sorele_locked+0x225 sys/kern/uipc_socket.c:1960
#12 0xffffffff8189f990 at soclose+0x450 sys/kern/uipc_socket.c:2030
#13 0xffffffff815af595 at _fdrop+0x35 fo_close sys/sys/file.h:410 [inline]
#13 0xffffffff815af595 at _fdrop+0x35 sys/kern/kern_descrip.c:3962
#14 0xffffffff815b8459 at closef+0x939 sys/kern/kern_descrip.c:3063
#15 0xffffffff815b6991 at fdescfree+0xe01 fdescfree_fds
sys/kern/kern_descrip.c:2780 [inline]
#15 0xffffffff815b6991 at fdescfree+0xe01 sys/kern/kern_descrip.c:2823
#16 0xffffffff815ee3ac at exit1+0xdec sys/kern/kern_exit.c:404
#17 0xffffffff815ed5b8 at sys__exit+0x28 sys/kern/kern_exit.c:208
Uptime: 1m11s
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-300957-227@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.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!newsfeed.bofh.team!usenet.goja.nl.eu.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 300957] Fatal trap NUM: page fault while in kernel mode in in6_leavegroup_locked Date: Sat, 21 Nov 2026 05:14:43 +0000 Organization: Newsgate at muc.de e.V. Approved: news-admin@muc.de Distribution: world Message-ID: <bug-300957-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="17308"; 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=1795238083; 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=nM+zTK1CNZCBUK0ebd/Q0683+ubPlEOXThgfdBUSdN4=; b=kE9w3QS68Jhgp4ISQH3IjUkOxcK5LP5rppiIVU0YUM2D9rW5+8UrxPCJZ+sXcCBN+mqvWk I3htTmY02+DHxJ+ffocQoKv7j5FLj6ugC38wPNHIkaPy8aKhfu4+YbbBBQ/1G/3nr9UV1l +jeL9kSeY2JeGXNCFKpbyUK/UQ+rtsdNXsS4c28oDR6HrS0csYbTNTj5EyyVv64lg+F12e 0rp05MfY/uibZxJh+b/jz9zCoIlmSol1HftFsUFIMlblNoc5svfkjFZVsm784YzfbYLlFz VNIG2Grs9ofBQ594CSPsVa1k7l2ZCHlgqADwrVMaaiI1FV5lBj5JNUQVEeC/RA== 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