<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/vm, branch release/13.2.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.2.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2023-02-27T15:58:34Z</updated>
<entry>
<title>vm_fault: Fix a race in vm_fault_soft_fast()</title>
<updated>2023-02-27T15:58:34Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-02-13T21:24:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1780bdba96d381a9e473ab15ed92009893c822cb'/>
<id>urn:sha1:1780bdba96d381a9e473ab15ed92009893c822cb</id>
<content type='text'>
When vm_fault_soft_fast() creates a mapping, it release the VM map lock
before unbusying the top-level object.  Without the map lock, however,
nothing prevents the VM object from being deallocated while still busy.

Fix the problem by unbusying the object before releasing the VM map
lock.  If vm_fault_soft_fast() fails to create a mapping, the VM map
lock is not released, so those cases don't need to change.

Approved by:	re (cperciva)
Reported by:	syzkaller
Reviewed by:	kib (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D38527

(cherry picked from commit d0991948182a1a149ee84f1b9c4d3e30450c8f0b)
(cherry picked from commit 2f57ef2d3b8f776a28e195cd780a3bb4924570be)
</content>
</entry>
<entry>
<title>vm_object: Fix a kernel memory disclosure via the vm_object list sysctl</title>
<updated>2023-01-23T13:50:31Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2023-01-16T15:53:59Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=09d0e6b74aab5ba7c4314aef8274c56cfb839f27'/>
<id>urn:sha1:09d0e6b74aab5ba7c4314aef8274c56cfb839f27</id>
<content type='text'>
Reported by:	Chris J-D &lt;chris@accessvector.net&gt;
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit b050ee6c97e7f5b6f1e3adec69775fa41afc948f)
</content>
</entry>
<entry>
<title>Handle ERELOOKUP from VOP_FSYNC() in several other places</title>
<updated>2023-01-22T09:18:09Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-01-18T21:09:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7c09d62011bb084d3f7127edf2942bf6c9c3a6e2'/>
<id>urn:sha1:7c09d62011bb084d3f7127edf2942bf6c9c3a6e2</id>
<content type='text'>
(cherry picked from commit 6189672e600814fec4cc165d25ae050fb2f3a999)
</content>
</entry>
<entry>
<title>vm_object.c: minor style</title>
<updated>2023-01-22T09:18:09Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2023-01-19T18:32:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=40c26818931307321626db6968ef5e499864f747'/>
<id>urn:sha1:40c26818931307321626db6968ef5e499864f747</id>
<content type='text'>
(cherry picked from commit 70e1b11216c43e95118728f3684a1b8abc7034a1)
</content>
</entry>
<entry>
<title>vm_pager_allocate(): override resulting object type</title>
<updated>2023-01-20T03:19:41Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-12-04T00:37:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c9e7aae6e6f90f700516f0a67fc5cf264daaf610'/>
<id>urn:sha1:c9e7aae6e6f90f700516f0a67fc5cf264daaf610</id>
<content type='text'>
Tested by:	pho

(cherry picked from commit cd086696c2cb6d23bac3bc749836d36a9280ae98)
</content>
</entry>
<entry>
<title>vm_page_grab_valid(): clear *mp in case of pager denying page allocation</title>
<updated>2023-01-20T03:19:35Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-12-17T00:12:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=aaac643676bce2c80a78069e2c4a45deb50448dc'/>
<id>urn:sha1:aaac643676bce2c80a78069e2c4a45deb50448dc</id>
<content type='text'>
Tested by:	pho

(cherry picked from commit 3249449190c2c71ecfc4fa5f518f94ff552df440)
</content>
</entry>
<entry>
<title>vm_pager: add method to veto page allocation</title>
<updated>2023-01-20T03:19:29Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-10-20T13:15:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=7d05e01b3e59c12f1b7a07dbf3b0ed11ac62ed13'/>
<id>urn:sha1:7d05e01b3e59c12f1b7a07dbf3b0ed11ac62ed13</id>
<content type='text'>
Tested by:	pho

(cherry picked from commit ec201dddfbddd3a77dd3f3afc9b007d0e13e7ad1)
</content>
</entry>
<entry>
<title>vm_pager: add methods for page insertion and removal notifications</title>
<updated>2023-01-20T03:19:22Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-10-20T12:55:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6219bd0436b88ba75ab062046fc3cd174ba03d08'/>
<id>urn:sha1:6219bd0436b88ba75ab062046fc3cd174ba03d08</id>
<content type='text'>
Tested by:	pho

(cherry picked from commit d537d1f12e8829faccd395115193b03b578f1176)
</content>
</entry>
<entry>
<title>tmpfs: make vm_object point to the tmpfs node instead of vnode</title>
<updated>2023-01-20T03:19:17Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-10-20T12:00:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e2d3dbe4ced68454afe0be0cb426bb2036c37454'/>
<id>urn:sha1:e2d3dbe4ced68454afe0be0cb426bb2036c37454</id>
<content type='text'>
Tested by:	pho

(cherry picked from commit d9dc64f1589360f2062ad92d63f69e13121e472a)
</content>
</entry>
<entry>
<title>Provide consistent prototype for swp_pager_meta_free()</title>
<updated>2023-01-20T03:19:12Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2022-12-09T15:21:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d81d67edb1cb372fb2833ecda05f8f35ac815a03'/>
<id>urn:sha1:d81d67edb1cb372fb2833ecda05f8f35ac815a03</id>
<content type='text'>
Tested by:	pho

(cherry picked from commit 645510e62e34d9af4c2d57c7a6443a494511918d)
</content>
</entry>
</feed>
