[FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-18:17.vm

20/12/18, [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-18:17.vm
From: FreeBSD Errata Notices <errata-notices@freebsd.org>

Generated by MHonArc

CSIM Logo WelcomeCourses
Faculty, Student, Staff
Projects and reports
Conferences, workshop and seminars
Laboratories and reasearch facilities
Information related to CSIM
Information non-related to CSIM
Address, map, phone, etc.
Search

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]


To: FreeBSD Errata Notices <errata-notices@freebsd.org>
Subject: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-18:17.vm
From: FreeBSD Errata Notices <errata-notices@freebsd.org>
Date: Wed, 19 Dec 2018 20:52:43 +0000 (UTC)
Arc-authentication-results: i=1; mx1.freebsd.org
Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1545254278; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:list-id:list-unsubscribe:list-subscribe:list-post; bh=1MCvA2V0DNAZRNx7yARbCAAge+CrtGMjZcH8KhT88GY=; b=Z3wz58VtHaolQJw6QIWcoVrG3Jl9U0xnZAzqw5xQXWcDbLckVw1mvuj+PDoldN9902fh4b JJaasR9e695LhrRv6U91mc0LYW3chvVppzqEdy+hhK0yAkJ9Y/EDFSSAIbdTRAexMdGvj0 fsf3mo4QCcXKHZuydNuu9V/kFx9N0PQLYoUNd4dRGxPEPwy3CABI3AqXZ3uce4rHeBlhHJ esa80QwAnl+Ahuf2+mWK4fkVszDDpVrnXZdVW/W3AMbVTdv+lxyoMenv94FHg+cnZldGEz cI6ETIbO9aNU/cxite7X++1rqiZUCL2Y9/hLgYW5mak5/7kOz6wYUPtlmQ6RWg==
Arc-seal: i=1; s=dkim; d=freebsd.org; t=1545254278; a=rsa-sha256; cv=none; b=t0TcqVQiM15CdIwIA0k/s1+JZQxrFsf3qqDCyrcttWeUkRXPQz6rOnIN96StMF4QBdLHr9 olFF3YaTWftjWmazb8l2CkKSz2wUGF5XUZukyFFJMJcY+Cs2quTQGf+sbjdKM/urnBX1e6 fsx2JpLW81BfLQJVMG37ATy3wrDAISGGLz6P8jQpl3t3D3v50er6X1OPYsGBm54MAnUg9T G0Eos/L+J8AVjM70lcNRoU3Goz7On3B4kFC16VAg71pAi5zFPPXhGM/0wdxvQGzVrOUwi7 mmcq1Z8PB0BBny7sa66bnbBMGzUE0tJJqKUMKb/dzC4srP0q2TkYR/O41SpZ6Q==
Authentication-results: mail.cs.ait.ac.th (amavisd-new); dkim=pass (2048-bit key) header.d=freebsd.org
Authentication-results: mx1.freebsd.org
Delivered-to: on@cs.ait.ac.th
Delivered-to: freebsd-announce@mailman.ysv.freebsd.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1545254278; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:in-reply-to: references:list-id:list-unsubscribe:list-subscribe:list-post; bh=1MCvA2V0DNAZRNx7yARbCAAge+CrtGMjZcH8KhT88GY=; b=iveI1oly0h+bzQn8moAHkJ9Fro347Rl0MFMvA4TsNEbG0egLrH2Y4YcnLKqzTQwwcibKVU DHJI1YwZrL2LQltim6Wj/4+zACBPWs4sar97kwl0zQodyG3gQokE+lCpF+pmuguQhYZMai DjD2K+DfRhsgCRSqSSeu9NjbxC9EHw5/PHXwWv6tQMlhdpBfNdiNjUraCLsoJ0gxcRiTbU pXpkIXva4Pj0y6mxHWb7KsHvb6lj77WddCjknJMYgyjJxQ2XNjZoGvf7vhgwTysihAFQAj mab92reRwydHBs4tDSEDSMgaDvPHFrw708aXzowWyStRD/3V/5mifVUontt9ZA==
List-archive: <http://lists.freebsd.org/pipermail/freebsd-announce/>
List-help: <mailto:freebsd-announce-request@freebsd.org?subject=help>
List-id: "Project Announcements \[moderated\]" <freebsd-announce.freebsd.org>
List-post: <mailto:freebsd-announce@freebsd.org>
List-subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-announce>, <mailto:freebsd-announce-request@freebsd.org?subject=subscribe>
List-unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-announce>, <mailto:freebsd-announce-request@freebsd.org?subject=unsubscribe>
Reply-to: freebsd-stable@freebsd.org
Sender: owner-freebsd-announce@freebsd.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

=============================================================================
FreeBSD-EN-18:17.vm                                             Errata Notice
                                                          The FreeBSD Project

Topic:          Kernel panic under load on Intel "Skylake" CPUs

Category:       core
Module:         kernel
Announced:      2018-12-19
Credits:        Mark Johnston
Affects:        FreeBSD 11.2
Corrected:      2018-12-02 18:08:27 UTC (stable/11, 11.2-STABLE)
                2018-19-19 18:00:58 UTC (releng/11.2, 11.2-RELEASE-p7)

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 physical page allocator is a component of the kernel responsible for
tracking usage of the system's RAM by the kernel and by userland
applications.  It maintains lists of unused memory pages which may be
returned by the allocator upon demand.  It also maintains an integer
count of the number of pages stored in these lists.

II.  Problem Description

The kernel contains handling for an Intel erratum affecting Skylake-X
CPUs.  The erratum description states that a processor may hang when
performing a certain synchronization operation within a particular 4MB
region of physical memory.  FreeBSD works around the erratum by using
a blacklisting mechanism to ensure that the physical page allocator
never returns pages in that region.  However, this blacklisting
mechanism contained a bug such that the removal of pages in the region
was not reflected in the free page count.

III. Impact

The discrepancy between the free page count and the physical page
allocator's state can trigger a NULL pointer dereference when the
system is under heavy load, resulting in a panic.

IV.  Workaround

Only systems using a Skylake-X or Skylake Server CPU are affected.

Affected systems can work around the problem by setting the
"hw.skz63_enable" to 0 in /boot/loader.conf, causing the handling for
the Intel erratum to be disabled upon a reboot of the system.  However,
this raises the possibility of being affected by the erratum if software
running on the system makes use of Intel TSX.

V.   Solution

Perform one of the following:

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

2) 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
Reboot the system

