https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292885
Bug ID: 292885
Summary: [netgraph] panic on creating ksocket with AF_LOCAL and
SOCK_DGRAM
Product: Base System
Version: 14.3-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Issuing the command below triggers an instantaneous kernel panic. The same
happens if the last argument, "local/dgram/", is changed to "local/dgram/0".
Observed on an up-to-date 14.3-RELEASE system on bare metal as well as in a
fresh test VM. With SOCK_STREAM ("local/stream/", "local/stream/0"), the socket
is created successfully, can be bound, etc.. AF_INET datagram
("inet/dgram/udp") sockets are unaffected.
root@freebsd:~> ngctl mkpeer ksocket sock local/dgram/
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address = 0x18
fault code = supervisor write data, page not present
instruction pointer = 0x20:0xffffffff8286fd27
stack pointer = 0x28:0xfffffe008415a990
frame pointer = 0x28:0xfffffe008415a9b0
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 = 774 (ngctl)
rdi: fffff80004fa2300 rsi: fffff80004fa2300 rdx: 0000000000000001
rcx: 0000000000000000 r8: 0000000000420000 r9: 0000000000000000
rax: 0000000000000000 rbx: fffff80004517400 rbp: fffffe008415a9b0
r10: 0000000000000000 r11: 0000000000000000 r12: fffff80004fa2400
r13: fffff800039b5b00 r14: fffff800039b5c00 r15: fffff800039a1740
trap number = 12
panic: page fault
cpuid = 1
time = 1770039231
KDB: stack backtrace:
#0 0xffffffff80ba8f1d at kdb_backtrace+0x5d
#1 0xffffffff80b5aa11 at vpanic+0x161
#2 0xffffffff80b5a8a3 at panic+0x43
#3 0xffffffff8104db7a at trap_pfault+0x3da
#4 0xffffffff81023d88 at calltrap+0x8
#5 0xffffffff82868d61 at ng_mkpeer+0x111
#6 0xffffffff82866d6d at ng_apply_item+0x51d
#7 0xffffffff828665cc at ng_snd_item+0x26c
--
You are receiving this mail because:
You are the assignee for the bug.