<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys, branch releng/13.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F13.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-04-10T14:39:15Z</updated>
<entry>
<title>Add UPDATING entries and bump version</title>
<updated>2025-04-10T14:39:15Z</updated>
<author>
<name>Philip Paeps</name>
<email>philip@FreeBSD.org</email>
</author>
<published>2025-04-09T04:05:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bc5467e7f6c9b29db95b35298e687435412a0ce'/>
<id>urn:sha1:3bc5467e7f6c9b29db95b35298e687435412a0ce</id>
<content type='text'>
Approved by:	so
</content>
</entry>
<entry>
<title>Add updating entries and bump version.</title>
<updated>2025-02-21T02:45:14Z</updated>
<author>
<name>Gordon Tetlow</name>
<email>gordon@FreeBSD.org</email>
</author>
<published>2025-02-21T02:43:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=27f132c05c39138b375591d2bf9f73f680997de3'/>
<id>urn:sha1:27f132c05c39138b375591d2bf9f73f680997de3</id>
<content type='text'>
Approved by:	so
</content>
</entry>
<entry>
<title>Add updating entries and bump version</title>
<updated>2025-01-29T17:08:56Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-01-29T17:08:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aef6b5321eead428ac7cc25142d14a1d4b875df0'/>
<id>urn:sha1:aef6b5321eead428ac7cc25142d14a1d4b875df0</id>
<content type='text'>
Approved by:	so
</content>
</entry>
<entry>
<title>ext2fs: Fix the size of struct ufid and add a static assert</title>
<updated>2025-01-29T17:02:12Z</updated>
<author>
<name>Rick Macklem</name>
<email>rmacklem@FreeBSD.org</email>
</author>
<published>2024-12-06T02:05:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0365b776f1b189855c67bdfa2be38955039f8ed6'/>
<id>urn:sha1:0365b776f1b189855c67bdfa2be38955039f8ed6</id>
<content type='text'>
File system specific *fid structures are copied into the generic
struct fid defined in sys/mount.h.
As such, they cannot be larger than struct fid.

This patch packed the structure and checks via a __Static_assert().

Approved by:	so
Security:	FreeBSD-SA-25:02.fs
Reviewed by:	markj
MFC after:	2 weeks

(cherry picked from commit bfc8e3308bee23d0f7836d57f32ed8d47da02627)
(cherry picked from commit ee931cf4a49c90487c938fa14b856401582a045c)
</content>
</entry>
<entry>
<title>cd9660: Make sure that struct ifid fits in generic filehandle structure</title>
<updated>2025-01-29T17:01:33Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-12-06T02:03:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb48aba6244c10236590b49e43fe90daab6a55fa'/>
<id>urn:sha1:bb48aba6244c10236590b49e43fe90daab6a55fa</id>
<content type='text'>
File system specific *fid structures are copied into the generic
struct fid defined in sys/mount.h.
As such, they cannot be larger than struct fid.

This patch packs the structure and checks via a __Static_assert().

Approved by:	so
Security:	FreeBSD-SA-25:02.fs
Reported by:	Kevin Miller &lt;mas@0x194.net&gt;
Reviewed by:	olce, imp, kib, emaste
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D47879

(cherry picked from commit 205659c43d87bd42c4a0819fde8f81e8ebba068e)
(cherry picked from commit cd597b4bb194f7a0bd756b5299b40ad3607b1baf)
</content>
</entry>
<entry>
<title>audit: Fix short-circuiting in syscallenter()</title>
<updated>2025-01-29T16:50:08Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-01-14T14:19:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f7b9cd733c39c86be258b60ba644df8ff7f6a1f5'/>
<id>urn:sha1:f7b9cd733c39c86be258b60ba644df8ff7f6a1f5</id>
<content type='text'>
syscallenter() has a slow path to handle syscall auditing and dtrace
syscall tracing.  It uses AUDIT_SYSCALL_ENTER() to check whether to take
the slow path, but this macro also has side effects: it writes the audit
log entry.  When systrace (dtrace syscall tracing) is enabled, this
would get short-circuited, and we end up not writing audit log entries.

Introduce a pure macro to check whether auditing is enabled, use it in
syscallenter() instead of AUDIT_SYSCALL_ENTER().

