opnsense-src/sys
Mark Johnston f7c3aa2815 unix: Fix handling of listening sockets during garbage collection
socantrcvmore() and unp_dispose() assume that the socket's socket
buffers are initialized, which isn't the case for listening sockets.

Reported by:	syzbot+a62883292a5c257703be@syzkaller.appspotmail.com
MFC after:	1 week
Reviewed by:	glebius
Differential Revision:	https://reviews.freebsd.org/D53743

(cherry picked from commit 9d9fa9a2c22f67d5f8afec18106c9f0072d6b3d4)
2025-11-21 14:16:00 +00:00
..
amd64 vmm: Move vm_maxcpu handling into MI code 2025-11-18 14:57:43 +00:00
arm sound: Get rid of useless sndbuf getters and setters 2025-11-18 01:51:22 +01:00
arm64 vmm: Move vm_maxcpu handling into MI code 2025-11-18 14:57:43 +00:00
bsm
cam nda: React to namespace change events 2025-11-18 21:10:53 -07:00
cddl stand: Teach the zfs loader about dynamic gang headers 2025-11-13 13:48:59 +00:00
compat LinuxKPI: 802.11: clear CONF_IDLE earlier 2025-11-12 15:41:24 +00:00
conf sys/conf/files: Add iwx driver 2025-11-20 12:22:33 +01:00
contrib zfs: update zfs_config.h and zfs_gitrev.h to zfs-2.4.0-rc4 2025-11-18 13:06:40 +01:00
crypto
ddb
dev sound: Retire SND_DIAGNOSTIC PCM locking macros 2025-11-20 14:28:15 +01:00
dts
fs cuse: Fix cdevpriv bugs in cuse_client_open() 2025-11-20 14:28:14 +01:00
gdb
geom geom(4): Fix typo in a kernel message 2025-11-08 21:15:23 +01:00
gnu
i386 padlock(4)/nehemiah: move i386-only entropy source to MD files 2025-10-29 01:07:37 -07:00
isa sys: Bump non-ISA PNP removal to 16.0 2025-10-28 08:23:15 -04:00
kern unix: Fix handling of listening sockets during garbage collection 2025-11-21 14:16:00 +00:00
kgssapi
libkern
modules zfs: fix aarch64 build after zfs-2.4.0-rc4 2025-11-18 15:03:54 +01:00
net if_vxlan: fix byteorder of source port 2025-11-07 19:58:40 +01:00
net80211
netgraph
netinet tcp: improve comments in the syncache code 2025-11-10 20:56:34 +01:00
netinet6 mld6: Properly initialize MLD packet options 2025-11-04 12:46:30 +00:00
netipsec ipsec_offload: do not leak drv_spi unr 2025-11-09 02:35:52 +02:00
netlink netlink: plug lock leak in genl_register_family() 2025-11-10 09:36:35 -08:00
netpfil ipfilter: Don't trust userland supplied iph_size 2025-11-13 20:10:22 -08:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc
riscv vmm: Move vm_maxcpu handling into MI code 2025-11-18 14:57:43 +00:00
rpc
security audit(4): Fix a typo in an kernel error message 2025-11-08 21:12:56 +01:00
sys random: Have RANDOM_PURE_START be a cross-platform source 2025-11-07 18:19:13 -08:00
teken
tests
tools gdb: Make development a bit easier 2025-11-04 12:46:19 +00:00
ufs ffs_truncate: correct INVARIANTS panic debug output 2025-10-28 02:20:35 -07:00
vm
x86 NOTES: Add iwm and iwx 2025-11-20 12:22:34 +01:00
xdr
xen
Makefile
README.md

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(4)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures