FreeBSD Errata Notices
2020-Jul-08 21:06 UTC
[FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-20:14.linuxkpi
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================FreeBSD-EN-20:14.linuxkpi Errata Notice The FreeBSD Project Topic: Kernel panic in LinuxKPI subsystem Category: core Module: linuxkpi Announced: 2020-07-08 Affects: FreeBSD 12.1 and 11.3 Corrected: 2020-01-22 00:30:27 UTC (stable/12, 12.1-STABLE) 2020-07-08 19:57:24 UTC (releng/12.1, 12.1-RELEASE-p7) 2020-01-22 15:51:24 UTC (stable/11, 11.3-STABLE) 2020-07-08 19:57:24 UTC (releng/11.3, 11.3-RELEASE-p11) Note: FreeBSD 11.4 was branched after the original commit to the stable/11 branch and already includes this erratum. For general information regarding FreeBSD Errata Notices and Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background The LinuxKPI subsystem allows kernel code ported from Linux to run in the FreeBSD kernel without extensive modification. Some graphics drivers make use of this subsystem. II. Problem Description A bug in one of the LinuxKPI subroutines could cause a kernel panic. III. Impact Certain graphical applications may trigger a kernel panic. This is most often observed when using X11 forwarding to run an application remotely. IV. Workaround No workaround is available. V. Solution Upgrade your system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date and reboot. 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 # shutdown -r +10min "Rebooting for errata update" 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:14/linuxpki.patch # fetch https://security.FreeBSD.org/patches/EN-20:14/linuxpki.patch.asc # gpg --verify linuxkpi.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch < /path/to/patch c) Recompile your kernel as described in <URL:https://www.FreeBSD.org/handbook/kernelconfig.html> and reboot the system. VI. Correction details The following list contains the correction revision numbers for each affected branch. Branch/path Revision - ------------------------------------------------------------------------- stable/12/ r356953 releng/12.1/ r363023 stable/11/ r356987 releng/11.3/ r363023 - ------------------------------------------------------------------------- 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: <URL:https://svnweb.freebsd.org/base?view=revision&revision=NNNNNN> VII. References <other info on the problem> <URL:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242913> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-EN-20:14.linuxkpi.asc> -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAl8GLkpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZD MEU4NzhBRTVBRkU3ODgwMjhENjM1NUQzOTc5MkY0OUVBN0U1QzIACgkQ05eS9J6n 5cJG7A//RWsupxbp1AMqYFz7KsC6zezh8pYU8rONJvWGgaH5MNTdzKVa+SDAg9il HI2IOAsDDRFRQvweyf1yOPMdPFUv15ZPgYpUcx2MoAbLFNa5TsqcodE6t1hEjBrQ 20x0yjg/Fy6T17BaX3cziBFjxd3YW79jf/+FpzCTOoNasxIteiR5Vt4NbJ7Esqoa u7U3uXtIvDmfVASfMYq2NmKWTP8cz+f2FCB3687G4jGmBhrfMK8DNVQ3RI6IjGEm RUzmnYLX0Xbs83PTCYEkEqmEdj+o9zRokCPxdhFjd9XxnKaWh5vM0N6FNxBOcYER OqGMy0X88wsqvs5l+FnXYdI/BzELrzXmB4lMEh9wXDfrCZt4wVkb0C0NBLGgrafV 95/YQobMsghe44ysVTmpfTi1++NnEDPgV/klVwBo6u9VluMH3PRxrTtW92SB0DOt QABVpgV96LKibsO26PRLS5yqMEgUPJ57W6mQvL9RdsTL/4VBamHQmUinXM1VlMml d2WVLguLw2vc86Mv2V4FZiC6A1eG91mUDTUYCeGxqBknl7DxBl+iGyM4Bu3Kw1+p eRi1Y6hAR/Vb/VyE4mNTBd0UzZhRymaXkiVm7nAKZjTAvSbpbEe26QCPzZGUgVsT UemEPi2lAAn2J3O46sEv8RjFjOOdrbOnyaZkJNBaKSPK7qq6etc=1UKD -----END PGP SIGNATURE-----
Andrea Venturoli
2020-Jul-09 06:12 UTC
[FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-20:14.linuxkpi
On 2020-07-08 23:06, FreeBSD Errata Notices wrote:> II. Problem Description > > A bug in one of the LinuxKPI subroutines could cause a kernel panic.Hello. Can we get any reference to this? E.g. a sample stack trace? I've been experiencing panics with the latest x.org and had to revert to an older version. It would be useful to me to know whether we are talking about the same problem, in order to know if it's worth trying the new version again. bye & Thanks av.
Ed Maste
2020-Jul-09 13:39 UTC
[FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-20:14.linuxkpi
On Wed, 8 Jul 2020 at 17:08, FreeBSD Errata Notices <errata-notices at freebsd.org> wrote:> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > ============================================================================> FreeBSD-EN-20:14.linuxkpi Errata Notice > The FreeBSD Project > > Topic: Kernel panic in LinuxKPI subsystem...> > # fetch https://security.FreeBSD.org/patches/EN-20:14/linuxpki.patch > # fetch https://security.FreeBSD.org/patches/EN-20:14/linuxpki.patch.asc > # gpg --verify linuxkpi.patch.ascAs reported by Teran McKinney in PR242913 there is a typo here - these should be # fetch https://security.FreeBSD.org/patches/EN-20:14/linuxkpi.patch # fetch https://security.FreeBSD.org/patches/EN-20:14/linuxkpi.patch.asc I.e., "kpi" is correct, "pki" is a typo. The subject line has the same issue. We'll send out an updated advisory text as soon as possible.