[FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-20:07.quotad

FreeBSD Errata Notices errata-notices at freebsd.org
Tue Apr 21 16:54:58 UTC 2020

Hash: SHA512

FreeBSD-EN-20:07.quotad                                         Errata Notice
                                                          The FreeBSD Project

Topic:          Regression in rpc.rquotad with certain NFS servers

Category:       core
Module:         rpc.quotad
Announced:      2020-04-21
Affects:        All supported versions of FreeBSD
Corrected:      2019-09-21 14:03:41 UTC (stable/12, 12.1-STABLE)
                2020-04-21 15:50:57 UTC (releng/12.1, 12.1-RELEASE-p4)
                2019-09-21 14:06:16 UTC (stable/11, 11.3-STABLE)
                2020-04-21 15:50:57 UTC (releng/11.3, 11.3-RELEASE-p8)

For general information regarding FreeBSD Errata Notices and Security
Advisories, including descriptions of the fields above, security
branches, and the following sections, please visit

I.   Background

The Network File System (NFS) allows a system to share directories and files
with others over a network.  By using this, users and programs can access
files on remote systems almost as if they were local files.

The rpc.rquotad utility is an rpc(3) server which returns quotas for a user
of a local file system which is NFS-mounted onto a remote machine.

II.  Problem Description

A change in rpc.rquotad made it send RQUOTA v2 requests instead of RQUOTA v1
requests.  Some vendors would send RPC_PROGNOTREGISTERED ("Program Not
Registered") response instead of the desired RPC_PROGVERSMISMATCH ("Program
Version Mismatch") response, preventing the mechanism from working.

III. Impact

The quota(8) command will not be able obtain quota information for some NFS
server vendors.

IV.  Workaround

No workaround is available.  Systems not using quotas on NFS mounted file
systems are unaffected.

V.   Solution

Upgrade your system to a supported FreeBSD stable or release / security
branch (releng) dated after the correction date.

Perform one of the following:

1) To update your system via a binary patch:

Systems running a RELEASE version of FreeBSD on the i386 or amd64
platforms can be updated via the freebsd-update(8) utility:

# freebsd-update fetch
# freebsd-update install

2) To update your system via a source code patch:

The following patches have been verified to apply to the applicable
FreeBSD release branches.

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch https://security.FreeBSD.org/patches/EN-20:07/quotad.patch
# fetch https://security.FreeBSD.org/patches/EN-20:07/quotad.patch.asc
# gpg --verify quotad.patch.asc

b) Apply the patch.  Execute the following commands as root:

# cd /usr/src
# patch < /path/to/patch

c) Recompile the operating system using buildworld and installworld as
described in <URL:https://www.FreeBSD.org/handbook/makeworld.html>.

Restart the applicable daemons, or reboot the system.

VI.  Correction details

The following list contains the correction revision numbers for each
affected branch.

Branch/path                                                      Revision
- -------------------------------------------------------------------------
stable/12/                                                        r352575
releng/12.1/                                                      r360148
stable/11/                                                        r352576
releng/11.3/                                                      r360148
- -------------------------------------------------------------------------

To see which files were modified by a particular revision, run the
following command, replacing NNNNNN with the revision number, on a
machine with Subversion installed:

# svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base

Or visit the following URL, replacing NNNNNN with the revision number:


VII. References


The latest revision of this advisory is available at


More information about the freebsd-announce mailing list