From nobody Wed Apr 29 18:40:37 2026 X-Original-To: freebsd-announce@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4g5R2F6lH2z6Zv2r for ; Wed, 29 Apr 2026 18:40:37 +0000 (UTC) (envelope-from security-advisories@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g5R2F3pRGz47Mq; Wed, 29 Apr 2026 18:40:37 +0000 (UTC) (envelope-from security-advisories@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777488037; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=b2K7gGitecziLHfqxPvgk65ES4yGAwVqQK8sb34Vsik=; b=hySEKC9Km4vEdeT6rp6i6oOKY6Lhdq/OJn/qb/Flt/miiG/ooqB0oV5fK9UG10tGj0rtm8 TKyKJBqzvcqHdVx9z+c1WwAm8SFqq6HGWZu8JnU/38VzI6Zjz1SQRoP4b6wCN6FsGHhXG0 8tgweoiMuEavBt2RPSR5eOyh4cZ5XWdUsHPAcrOVnOslk7orwQ3o/VeLhE/52FDRTw6y7R /LFyfwl1M4ssNckvGWoVPwVI+6qMTYwYHwH/WJ9Wzs7KKyMuyn4JGY6JN+Yrplx3vHDCVH klHZxgFffNsi8ILi3r4CqGs0IlJ4xIBpbqbm/9WDXjLGrik5zP+zYrbrFdceFw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777488037; a=rsa-sha256; cv=none; b=oQ+Vdhs8yeENSSvx5USMpKB+73kpC//r+rqatXZl3f7zNDAxoe/ghVKOc+0DKtdtLaNLEE Uy1Nn/gzAe2wR+LnAtYu8SXBA2TPu9YSL1NlAF9K6u4GpNVzxtHJloAuBrl+TIFFSCFopF XUPqRozEL/R4DgV5fopWQaFooEvZimyyV21zq2TvsradH81cD0XahtXJlOe1P040EovrzO RYgDaIQSM/eJNC22wbkeUFTl7fy786VkNilXRJC691Qvc8sJuY0Yo2LSt96NP1skuJ9iP2 I01+RKw4kns3vXEBlSlLnJhMO0Djv+OPbNickVHrgjqOlQNxyvYs0xz0X32/uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777488037; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc; bh=b2K7gGitecziLHfqxPvgk65ES4yGAwVqQK8sb34Vsik=; b=LZObdn5pi8e8ciSPcWMvF04A9iePxqScuOkbBWzjqAfSt4GzKoYt9jBXvVD7lddWbvxAD1 aFJU9ebQKb3B9jYLnvCEqmgdKL1VwVuAhTdhnq+MXxbActLo25HXv1YTgcjKYbIPJwAnHj MHgwhnQ2S4eQCIyi+BvDUF07qsZ3ciK9e6WoWRk6vX1zNsgujoqL8ASfsWoJrLf3WdFWWO wjl3xcdKnxxq4cvVbT0kQchesuH0UIgiWsEpYnVnvTxymH7/uI+zRYj2twIBhOSBiOif7Q 9YGhIuru4RhFZuMacPzTKnH11t/Ofv1WJPLP3MfNcwStN6uljmgY60tfGDwvvg== Received: by freefall.freebsd.org (Postfix, from userid 945) id 6CE1096DE; Wed, 29 Apr 2026 18:40:37 +0000 (UTC) From: FreeBSD Errata Notices To: FreeBSD Errata Notices Subject: FreeBSD Errata Notice FreeBSD-EN-26:10.amd64 Reply-To: freebsd-stable@freebsd.org Precedence: bulk Message-Id: <20260429184037.6CE1096DE@freefall.freebsd.org> Date: Wed, 29 Apr 2026 18:40:37 +0000 (UTC) List-Id: Project Announcements [moderated] List-Archive: https://lists.freebsd.org/archives/freebsd-announce List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-announce@freebsd.org Sender: owner-freebsd-announce@FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-EN-26:10.amd64 Errata Notice The FreeBSD Project Topic: TLB invalidation bug on AMD systems with INVLPGB Category: core Module: vm Announced: 2026-04-29 Affects: FreeBSD 14.3 and later Corrected: 2026-04-23 13:48:45 UTC (stable/15, 15.0-STABLE) 2026-04-29 14:48:26 UTC (releng/15.0, 15.0-RELEASE-p7) 2026-04-23 13:49:23 UTC (stable/14, 14.4-STABLE) 2026-04-29 14:49:39 UTC (releng/14.4, 14.4-RELEASE-p3) 2026-04-29 14:49:19 UTC (releng/14.3, 14.3-RELEASE-p12) 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 On multi-core systems, TLB invalidation operations must notify other cores, as each core maintains a local TLB. On amd64 systems this has historically been implemented using interprocessor interrupts. Recent AMD CPUs provide a new instruction, invlpgb, which allows a core to broadcast TLB invalidations to other cores without need to explicitly raise interrupts. The FreeBSD kernel makes use of this instruction when available. II. Problem Description The FreeBSD implementation of ranged TLB invalidation took advantage of a bit in an invlpgb operand to invalidate consecutive 2M entries, instead of invalidating purely in increments of 4K pages. The hardware invlpgb implementation uses the underlying page size to invalidate regardless of the status of this bit, which may leave a series of 4K mappings intact that should have been invalidated. III. Impact Failing to invalidate pages when it required may result in apparent kernel memory corruption, typically resulting in a kernel panic. Workloads involving heavy use of kqueue(2) and/or large file descriptor tables seem to trigger the problem somewhat readily. IV. Workaround Intel and non-x86 systems are not affected. AMD systems that support INVLPGB (reported during the kernel boot process in "AMD Extended Feature Extensions ID EBX") may set vm.pmap.invlpgb_works=0 in /boot/loader.conf to work around this issue by disabling the use of invlpgb. V. Solution Upgrade your system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date, and reboot the system. Perform one of the following: 1) To update your system installed from base system packages: Systems running a 15.0-RELEASE version of FreeBSD on the amd64 or arm64 platforms, which were installed using base system packages, can be updated via the pkg(8) utility: # pkg upgrade -r FreeBSD-base # shutdown -r +10min "Rebooting for a security update" 2) To update your system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms, or the i386 platform on FreeBSD 13, which were not installed using base system packages, can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install # shutdown -r +10min "Rebooting for a security update" 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. # fetch https://security.FreeBSD.org/patches/EN-26:10/amd64.patch # fetch https://security.FreeBSD.org/patches/EN-26:10/amd64.patch.asc # gpg --verify amd64.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 and reboot the system. VI. Correction details This issue is corrected as of the corresponding Git commit hash in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/15/ 280cfe2264d7 stable/15-n283199 releng/15.0/ 182c59658218 releng/15.0-n281027 stable/14/ ff11ae166cd9 stable/14-n274021 releng/14.4/ b00785205990 releng/14.4-n273689 releng/14.3/ 3b1365cb816e releng/14.3-n271489 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat Or visit the following URL, replacing NNNNNN with the hash: To determine the commit count in a working tree (for comparison against nNNNNNN in the table above), run: # git rev-list --count --first-parent HEAD VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmnySRcbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrv4zAP/3/9no397tY5+uMITwzb d8RklxyJatGAYnqSQrJCjxm4er+CUijdCb6jUrg2L2hKt8c3KOQctSY5ko2agkZ2 41ghOeIOU6N9+aiNN4wlqCbgufUXjtBWBBEgOvJHyU1QnSazKDZmGAwWfiTz8Uh7 QtuRHV/I8LDKpd6UtVC6S6lsKSiDrmMQ6CmDSMiMDEpJO8cM1rKejU/gGSTaiwak 25SvR6z1rgJwh5VFKnT5a7G9Gw3oV04+zWQRoYOotiblg1qUgLAjMxogrIvFQKbR fQElldSwQl7ErlFjYCBrvDbXzGqlsDDab05ay4361VD92QWQ4o64X5KHR+Rb0yYt RWfPxfCNA1fNMDjkY1y9ROjGERuNdhJzGl5o2m6TXJl/rUX+BZrWZLTC/68CMy/B DHrKPMLRD6rOS6AupNK1UfKoRPqha9tdwdofOOD4qr6PQ0UecLyUrUQljlK6QUYm yUQQzC0eun6SdQihPaHGEXK0oe7MqWJvt7s82DE6EKKR8FJ2aqWfMT7qjV3Y3E7e TJzJGDsbLoZYtPl8u6OQM2gaxAf5CqSCxU7PvyOsu5/gf89CsakdC6OUBkXh/pAS wCLDDyqffmgwOi1hE9ACgUOVASRyrITZwP1sqyAVJF8yY3YhxGHImaFrdAJ/yU4Q xp9Ok7v2qSxueDnMc9C16AFt =pWDj -----END PGP SIGNATURE-----