3) 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.

[FreeBSD 11.2]
# fetch https://security.FreeBSD.org/patches/EN-18:17/vm.patch
# fetch https://security.FreeBSD.org/patches/EN-18:17/vm.patch.asc
# gpg --verify vm.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/11/                                                        r341401
releng/11.2/                                                      r342225
- -------------------------------------------------------------------------

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

<URL:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231296>

The latest revision of this advisory is available at
<URL:https://security.FreeBSD.org/advisories/FreeBSD-EN-18:17.vm.asc>
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE/A6HiuWv54gCjWNV05eS9J6n5cIFAlwannZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEZD
MEU4NzhBRTVBRkU3ODgwMjhENjM1NUQzOTc5MkY0OUVBN0U1QzIACgkQ05eS9J6n
5cKsAxAAkr/ufB1aKSSib0n/e6PXE1FOnjUGgpK+LiiSG+QdW/6oMv/yto+4Qbj2
3Ht3TPyuoTqwQmHHiSzpnnnRHGDrdffiRYQsziFR89c8iyw7Qni8BYlK2YLYYw9i
TVyT6sxkorpTPZpGQZNaRBwZoWCLaxBvfKC0wVcli9gByOfb5T5J4puUNT4EXIpb
eaimCWG24vsIkWlHeC/8ulHsjEEDBatyfWWl95i8JVMqBDdHZypryJkO0jBo5Uig
PIighKIqDiEwwvjtHfGh4iAn3mFINDbMDdjXyMWYqDbgvX3J6cCv6qaY7p2eizQN
taN1rbC+7MJIFEkTFASvbJq7KOc/PcXOLU4O3964HZbbowdQNwAxQAuMGN6GNLmJ
ydHE7Atei1Py8q3gg9uMpX0TVikzfOL6iBmdzEkg2mgXIeyISLn5BTuE/k9hkVwi
6Boeec1qshtx04gF0xzsp/KPropad4nV09/E4cuo5jHuaq3WgpnDVzVhGEmFZpY7
Z5B8vHqSc7Ng0xZoQYIcYbGCVBaWNF4WCf/1DZhU44mXkob+CRkv+kROFkfn8lY3
2Jzjp7LWqPv9CFxIJ7q4BnDTyhxkQksm646tII1JNMcjY0hzFjQDUrVmDRb8ak/E
LsJNDKicqGdCdrHeA8jZm7RxwAmdkhyF/uumPYxJg64Y9DU23SM=
=QgI2
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-announce@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-announce
To unsubscribe, send any mail to "freebsd-announce-unsubscribe@freebsd.org"


Previous message sorted by date: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-18:16.ptrace
Next message sorted by date: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-18:18.zfs
Previous message sorted by thread: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-18:16.ptrace
Next message by thread: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-18:18.zfs
Main Index
Thread Index

CSIM home pageWMailAccount managementCSIM LibraryNetwork test toolsSearch CSIM directories
Contact us: Olivier Nicole CSIM    SET    AIT Last update: Jan 2019