Approved by:	so
Security:	FreeBSD-EN-25:02.audit
Reviewed by:	kib
Reported by:	Joe Duin &lt;jd@firexfly.com&gt;
Fixes:		2f7292437d0c ("Merge audit and systrace checks")
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D48448

(cherry picked from commit f78fe930854cac6eed55859b45e0a7b5d87189d6)
(cherry picked from commit 1bf531bcd791794a39511359fbab612944a9e7b2)
</content>
</entry>
<entry>
<title>Add UPDATING entries and bump revision</title>
<updated>2024-10-29T19:06:08Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2024-10-29T19:06:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3f40d5821ecad3fefb79700d01ce387adc29663e'/>
<id>urn:sha1:3f40d5821ecad3fefb79700d01ce387adc29663e</id>
<content type='text'>
SA-24:17.bhyve
SA-24:18.ctl
SA-24:19.fetch

Approved by:	so
</content>
</entry>
<entry>
<title>ctl: limit memory allocation in pci_virtio_scsi</title>
<updated>2024-10-29T18:49:18Z</updated>
<author>
<name>Pierre Pronchery</name>
<email>pierre@freebsdfoundation.org</email>
</author>
<published>2024-07-19T17:32:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e389eb99fb630627155879acab03373889848857'/>
<id>urn:sha1:e389eb99fb630627155879acab03373889848857</id>
<content type='text'>
The virtio_scsi device allows a VM guest to directly send SCSI commands
(ctsio-&gt;cdb array) to the kernel driver exposed on /dev/cam/ctl
(ctl.ko).

All kernel commands accessible from the guest are defined by
ctl_cmd_table.

The command ctl_persistent_reserve_out (cdb[0]=0x5F and cbd[1]=0) allows
the caller to call malloc() with an arbitrary size (uint32_t). This can
be used by the guest to overload the kernel memory (DOS attack).

Reported by:    Synacktiv
Reviewed by:	asomers
Security:       HYP-08
Security:	FreeBSD-SA-24:18.ctl
Approved by:	so
Sponsored by:   The Alpha-Omega Project
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D46044

(cherry picked from commit 64b0f52be2c9d7bcecebfeef393f8ec56cb85f47)
(cherry picked from commit 2e7f4728fa738a7a7b6c4e4c46eb68952386efce)
(cherry picked from commit 367d8c86a182813d88f728fdb2c3ef1a4679a852)
</content>
</entry>
<entry>
<title>bhyve: avoid TOCTOU on iov_len in virtio_vq_recordon()</title>
<updated>2024-10-29T18:46:43Z</updated>
<author>
<name>Pierre Pronchery</name>
<email>pierre@freebsdfoundation.org</email>
</author>
<published>2024-08-27T13:57:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1c48a9b47821de7c4d0dbe28de112b525470e209'/>
<id>urn:sha1:1c48a9b47821de7c4d0dbe28de112b525470e209</id>
<content type='text'>
Avoid a race condition when accessing guest memory, by reading memory
contents only once.

This has also been applied to _vq_record() in
sys/dev/beri/virtio/virtio.c, as per markj@'s suggestion.

Reported by:	Synacktiv
Reviewed by:	markj
Security:	HYP-10
Security:	FreeBSD-SA-24:17.bhyve
Approved by:	so
Sponsored by:	The Alpha-Omega Project
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D45735

(cherry picked from commit 869d760cb9d7a307faa2fbe8c1c2b238a81b74d4)
(cherry picked from commit ed03c309908687bdb9f71dc6d9c9c8a92c54fc20)
(cherry picked from commit 6eb7879f426129aa38f4e8b0d57ab7456e4eb351)
</content>
</entry>
<entry>
<title>Add UPDATING entries and bump revision.</title>
<updated>2024-09-19T13:34:16Z</updated>
<author>
<name>Gordon Tetlow</name>
<email>gordon@FreeBSD.org</email>
</author>
<published>2024-09-19T13:18:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bc3877972ebd569804a7843535fcf18b676ea1ec'/>
<id>urn:sha1:bc3877972ebd569804a7843535fcf18b676ea1ec</id>
<content type='text'>
Approved by:	so
Approved by:	re (cperciva)
</content>
</entry>
</feed>
