FreeBSD src
Go to file
Vincenzo Maffione 3937299165 netmap: Fix TOCTOU vulnerability in nmreq_copyin
The total size of the user-provided nmreq was first computed and then
trusted during the copyin. This might lead to kernel memory corruption
and escape from jails/containers.

Reported by: Lucas Leong (@_wmliang_) of Trend Micro Zero Day Initiative
Security: CVE-2022-23084
MFC after:	3 days
2022-03-16 06:58:50 +00:00
.cirrus-ci
.github
bin ps(1): Use calloc instead of malloc and memset. 2022-03-11 10:36:00 +01:00
cddl dtrace tests: Fix expected outout for tst.system.d 2022-03-09 11:39:12 +08:00
contrib bsnmp: Use mkstemp when creating clients local socket 2022-03-15 08:20:13 +00:00
crypto OpenSSL: Merge OpenSSL 1.1.1n 2022-03-15 19:37:45 -04:00
etc
gnu
include
kerberos5
lib GEOM: Fix regression after 7f16b501e2. 2022-03-16 00:06:49 -04:00
libexec rc.d/*: Use startmsg instead of echo on start messages 2022-03-13 18:57:31 +01:00
release Remove "/dev/" from geom name in gpart add command. 2022-03-16 00:09:09 -04:00
rescue
sbin pf: support basic L3 filtering in the Ethernet rules 2022-03-14 22:42:37 +01:00
secure OpenSSL: Merge OpenSSL 1.1.1n 2022-03-15 19:37:45 -04:00
share nullfs.5: Add an example fstab(5) entry 2022-03-15 17:21:51 +01:00
stand teken: color #3 is yellow not brown - use TC_YELLOW as the name 2022-03-12 09:17:29 -05:00
sys netmap: Fix TOCTOU vulnerability in nmreq_copyin 2022-03-16 06:58:50 +00:00
targets
tests pf tests: Test new L3 inspection for pf 'ether' rules 2022-03-14 22:43:38 +01:00
tools tools/tools/README: Remove tinybsd entry 2022-03-15 13:06:53 +01:00
usr.bin Chase mixer(8) command-line interface changes 2022-03-14 09:38:04 +01:00
usr.sbin bhyve: missing mutex initializations 2022-03-15 19:54:16 -08:00
.arcconfig
.arclint
.cirrus.yml
.clang-format
.gitattributes
.gitignore
COPYRIGHT
LOCKS
MAINTAINERS
Makefile
Makefile.inc1
Makefile.libcompat
Makefile.sys.inc
ObsoleteFiles.inc
README.md
RELNOTES
UPDATING

FreeBSD Source:

This is the top level of the FreeBSD source directory.

FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.

For copyright information, please see the file COPYRIGHT in this directory. Additional copyright information also exists for some sources in this tree - please see the specific source directories for more information.

The Makefile in this directory supports a number of targets for building components (or all) of the FreeBSD source tree. See build(7), config(8), FreeBSD handbook on building userland, and Handbook for kernels for more information, including setting make(1) variables.

Source Roadmap:

Directory Description
bin System/user commands.
cddl Various commands and libraries under the Common Development and Distribution License.
contrib Packages contributed by 3rd parties.
crypto Cryptography stuff (see crypto/README).
etc Template files for /etc.
gnu Commands and libraries under the GNU General Public License (GPL) or Lesser General Public License (LGPL). Please see gnu/COPYING and gnu/COPYING.LIB for more information.
include System include files.
kerberos5 Kerberos5 (Heimdal) package.
lib System libraries.
libexec System daemons.
release Release building Makefile & associated tools.
rescue Build system for statically linked /rescue utilities.
sbin System commands.
secure Cryptographic libraries and commands.
share Shared resources.
stand Boot loader sources.
sys Kernel sources.
sys/arch/conf Kernel configuration files. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries.
tests Regression tests which can be run by Kyua. See tests/README for additional information.
tools Utilities for regression testing and miscellaneous tasks.
usr.bin User commands.
usr.sbin System administration commands.

For information on synchronizing your source tree with one or more of the FreeBSD Project's development branches, please see FreeBSD Handbook.