-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-26:103.ptrace Security Advisory The FreeBSD Project Topic: Use-after-free via ptrace(PT_SC_REMOTE) and execve(2) Category: core Module: ptrace Announced: 2026-12-02 Credits: Albert E. of Metnir Affects: All supported versions of FreeBSD. Corrected: 2026-12-02 19:25:58 UTC (stable/15, 15.2-STABLE) 2026-12-02 19:27:37 UTC (releng/15.2, 15.2-RC1-p1) 2026-12-02 19:26:34 UTC (releng/15.1, 15.1-RELEASE-p8) 2026-12-02 19:28:22 UTC (stable/14, 14.5-STABLE) 2026-12-02 19:29:23 UTC (releng/14.5, 14.5-RELEASE-p5) 2026-12-02 19:28:54 UTC (releng/14.4, 14.4-RELEASE-p14) CVE Name: CVE-2026-127758 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background The ptrace(2) system call provides facilities for a debugger to control the execution of a target process and to obtain status information about it. Among other capabilities, it permits a debugger to execute arbitrary system calls in the target process via the PT_SC_REMOTE operation. II. Problem Description While a traced process was stopped to report a signal, the debugger could use PT_SC_REMOTE to make it call execve(2), which may replace the process's signal handling state and allow the old state to be freed. The kernel's signal processing code did not account for this and continued to use the old state once the process resumed. III. Impact An unprivileged local user may be able to exploit the resulting use-after-free to escalate privileges. IV. Workaround Unprivileged users can be prevented from using ptrace(2) by disabling unprivileged process debugging: # sysctl security.bsd.unprivileged_proc_debug=0 To make this change persistent across reboots, add it to /etc/sysctl.conf. This also prevents unprivileged users from using debugging tools such as truss(1). It does not prevent exploitation by root within a jail. V. Solution Upgrade your vulnerable 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 vulnerable system installed from base system packages: Systems running a 15.0-RELEASE or later 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 vulnerable system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms 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 vulnerable 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 15.2] # fetch https://security.FreeBSD.org/patches/SA-26:103/ptrace-15.2.patch # fetch https://security.FreeBSD.org/patches/SA-26:103/ptrace-15.2.patch.asc # gpg --verify ptrace-15.2.patch.asc [FreeBSD 15.1] # fetch https://security.FreeBSD.org/patches/SA-26:103/ptrace-15.1.patch # fetch https://security.FreeBSD.org/patches/SA-26:103/ptrace-15.1.patch.asc # gpg --verify ptrace-15.1.patch.asc [FreeBSD 14.x] # fetch https://security.FreeBSD.org/patches/SA-26:103/ptrace-14.patch # fetch https://security.FreeBSD.org/patches/SA-26:103/ptrace-14.patch.asc # gpg --verify ptrace-14.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch -E -p0 < /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 This issue is corrected as of the corresponding Git commit hash in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/15/ 913ba4afd290 stable/15-n287082 releng/15.2/ 7bfcd42887dc releng/15.2-n286789 releng/15.1/ 5717bad84331 releng/15.1-n283712 stable/14/ 5c1ab983f924 stable/14-n275708 releng/14.5/ e7f9a1aaf5fb releng/14.5-n274944 releng/14.4/ 478f0611695d releng/14.4-n273845 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat <commit hash> Or visit the following URL, replacing NNNNNN with the hash: <URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN> 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 <URL:https://www.cve.org/CVERecord?id=CVE-2026-127758> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-26:103.ptrace.asc> -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmsQj14bFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrvUSIP/3DOCje/817dd6h1zRvo IcLszcZdKYxN8FA++njCyHWlpXVex9JXdjb8LGVa1OelUKHp21eTzX88ZxIbMHMt pYlH4GXdqpj8KztsIwO4BiK4tNm0w4ap78r0P+7Ks6kCaI4TBAMRxVfuORZ6Dm9E e3rwGY29wy4jhbFBKV8ikT95/3yC0zzUYzPk8a3VEG9lMdrP82+qMfbkWkYz8QVm /1K0ymn0kcRK3ytCueKQ9D83Zao7a0VBnnDAQe+f5DWA76yr0iYtFtjNaNGp1yNl W3OOv/jDpimwTztGyrkNa++3zK0OtOSHms/HJ9r9/fWWoU1nvpY49Y9QlsYKhimp 204YhQuCBP+pHKL35+RHm2eW9HlhSbG2h26cXIA/YgWxdZUm2FThbMFlBTgEH5ah jc2GR+QMmv3QO3j7LTSgkrDY0yAUCXdsBLcNHqReZx0i+iozpKBH8EC6oBNSQ8Rp WIFYbHkTkqDLAqCV06u61clRXxU6byUHWABiA5+warOWCsV1GsU/CPi0whKEaq39 GH/kFsTbmIwNfqjlHU9aCSagXmZU1KF4M2UhP2+/Ju8PZ9mb39EGEbGua5NN6u4i 1p0T9a9A3qBsmoZf6zELkQ74/Xpvi4K+hw03EKK4I94N1ggWKWG6VNzBA0AaFnkt 2sA+NJb54mgW9vM5m2+jJSvz =LsSS -----END PGP SIGNATURE-----
Wednesday, December 2, 2026
FreeBSD Security Advisory FreeBSD-SA-26:102.socket
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-26:102.socket Security Advisory The FreeBSD Project Topic: Privilege escalation via listen(2) race on TCP sockets Category: core Module: socket Announced: 2026-12-02 Credits: Laam Alif at Ibteda Digital Library Credits: OpenAI Security Research Team Affects: All supported versions of FreeBSD. Corrected: 2026-12-02 19:25:57 UTC (stable/15, 15.2-STABLE) 2026-12-02 19:27:36 UTC (releng/15.2, 15.2-RC1-p1) 2026-12-02 19:26:33 UTC (releng/15.1, 15.1-RELEASE-p8) 2026-12-02 19:28:24 UTC (stable/14, 14.5-STABLE) 2026-12-02 19:29:22 UTC (releng/14.5, 14.5-RELEASE-p5) 2026-12-02 19:28:53 UTC (releng/14.4, 14.4-RELEASE-p14) CVE Name: CVE-2026-127762 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background A connection-oriented socket, such as a TCP socket, either exchanges data with a peer, or, after a call to listen(2), accepts incoming connections. The kernel stores a listening socket's connection queue in the memory that otherwise holds the socket's data buffers. II. Problem Description listen(2) permitted a socket to become a listening socket after it had been disconnected. However, TCP may continue to operate on a socket's data buffers for some time after marking it disconnected, for example while handling shutdown(2). A concurrent call to listen(2) could thus cause TCP to operate on the connection queue as if it were a data buffer. III. Impact An unprivileged local user may be able to exploit the resulting memory corruption to escalate privileges. IV. Workaround No workaround is available. V. Solution Upgrade your vulnerable 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 vulnerable system installed from base system packages: Systems running a 15.0-RELEASE or later 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 vulnerable system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms 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 vulnerable 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/SA-26:102/socket.patch # fetch https://security.FreeBSD.org/patches/SA-26:102/socket.patch.asc # gpg --verify socket.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch -E -p0 < /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 This issue is corrected as of the corresponding Git commit hash in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/15/ 4e0671285fae stable/15-n287081 releng/15.2/ 4db4ec218b69 releng/15.2-n286788 releng/15.1/ 8a21dc077da9 releng/15.1-n283711 stable/14/ dbd0f4a71210 stable/14-n275710 releng/14.5/ 8e099865681a releng/14.5-n274943 releng/14.4/ a663b1b3cb70 releng/14.4-n273844 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat <commit hash> Or visit the following URL, replacing NNNNNN with the hash: <URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN> 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 <URL:https://www.cve.org/CVERecord?id=CVE-2026-127762> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-26:102.socket.asc> -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmsQj1wbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrvv8kP/2lmLjYpUlLrIUqloAbO qPnJVYEAGfTZLTqDBGpRSOyIRTHOYGhtRQteBAIZw7Tz//T4/WzVy+yUFDe+LjzT S+7vezsHoLwgPVPOtWRVEYLffN4p6wzADWIsQ5stBM//LmzLGxmM/QpJhvC+a+Af ALC88u1Uf/Z0D7revz1sAXEUt/pDnW2+Sj5lyndyjKC0iOMbqCLXHa/vqzY5PUTp cOmCXzva3LGUTvEjnzTfuAJdx5Ve0vARdShUDT90+sbD9Ucv9UMafEr+jEEBNtLV rHO4C3aLmB1fcRMQlg/FAB+H0xcz/4cE1p7MmRgeihcaQQAh1UWlFUCh3PcleLxb 81KUjtmV65hyTApEG47YplA4P0qtjLNEa+Kk6fE6QtnviDyK6Iwn+RxvN6w3ayEd 6R4b1H08AEaWTKgfP243nFpSNtJT8p4xt+ghWNoNAah+kkX0eTYNq/sD62CddKIM mAmqoBV6DyBmWGAl1LTAl0If53xYnF0IyGc4s4Q6QNgfAA6OKcqo86dFRYuHpkaf zsYK9xaWNDVxMq9wK0tz+Ncsl8f35yc2Z6Hteqay6KnZtz3Ct3r+hO8B5kFgMe0U D983fPhN6Y4WefUKSWZ/+46BJpLEcMwPudaJAxxOeYtf83BzhWlIjmnmuzY9jNC2 HNWORSh4drsMjZykHPiH5xn1 =8dZL -----END PGP SIGNATURE-----
FreeBSD Security Advisory FreeBSD-SA-26:100.unix
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-26:100.unix Security Advisory The FreeBSD Project Topic: Use-after-free via MSG_PEEK on unix(4) datagram sockets Category: core Module: unix Announced: 2026-12-02 Credits: tsune of GMO Cybersecurity by Ierae, Inc. working with TrendAI Zero Day Initiative Affects: FreeBSD 15.x Corrected: 2026-12-02 19:25:54 UTC (stable/15, 15.2-STABLE) 2026-12-02 19:27:33 UTC (releng/15.2, 15.2-RC1-p1) 2026-12-02 19:26:30 UTC (releng/15.1, 15.1-RELEASE-p8) CVE Name: CVE-2026-127759 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background Unix domain sockets provide a mechanism for processes on the same host to communicate, and can be used to pass file descriptors between processes. The kernel's garbage collector periodically scans descriptors in transit to reclaim unix sockets that are no longer reachable by any process. The MSG_PEEK flag to recv(2) returns queued data without removing it from the socket. II. Problem Description When a datagram on a unix(4) socket was received with MSG_PEEK, the kernel moved it out of the receive queue but left it linked to the next queued datagram. That datagram could later be freed, for example when the sending socket was closed, but the garbage collector still followed the stale link when scanning the socket. The collector would then access freed memory and could reclaim a socket that was still in use. III. Impact An unprivileged local user may be able to exploit the resulting use-after-free to escalate privileges. IV. Workaround No workaround is available. V. Solution Upgrade your vulnerable 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 vulnerable system installed from base system packages: Systems running a 15.0-RELEASE or later 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 vulnerable system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms 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 vulnerable 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/SA-26:100/unix.patch # fetch https://security.FreeBSD.org/patches/SA-26:100/unix.patch.asc # gpg --verify unix.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch -E -p0 < /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 This issue is corrected as of the corresponding Git commit hash in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/15/ a97437b8d795 stable/15-n287078 releng/15.2/ c7c5f6263418 releng/15.2-n286785 releng/15.1/ 5071b0f85bcf releng/15.1-n283708 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat <commit hash> Or visit the following URL, replacing NNNNNN with the hash: <URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN> 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 <URL:https://www.cve.org/CVERecord?id=CVE-2026-127759> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-26:100.unix.asc> -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmsQj1cbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrvofkP/3FmnR7qMJdOTfvkUz2A kHyDiREQhQSG2QtGZSOEeXoI+sOAtkgg4DOh7mbunDf8QVm+bI94a2TvlvdPK5Yq x91ZtXdm4G6vf0wlN6ott9X2LkDVswab2F/K67KBEaH2XSet7LONf2dywXAFWqlh nuD8JVpi8GINmp4tt5hNtwfoOOYq/p2Vl4LhvfwVjOFLopvYoJAvMCHbGs3quH1q dbmVpUWR8XNis1ze3BHIOjvJaflpA9/k8H+0UykdAiS7yUMJG3Z8SRpmTzU6AAf7 zedffwAqB7vs9lx12Na7ogSrV52Vnzt9VHjIAp6GFJ+9F9rDjUnZsKN4Tu3Tek4G 5oUzRl/yKzbqNDtVbSbzUOjAFHPB6OaQr7eC7s1Mwhysw6Ege+COzhhUGBdzodLx CVat/nRmp/lbEbrwGVGgGaF69Tcs9kQJlz0POqNbKiYT6rVGjtBTB5yBSXAoDiqf FczgcIYeFo1dTXmxB39sdGQwQwl0OzcSx8swxn4TIAlhJbrHRV+tQRJBznfHVUuj Zdp4hGdFG1ivCsS82NGwNJZVsn6FL9OfTc9iths/yxH2XCxHEoRD2htv57hM+bqa EC1J7Wzp4qFOzDPPJQALAg6MthEQChnI9l3Md9p3AioaaJxgkE6EDBT/dJ9D32Gi 00Z7U5oXpoypf8niK7NA6Sui =ngcX -----END PGP SIGNATURE-----
FreeBSD Security Advisory FreeBSD-SA-26:99.linux
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-26:99.linux Security Advisory The FreeBSD Project Topic: Memory corruption of set-ID Linux programs via execve(2) Category: core Module: linux Announced: 2026-12-02 Credits: Matt Macy Affects: All supported versions of FreeBSD. Corrected: 2026-12-02 19:25:53 UTC (stable/15, 15.2-STABLE) 2026-12-02 19:27:32 UTC (releng/15.2, 15.2-RC1-p1) 2026-12-02 19:26:29 UTC (releng/15.1, 15.1-RELEASE-p8) 2026-12-02 19:28:18 UTC (stable/14, 14.5-STABLE) 2026-12-02 19:29:19 UTC (releng/14.5, 14.5-RELEASE-p5) 2026-12-02 19:28:49 UTC (releng/14.4, 14.4-RELEASE-p14) CVE Name: CVE-2026-127757 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background The Linux binary compatibility layer (Linuxulator) allows unmodified Linux binaries to run on FreeBSD. Linux threads may register a clear_child_tid address. When such a thread terminates, the kernel writes zero to that address and wakes any associated futex waiter. The Linuxulator also processes each terminating thread's robust futex list. Executing a set-user-ID or set-group-ID program with execve(2) may change the process's credentials. II. Problem Description During execve(2) of a multithreaded process, FreeBSD suspended sibling threads before replacing the process image but did not terminate them until after the new address space was installed. The Linuxulator then performed thread-exit cleanup using clear_child_tid and robust futex pointers registered by the old image. Consequently, an address selected by an unprivileged process could be dereferenced in the address space of the newly executed program. For a set-user-ID or set-group-ID Linux executable, this cleanup occurred after the privileged image was installed and before it received user-mode control. III. Impact An unprivileged local user can cause chosen four-byte words at writable addresses in a set-user-ID or set-group-ID Linux process to be set to zero. This can corrupt or terminate a privileged program and may permit privilege escalation. IV. Workaround Systems without a Linux binary compatibility module (linux.ko or linux64.ko) loaded, or without any set-user-ID or set-group-ID Linux executables, are not affected. The following commands can be used to test whether the modules are loaded: # kldstat -m linuxelf # kldstat -m linux64elf On affected systems, set-ID handling for Linux executables can be disabled with: # sysctl compat.linux.setid_allowed=0 To make this change persistent across reboots, add it to /etc/sysctl.conf. V. Solution Upgrade your vulnerable 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 vulnerable system installed from base system packages: Systems running a 15.0-RELEASE or later 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 vulnerable system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms 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 vulnerable 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 15.x] # fetch https://security.FreeBSD.org/patches/SA-26:99/linux-15.patch # fetch https://security.FreeBSD.org/patches/SA-26:99/linux-15.patch.asc # gpg --verify linux-15.patch.asc [FreeBSD 14.x] # fetch https://security.FreeBSD.org/patches/SA-26:99/linux-14.patch # fetch https://security.FreeBSD.org/patches/SA-26:99/linux-14.patch.asc # gpg --verify linux-14.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch -E -p0 < /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 This issue is corrected as of the corresponding Git commit hash in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/15/ 8a108344fc5e stable/15-n287077 releng/15.2/ 7f49953a4c3b releng/15.2-n286784 releng/15.1/ c17465cb74dc releng/15.1-n283707 stable/14/ 19a3fa84f345 stable/14-n275705 releng/14.5/ 05262784582b releng/14.5-n274940 releng/14.4/ 2afb638b26d0 releng/14.4-n273841 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat <commit hash> Or visit the following URL, replacing NNNNNN with the hash: <URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN> 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 <URL:https://www.cve.org/CVERecord?id=CVE-2026-127757> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-26:99.linux.asc> -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmsQj3EbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrvUvwQAL1d0VfLbvIwBFJgJX3N jKFKtv/x4iamDh7Wqx4B4PLdAh/SPdONjFuULuqeTNjUPLtm5dfiiCj8RPWypxPx wh+Fbo29hqKyGUi1E7nhP/ykW1kSaq6jMzA6wfU9ozVmW4FSeJzP6jawbdE+zTgO vPfXI4aGj6/HM9UYEFfd3+UrdHAAb5CvRNDhiM9uH+/hJ54P8Fdd9vaXlheATzzn bNuX3QB4wSahzmoqOe9a+gUzU88KSY7UZoIE3G+cuJMZVP7MCOE9zBucVe4G1iq6 7EByxvNaYd4BmrnEjRgYIDycvBBk6JsqaGzpaXRMeW8wRXE4b4daNHUfVmF1MAV/ pC1aevwIv3PgmMgtVZMijHNT93vowSchybVyC1S9XvSvy2Wc2ZtEaV+AlFSzaCBE R6AYk6CU7lnd1m0uPG/fSisSMlIQZ5yCgDGZOn9jViBeSaQdFlcTQi05SGvMz3hG Rt8lKJOYlqsKSCbGz9lA70rkSAWU2XPwL6bZLOPAvR+WDDpVcvIvADem8C8tzFFM QP4/SJbn1UX2YkP+ULXIfRxlbijeJ9SsFdjcj7h3+B58grMCav2puROHfMNryR3b 8Om0OBomeQre4Fpk3x+4kTeIYZiXZ4LmMqrxvHD3CbDbRT9IfrsfEyx4qxmwyNx4 5h2wLMEIJtEnZZOJRG+Tvnjj =iVHq -----END PGP SIGNATURE-----
FreeBSD Security Advisory FreeBSD-SA-26:98.bsnmp
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-26:98.bsnmp Security Advisory The FreeBSD Project Topic: Unauthenticated remote denial of service in bsnmpd(1) Category: core Module: bsnmp Announced: 2026-12-02 Credits: Hila Cohen, Apiiro Affects: All supported versions of FreeBSD. Corrected: 2026-11-30 19:50:13 UTC (stable/15, 15.2-STABLE) 2026-12-02 19:27:30 UTC (releng/15.2, 15.2-RC1-p1) 2026-12-02 19:26:28 UTC (releng/15.1, 15.1-RELEASE-p8) 2026-11-30 19:55:58 UTC (stable/14, 14.5-STABLE) 2026-12-02 19:29:18 UTC (releng/14.5, 14.5-RELEASE-p5) 2026-12-02 19:28:48 UTC (releng/14.4, 14.4-RELEASE-p14) CVE Name: CVE-2026-127756 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background bsnmpd(1) is a Simple Network Management Protocol (SNMP) agent which allows remote management stations to query and modify system information. Incoming messages are decoded by the bsnmplib(3) library. Access to managed objects may be restricted using the View-based Access Control Model (VACM), implemented by the loadable snmp_vacm(3) module. II. Problem Description When decoding a message carrying an SNMP version other than SNMPv1, SNMPv2c, or SNMPv3, bsnmplib(3) reported an encoding error rather than an unsupported version. bsnmpd(1) did not treat this error as fatal, so its unsupported version check was skipped and the message proceeded to access control. With the VACM module loaded, the access control code called abort(3) on encountering the unsupported version. III. Impact An unauthenticated remote attacker able to send a single UDP packet to bsnmpd(1) can cause the daemon to terminate, resulting in a Denial of Service (DoS). bsnmpd(1) is not restarted automatically. IV. Workaround Systems not running bsnmpd(1) with the snmp_vacm(3) module loaded are not affected. The VACM module is not loaded by default. On affected systems, restricting access to UDP port 161 to trusted management hosts limits exposure. V. Solution Upgrade your vulnerable system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date and restart bsnmpd(1). Perform one of the following: 1) To update your vulnerable system installed from base system packages: Systems running a 15.0-RELEASE or later 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 # service bsnmpd restart 2) To update your vulnerable system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms which were not installed using base system packages can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install # service bsnmpd restart 3) To update your vulnerable 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/SA-26:98/bsnmp.patch # fetch https://security.FreeBSD.org/patches/SA-26:98/bsnmp.patch.asc # gpg --verify bsnmp.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch -E -p0 < /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 This issue is corrected as of the corresponding Git commit hash in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/15/ 0f7a75e0c01f stable/15-n287047 releng/15.2/ d4bef20e0c9f releng/15.2-n286783 releng/15.1/ 79976e7abc15 releng/15.1-n283706 stable/14/ fe39df25d52f stable/14-n275696 releng/14.5/ 2ae3eb3bad28 releng/14.5-n274939 releng/14.4/ 2ac949c37264 releng/14.4-n273840 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat <commit hash> Or visit the following URL, replacing NNNNNN with the hash: <URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN> 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 <URL:https://www.cve.org/CVERecord?id=CVE-2026-127756> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-26:98.bsnmp.asc> -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmsQj24bFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrvqqUQAMZABkq/0Zzi9hTQYRWU VXHwMxrjGDpF3AN4I7L9h+rZtuGXAIl3L2QxnzGzeMLBVQDHPNNnETkhQcaAvRkL ZQf8sLL/omMh9Fm4l8lbIryCP8ac9/Vx4C4ec70Y6GU6cVpuZ5a90R0Ie6ZRLZD6 rCUqhPID2Byb8eHemim+ptd6AFUMu4AOOHmOdfnZwQ9hBg3okFG+HWcLZ7BWQOPd 0w9BQEWkoO1f9rcA3BKQexU5Eh4GlEfs6wKZ0N1lw9yUNIdK9hSjnhQezw7ET5B6 F1pMLnaV9eJgdyQUa0DvyaQmIRpyn9JppI1BcIadvyCKPJ2Wc/60k2JXaLKDXcka P0EJd1CYcrZL5EHuOjlOOrQqiOty5+0D976o3NvlyZJTT+huPdQpsbpKJLuWbfYQ V69iTQ1fcobYj9DIpgld79Iw7E9yq4nHHQaCFzR3SeOcZCogFsxi9NCcpaGFfwTW 6lYiOACDfom5kiDT8bsHZNf9PradhSbTQ4r9O0Vp8TzG79YY88WfOdUleUWBnICT /NvzM7qOMlU2VXB2RNWAcdlvxp1HKBeEEmyne9YpBHp54jk5E9DW0+iuln39YmO+ bsvWVfkVz1+OqzsDPhtG4RL5NgZC+Fd+lx2k3G5O0QnOzwG6OQCaz8JmJX725hre kAgxNMqlzRza+RMu/CgKYTBY =GeE1 -----END PGP SIGNATURE-----
FreeBSD Security Advisory FreeBSD-SA-26:97.pam_xdg
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-26:97.pam_xdg Security Advisory The FreeBSD Project Topic: Arbitrary file deletion via pam_xdg(8) symlink race Category: core Module: pam_xdg Announced: 2026-12-02 Credits: Othmane Tamagart Credits: OpenAI Security Research Team Credits: Kevin Day Affects: All supported versions of FreeBSD. Corrected: 2026-12-02 19:25:52 UTC (stable/15, 15.2-STABLE) 2026-12-02 19:27:29 UTC (releng/15.2, 15.2-RC1-p1) 2026-12-02 19:26:27 UTC (releng/15.1, 15.1-RELEASE-p8) 2026-12-02 19:28:17 UTC (stable/14, 14.5-STABLE) 2026-12-02 19:29:17 UTC (releng/14.5, 14.5-RELEASE-p5) 2026-12-02 19:28:47 UTC (releng/14.4, 14.4-RELEASE-p14) CVE Name: CVE-2026-127761 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background pam_xdg(8) is a Pluggable Authentication Modules (PAM) module which creates a per-user runtime directory, by default under /var/run/xdg/, as specified by the XDG Base Directory Specification. When the user's last session ends, the module removes the directory and its contents. II. Problem Description pam_xdg(8) removed the runtime directory as root, taking each entry's type from readdir(3) and then opening subdirectories by name without O_NOFOLLOW. Since the directory is owned by the user, a process left running by the user could replace a subdirectory with a symbolic link between these steps, causing the module to delete the contents of the link's target. III. Impact An unprivileged local user can delete arbitrary files and directories as root, resulting in a Denial of Service (DoS) and, depending on the system configuration, possibly privilege escalation. IV. Workaround Systems that do not use pam_xdg(8) are not affected. By default, it is enabled for login(1) and xdm(1), but not for sshd(8). The following command lists the PAM policies that use it: # grep -rl pam_xdg /etc/pam.d /usr/local/etc/pam.d Removing pam_xdg(8) from these policies avoids the problem, but per-user runtime directories will then no longer be created. V. Solution Upgrade your vulnerable system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date. Login sessions opened before the update still use the vulnerable module; end them and restart xdm(1) if it is in use, or reboot the system. Perform one of the following: 1) To update your vulnerable system installed from base system packages: Systems running a 15.0-RELEASE or later 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 2) To update your vulnerable system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms which were not installed using base system packages can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install 3) To update your vulnerable 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/SA-26:97/pam_xdg.patch # fetch https://security.FreeBSD.org/patches/SA-26:97/pam_xdg.patch.asc # gpg --verify pam_xdg.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch -E -p0 < /path/to/patch c) Recompile the operating system using buildworld and installworld as described in <URL:https://www.FreeBSD.org/handbook/makeworld.html>. End login sessions opened before the update and restart xdm(1) if it is in use, or 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/ e8c2eb7855ca stable/15-n287076 releng/15.2/ 9ffe00d7798b releng/15.2-n286782 releng/15.1/ abaa5a465964 releng/15.1-n283705 stable/14/ de4384e70dd4 stable/14-n275704 releng/14.5/ 824c8a4e8306 releng/14.5-n274938 releng/14.4/ 6dafe3458926 releng/14.4-n273839 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat <commit hash> Or visit the following URL, replacing NNNNNN with the hash: <URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN> 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 <URL:https://www.cve.org/CVERecord?id=CVE-2026-127761> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-26:97.pam_xdg.asc> -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmsQj2sbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrvfqEP/iwpPKIuyBXCO9vUkdih t+3Z1ByKZF2S38IOl14GOtpOLviIxEW+gKOswDj7jAe6ImB8yX4hzYuWHwYLoCiN jiIOvVjXTtSRG8fcJxBXDwws4/2LrY0y73R0iCT3F4OmesX2SCUk3iYIMW7MKlO1 rRkOSo2uF3WVxKjq087CkeyrLP4liQZRXdaWv6WrEkAkjL359ikAuXMhNFqZhlSc R/k0+0OtQlKLBYFejkpsUsOHQCXpNvavH6mDeK9LbSbGK3N1QiNsbFgNQ0ow2q5P dRhvR2p0Ee7OPnpJpWuJxaeaanw0JMrpAxVYl/4D8+elII0vz/F+3HYesvoAI6nL hAXtZtQj7Mn6Zynpzohsc8FAhmyCRubWWCidR7Z8REdJzB+E7JHtdvVhwmaalIlu w61Hb343p/QlDx7GQvtOtOh0ELkBzdxQsLag4vT5e9zCrhDOFnhUcSN7AF+hO994 D13d/Pqd3aVL0cnzbVYW0LGJ0OiGi/IkBz5oKBYF9VYA/aVG/aDqlS/Db+K0wfJR 8uQrqcvY10V2mNkg54v/4fiLL6+oGoN+oACPWKZDnMO/os44zcc+spV6Pt6LkS5Y B37K4R2lcxRW2rn4A8zX1TE2aoFQN6lGrnQfpDvFwkSXYxbvRGJ0dXgvYMX5jxLh GKweTq3tPwBlkDX8iH8KxxEb =Ta6u -----END PGP SIGNATURE-----
FreeBSD Security Advisory FreeBSD-SA-26:96.krb5
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-26:96.krb5 Security Advisory The FreeBSD Project Topic: Multiple vulnerabilities in MIT Kerberos Category: contrib Module: krb5 Announced: 2026-12-02 Affects: FreeBSD 15.1 Corrected: 2026-11-13 19:32:49 UTC (stable/15, 15.2-STABLE) 2026-12-02 19:26:26 UTC (releng/15.1, 15.1-RELEASE-p8) CVE Name: CVE-2026-40355, CVE-2026-40356, CVE-2026-71199, CVE-2026-71200, CVE-2026-107364, CVE-2026-107708, CVE-2026-107778, CVE-2026-107884, CVE-2026-111423, CVE-2026-112314, CVE-2026-112315, CVE-2026-112316, CVE-2026-112317, CVE-2026-112318, CVE-2026-112319, CVE-2026-112320, CVE-2026-112321, CVE-2026-112322, CVE-2026-112323, CVE-2026-118380, CVE-2026-119079 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background FreeBSD includes software from the MIT Kerberos project. Kerberos is a network authentication protocol in which a Key Distribution Center (KDC) issues tickets that allow clients and services to prove their identities to one another. The kadmind(8) daemon provides remote administration of the Kerberos database. FreeBSD 14.x includes Heimdal Kerberos rather than MIT Kerberos, and is not affected by this advisory. II. Problem Description Multiple issues were fixed in MIT Kerberos 1.22.3. Instead of exhaustively listing detailed writeups for each issue, please see the referenced advisory from MIT. CVE-2026-111423 - Logic error when checking PAC server checksums CVE-2026-71199 - Unkeyed checksums accepted in CAMMAC verifiers CVE-2026-107884 - lockdown_keys attribute not enforced for password change protocol requests in kadmind CVE-2026-118380 - libgssrpc used the unverified RPCSEC_GSS service type to unwrap and wrap messages CVE-2026-112322, CVE-2026-112323 - Issues in the legacy AUTH_GSSAPI RPC authentication flavor, which is now disabled by default CVE-2026-40355, CVE-2026-40356, CVE-2026-71200, CVE-2026-107364, CVE-2026-107708, CVE-2026-107778, CVE-2026-112314 through CVE-2026-112321, CVE-2026-119079 - NULL pointer dereferences, read overruns, unbounded memory allocations, and memory leaks In addition, the KDC's filtering of client-supplied authorization data allowed fake PAC and CAMMAC values to be included in service tickets, and a malformed name token could trigger an assertion failure in the GSS-API library. III. Impact A remote attacker may be able to crash the KDC, kadmind(8), or applications using the GSS-API library, resulting in a Denial of Service (DoS). Other issues allow forged PAC or CAMMAC data to be accepted in service tickets, and password changes to bypass the lockdown_keys attribute. See the MIT advisory for specific details. IV. Workaround No workaround is available, but systems that do not use Kerberos are not affected. The KDC and kadmind(8) are not enabled by default. V. Solution Upgrade your vulnerable system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date. Restart all daemons that use Kerberos, such as krb5kdc(8) and kadmind(8), or reboot the system. Perform one of the following: 1) To update your vulnerable system installed from base system packages: Systems running a 15.0-RELEASE or later 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 2) To update your vulnerable system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms which were not installed using base system packages can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install 3) To update your vulnerable 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/SA-26:96/krb5.patch # fetch https://security.FreeBSD.org/patches/SA-26:96/krb5.patch.asc # gpg --verify krb5.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch -E -p0 < /path/to/patch c) Recompile the operating system using buildworld and installworld as described in <URL:https://www.FreeBSD.org/handbook/makeworld.html>. Restart all daemons that use Kerberos, or 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/ e104c74ef25d stable/15-n286775 releng/15.1/ cd3517d5c957 releng/15.1-n283704 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat <commit hash> Or visit the following URL, replacing NNNNNN with the hash: <URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN> 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 <URL:https://web.mit.edu/kerberos/advisories/MITKRB5-SA-2026-001.txt> <URL:https://www.cve.org/CVERecord?id=CVE-2026-40355> <URL:https://www.cve.org/CVERecord?id=CVE-2026-40356> <URL:https://www.cve.org/CVERecord?id=CVE-2026-71199> <URL:https://www.cve.org/CVERecord?id=CVE-2026-71200> <URL:https://www.cve.org/CVERecord?id=CVE-2026-107364> <URL:https://www.cve.org/CVERecord?id=CVE-2026-107708> <URL:https://www.cve.org/CVERecord?id=CVE-2026-107778> <URL:https://www.cve.org/CVERecord?id=CVE-2026-107884> <URL:https://www.cve.org/CVERecord?id=CVE-2026-111423> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112314> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112315> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112316> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112317> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112318> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112319> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112320> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112321> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112322> <URL:https://www.cve.org/CVERecord?id=CVE-2026-112323> <URL:https://www.cve.org/CVERecord?id=CVE-2026-118380> <URL:https://www.cve.org/CVERecord?id=CVE-2026-119079> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-26:96.krb5.asc> -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmsQj2kbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrv/AoP/io5sgSaaaUthj0+TU9M 6BNQjn/MINesOrCMYGmqHrW82cLuCbB7xKYnFgi9MHS8yXsJlzbwDubbfZZfNuu6 nbRMjOCfRgyTS0CeL2nWu6ygGNMJqIn7rtCVNJFaPhrJCCkHZNAiuiYjxye4Rh4f hQ4z2mmBk40XUiIUhZCBCbv6d5Cb1Ea+IzPvQb62IVHMfr3dRaQt5much8T6tCsY 2zLA0hnrskMua53/XcOfE8h9FbwbrgBLiB/lULkjlWVq4KEqIDzfLoTDBY1nPGLe 92oaT/FWRumZ/bgOv7VJYKMlU194+370DMA6/AJ64DkB7t1tU1xTsjRMEr5qDQDI uj5wzEyS0gXC7df2WRaR4k238rrMz1vBvC5CQIPYXY+E6yaBYyNHFtiu40EfkobW jfc+V0P16eXuxZZvYkxUxwDPsL3IKPOiDN5QUsM4rzeZad9wUFU05RHkEEpK+gt8 lNb9JWfJL1UjWFp0bwLFSu56+vyDTtHa0/8AC9trPA4NQ1tzHPZlUso1LWzTJP6g VQ+WLfjyEohJtEUDEbwFB4Dra/zBe5TyZS2pw9+BErTa+cfL/dGbNTmvNbCh++Lv RmxHnSQiOfA5l5k496sZbat9Lnj21WWdkdeQMIGTwnA7ny2k0BA1rD3PevYO8xPi TzhmO+zRrziMdN+THXm/AmmK =VriY -----END PGP SIGNATURE-----
FreeBSD Security Advisory FreeBSD-SA-26:95.arm64
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-26:95.arm64 Security Advisory The FreeBSD Project Topic: Privilege escalation via stale arm64 large page mappings Category: core Module: arm64 Announced: 2026-12-02 Credits: Mark Johnston Affects: FreeBSD 15.x Corrected: 2026-12-02 19:25:51 UTC (stable/15, 15.2-STABLE) 2026-12-02 19:27:28 UTC (releng/15.2, 15.2-RC1-p1) 2026-12-02 19:26:23 UTC (releng/15.1, 15.1-RELEASE-p8) CVE Name: CVE-2026-127755 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit <URL:https://security.FreeBSD.org/>. I. Background The ARM64_GUARD_PAGE operation of sysarch(2) lets a process mark a range of its address space as guarded, enabling Branch Target Identification (BTI) checks for code in that range on CPUs that implement BTI. POSIX shared memory objects created with shm_create_largepage(3) are backed by physically contiguous large pages, and are mapped using large page table entries. II. Problem Description The ARM64_GUARD_PAGE handler did not reject address ranges that partially overlapped a large page mapping. Such a request split the mapping into base pages, and a later page fault could restore the large page mapping without invalidating the Translation Lookaside Buffer (TLB) entries for those base pages. The stale entries survived destruction of the large page object, leaving its freed memory accessible to the process. III. Impact An unprivileged local user may be able to access freed physical memory, potentially disclosing sensitive data or escalating privileges. IV. Workaround No workaround is available, but only arm64 systems whose CPUs implement BTI are affected. On such systems, the "Processor Features 1" line in the boot messages includes BTI: # grep 'Processor Features 1' /var/run/dmesg.boot V. Solution Upgrade your vulnerable 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 vulnerable system installed from base system packages: Systems running a 15.0-RELEASE or later 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 vulnerable system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms 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 vulnerable 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/SA-26:95/arm64.patch # fetch https://security.FreeBSD.org/patches/SA-26:95/arm64.patch.asc # gpg --verify arm64.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch -E -p0 < /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 This issue is corrected as of the corresponding Git commit hash in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/15/ 3968104df930 stable/15-n287075 releng/15.2/ a26763be3e06 releng/15.2-n286781 releng/15.1/ 3e7b0bdb0209 releng/15.1-n283702 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat <commit hash> Or visit the following URL, replacing NNNNNN with the hash: <URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN> 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 <URL:https://www.cve.org/CVERecord?id=CVE-2026-127755> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-SA-26:95.arm64.asc> -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmsQj2YbFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrvGbsQAK2MCKNwJshiXM2CnFI+ z6f6CuCEOuxOdOOGWcSrwSUHU0s1dRvmcSmTQ8twMH77TmXguOXOxx6lW3n7RQy+ sdIBJz5qib8L1CTuHsBExKTk5uOYkW+K6qicbqsrLdTASY0IaD7wQwmdOp5OsU+u /65uDHMGBT2q8tUf2MDaP10a6+z4eeWUCYhCIIj2kEguMGilfvJPGY5Noywlfnv1 oQP4szuqEtG/62a44OMqXu7zfUlk79KumdQPxFY0+WeK2JikysaEUTY/ZflGP8TD wwsGKnpljNABxvKz9vqXMJeifitaey2HmQQIo2aGjATNmPdu32uvy4eOcOX93zmK gJEOL8UzPD2eiXtMkuQWZ+dtpytz8f3fw8J1UFtry1IpAtASQ5qKzt4uSMsJDdkK 2wUnnTuIIpG6QMqlkEOZCkifUwI0YymC6UDLfTqFGIUrpJBYlDUQA3cKP3DrJhz5 BBBKpnX9lVY514Uv6zo7ztUzvJgmlpIHuNbCOinLKoWAfvzjNq/kZKLFH+uyr+Du SC03CZ1OeL++VomakuMi8eptvbnAM05WVcUJLzii6F/Y2pgFlileRCVxgOcX0JhC Jbtb6lv9nilgkzSySJGCIpbI1NiX++reuoqKhodvhxbZTJp8/Gu5CzIUjLSKyeUO IXSKNgKrVCb4nqlRdMvu2Fz0 =Q1FO -----END PGP SIGNATURE-----
FreeBSD Errata Notice FreeBSD-EN-26:33.tcp
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-EN-26:33.tcp Errata Notice The FreeBSD Project Topic: FIN retransmit loop in the TCP BBR stack Category: core Module: tcp_bbr Announced: 2026-12-02 Credits: Illia Vynohradov Affects: All supported versions of FreeBSD. Corrected: 2026-11-24 10:45:04 UTC (stable/15, 15.2-STABLE) 2026-11-27 00:00:24 UTC (releng/15.2, 15.2-RC1-p1) 2026-12-02 19:26:22 UTC (releng/15.1, 15.1-RELEASE-p8) 2026-11-24 20:12:46 UTC (stable/14, 14.5-STABLE) 2026-12-02 19:29:16 UTC (releng/14.5, 14.5-RELEASE-p5) 2026-12-02 19:28:46 UTC (releng/14.4, 14.4-RELEASE-p14) 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 FreeBSD supports multiple pluggable TCP stacks. The BBR stack implements the Bottleneck Bandwidth and Round-trip propagation time (BBR) congestion control algorithm and is provided as the loadable kernel module tcp_bbr.ko. A TCP stack retransmits unacknowledged segments with an increasing timeout, and drops the connection after a limited number of attempts. A connection closed by the peer and then by the local application waits in the LAST-ACK state until the peer acknowledges the local FIN segment. II. Problem Description The BBR stack marked data sent beyond a receive window that the peer later shrank, and did not count retransmissions of that data toward the retransmission limit. It failed to clear the mark when retransmitting after a timeout, so a connection in the LAST-ACK state could retransmit its FIN segment indefinitely. The BBR stack also miscomputed its retransmission and persist timeouts, due to incorrect scaling of its round-trip time estimates. III. Impact If the peer stops responding, a connection using the BBR stack may remain in the LAST-ACK state indefinitely, consuming memory and network bandwidth. Retransmission and persist timers may also fire earlier or later than intended. IV. Workaround Systems that have not loaded the tcp_bbr.ko kernel module are not affected. The module is not loaded by default. To check whether it is loaded, run: # kldstat -m tcp_bbr BBR connections stuck in the LAST-ACK state can be terminated with tcpdrop(8): # tcpdrop -S bbr -s LAST_ACK Note that this drops all BBR connections in that state, and that dropping a connection resets it for the peer. 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 or later 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 an erratum fix" 2) To update your system installed from binary distribution sets: Systems running a RELEASE version of FreeBSD on the amd64 or arm64 platforms 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 an erratum fix" 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:33/tcp.patch # fetch https://security.FreeBSD.org/patches/EN-26:33/tcp.patch.asc # gpg --verify tcp.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch -E -p0 < /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 This issue is corrected as of the corresponding Git commit hash in the following stable and release branches: Branch/path Hash Revision - ------------------------------------------------------------------------- stable/15/ cbd17b66e64e stable/15-n287000 releng/15.2/ 480ff19ce877 releng/15.2-n286772 releng/15.1/ 303bed9b0394 releng/15.1-n283701 stable/14/ c1a81388fb03 stable/14-n275678 releng/14.5/ 4419eec502aa releng/14.5-n274937 releng/14.4/ b42ba0921863 releng/14.4-n273838 - ------------------------------------------------------------------------- Run the following command to see which files were modified by a particular commit: # git show --stat <commit hash> Or visit the following URL, replacing NNNNNN with the hash: <URL:https://cgit.freebsd.org/src/commit/?id=NNNNNN> 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 <URL:https://reviews.freebsd.org/D61586> <URL:https://reviews.freebsd.org/D61581> <URL:https://reviews.freebsd.org/D61600> <URL:https://reviews.freebsd.org/D61585> The latest revision of this advisory is available at <URL:https://security.FreeBSD.org/advisories/FreeBSD-EN-26:33.tcp.asc> -----BEGIN PGP SIGNATURE----- iQJPBAEBCgA5FiEEthUnfoEIffdcgYM7bljekB8AGu8FAmsQj08bFIAAAAAABAAO bWFudTIsMi41KzEuMTIsMCwzAAoJEG5Y3pAfABrvnDIQAJjUfcfaBOKscwNdTs8b bTKnlyXkDcMqKNomufr0dnhhM3/YNPdPD396wd30eAajmKjtZh9O4qGF2GCI2K+2 jIs/GmcHb7cFF6ph2VH1qadTtJ8v626ARR8KdkICUoy0pSV7sT9OaMbbjL//CB1n BckmGa0yZ2u2eThtUyy9H5UszNM0CLdw4VT525l4g/zQ0E7HVXaBjCpJbGweyjdz qwkRKku1q4Gp6lwRWQxx/CILFdPSuDsD0O20eUIBkYf6ze5I7j6SYdEWoF8Rgu6p Nj4DN9vm6ZAW8EtbzS4ncTKJVOlM4SBZt0sIWslk1UuYk15dNh/KS9ma/o6RE09U cPqXzIkRI9mqpV4Xv4x4s9j96m75ZXeXvTV5N6J6wGl9HZQS+oeYBNMZDIT9fyFv Q0MGkHu9AY5J8PTj2JD3EsxfeCY69OUQJb7IFi+/AdvJhUHvEetEAzWIpUouBkk6 L8QUVLDtnpQ8jGWZMFFkN7HA0vXur9euW8l69EnFdPGo/tGPyOyGtPiglZetDCBW boiYDVD1AnWybZm/IhZpXpFJLhHMQtXMNmWPtPNp+aDC5lKunQU7voxPLy+sKx73 GGzFRkC2N0vQ3faVjXaPG3S2BsCM4x3HSengWkxPpPF32pnVANyZ6oA9ZMwk5v6L fhUkmfYITY5Ue2VuQJGI5gFf =vTKa -----END PGP SIGNATURE-----
F46 Change Proposal: Use kmscon for LUKS password fallback (self-contained)
Wiki - https://fedoraproject.org/wiki/Changes/UseKmsconLuksFallback Discourse poll - https://discussion.fedoraproject.org/t/f46-change-proposal-use-kmscon-for-luks-password-fallback-self-contained/209953/2 This is a proposed Change for Fedora Linux. This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee. == Summary == In Fedora 45, kmscon replaced the VT console for general usage, but there are a few remaining cases where fbcon is still used. For the LUKS password, if plymouth is not present, systemd will fallback to fbcon. This change will configure systemd to use kmscon instead. == Owner == * Name: [[User:jfalempe| Jocelyn Falempe]] * Email: <jfalempe@redhat.com> == Detailed Description == With this change, kmscon provides two systemd unit files to enable systemd-ask-password with kmscon. Theses units should be enabled during installation. == Feedback == == Benefit to Fedora == The user will be able to enter its password with the exact same keyboard layout that he configured using anaconda. This is a constant source of problems, because fbcon uses the kernel keyboard layout, and by default the password entered is not visible, so it's hard to figure out that the problem is a mismatch conversion between an xkb layout and a kernel layout. With this change, and the change to use kmscon for the emergency console too, it's possible to disable the legacy fbcon and fbdev emulation in the kernel. It will also be possible to use drm_log by default for early kernel boot log. (I will submit two other changes for emergency console, and drm_log). == Scope == * Proposal owners: ** Write the systemd unit files https://github.com/kmscon/kmscon/pull/627 ** Package them for Fedora. ** Enable systemd-ask-password-kmscon.path ** Update selinux rules, to allow kmscon to start systemd-tty-ask-password-agent * Other developers: * Release engineering: [https://forge.fedoraproject.org/releng/tickets/issues #Releng issue number] * Policies and guidelines: N/A (not needed for this Change) * Trademark approval: N/A (not needed for this Change) * Alignment with the Fedora Strategy: == Upgrade/compatibility impact == == Early Testing (Optional) == Do you require 'QA Blueprint' support? Y/N <!-- Optional Step for System-Wide Changes only --> == How To Test == You need a Fedora rawhide installation, with encrypted root filesystem. Disable plymouth, as it's the default UI for luks password, and disable selinux as it will prevent kmscon from starting: `sudo grubby --update-kernel=ALL --remove-args="rhgb quiet" --args="plymouth.enable=0 selinux=0"` Copy the three files from https://github.com/kmscon/kmscon/pull/627 Move the systemd files: `sudo mv systemd-ask-password-kmscon.* /usr/lib/systemd/system/` `sudo systemctl enable systemd-ask-password-kmscon.path` Move the dracut configuration file: `sudo mkdir /usr/lib/dracut/modules.d/99kmscon-askpass` `sudo mv module-setup.sh /usr/lib/dracut/modules.d/99kmscon-askpass/` `sudo dracut --regenerate-all --force` And then reboot, and if everything goes well, the prompt for the LUKS password should be done in kmscon. == User Experience == There are two visible changes for the user: * The font for the password prompt will be larger and different. * The keyboard layout will use xkb, so it will be the same as what was used to enter the password in anaconda. == Dependencies == == Contingency Plan == * Contingency mechanism: (What to do? Who will do it?) N/A (not a System Wide Change) * Contingency deadline: N/A (not a System Wide Change) * Blocks release? N/A (not a System Wide Change), Yes/No == Documentation == N/A (not a System Wide Change) == Release Notes == -- Aoife Moloney Fedora Operations Architect Fedora Project Matrix: @amoloney:fedora.im IRC: amoloney -- _______________________________________________ devel-announce mailing list -- devel-announce@lists.fedoraproject.org To unsubscribe send an email to devel-announce-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
F46 Change Proposal: Package Review Process via Fedora Forge Pull Requests (system-wide)
Wiki - https://fedoraproject.org/wiki/Changes/PackageReviewProcessForgePR Discourse poll - https://discussion.fedoraproject.org/t/f46-change-proposal-package-review-process-via-fedora-forge-pull-requests-system-wide/209952/2 This is a proposed Change for Fedora Linux. This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee. == Summary == The [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/ Package Review Process] will be extended to support reviewing packages via pull request to [https://forge.fedoraproject.org/packaging/package-review/ the packaging/package-review repository on Fedora Forge]. Instead of filing a new bug for the ''Package Review'' component in Bugzilla, the ''Contributor'' will be allowed to open a pull request with the spec file, patches, and other dist-git files to the packaging/package-review repository. The ''Reviewer'' will approve the package by approving the pull request in Fedora Forge. For the time being, the original Bugzilla-based Package Review Process remains a supported way of submitting new Fedora packages, until the new process is proven reliable and satisfactory replacement. == Owner == * Name: [[User:Churchyard|Miro Hrončok]], [[User:Frostyx|Jakub Kadlčík]] * Email: mhroncok@redhat.com, jkadlcik@redhat.com == Detailed Description == {{admon/important|Why is this a Fedora 46 change proposal|For process reasons, this is a Fedora 46 change proposal. However, it is not tied to the release of Fedora Linux 46 in any way. Once allowed, all new packages will be able to use this new process regardless of the Fedora and/or EPEL releases they target.}} The proposal owners believe that submitting new packages for review via Bugzilla is not an optimal way. Instead, they propose a new alternative way based on pull requests, because they believe that pull-request based contribution to the Fedora Project is more pleasant to both the [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/#_contributor ''Contributor''] (someone who wants to submit and maintain a new package in Fedora) and the [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/#_reviewer ''Reviewer''] (the person who chooses to review a package). === Backward-compatible change of the Package Review Process === Anything proposed here is going to be added to the process as an alternative path. Nothing is deprecated, removed or discontinued by this change proposal. Later, we (as the Fedora packagers) might decide to abandon the Bugzilla-based review process, however this is not proposed now. The ''Contributor'' is the one who ultimately chooses whether to submit a new Package Review Request via Bugzilla or Forge PR. === Minimal viable PR-based Package Review Process === # The ''Contributor'' opens a pull request (PR) to https://forge.fedoraproject.org/packaging/package-review/ with files to be imported to dist-git (the spec file, patches, small text sources, CI configuration, .gitignore) in a directory named after the package. Multiple packages can be added in one pull request, each at their own respective directory. The ''Contributor'' may indicate the request is not ready for review by marking it as WIP (''Work In Progress''). # The ''Reviewer'' should add themselves to the ''Reviewers'' list of the PR so others know this PR is being reviewed. # The ''Reviewer'' provides feedback, suggestions, etc. if necessary. # The ''Contributor'' responds to feedback (if any) e.g. by adding new commits or amending the ones in the pull request, or simply by having a conversation with the ''Reviewer''. # The previous 2 steps repeat as needed. # When satisfied, the ''Reviewer'' uses the ''Approve'' functionality of Forgejo to indicate formal approval of all packages added via the PR. At any point in the process, the ''Contributor'' may close the PR to indicate no further interest. Similarly, the ''Reviewer'' may remove themselves from the ''Reviewers'' list. The `fedpkg request-repo` command gains an ability to reference a PR number of https://forge.fedoraproject.org/packaging/package-review/ rather than a Bugzilla bug ID. When a repository is requested that way, the ticket created at https://forge.fedoraproject.org/releng/fedora-scm-requests/issues is then checked by automation for correctness -- e.g. both the ''Contributor'' and ''Reviewer'' need to be in the packager group for the repository to be actually created, the approval is not stale (out of sync with the PR content), the PR is not WIP... This already presents several advantages over the current Bugzilla-based Package Review Process: * The process gains the ability for reviewing multiple packages at once. * Files not present in the SRPM are reviewed together with the specfile (imagine `plan.fmf`, `<pkgname>.rpmlintrc` etc.). * Feedback can be provided inline (e.g. to point out something smelly at a particular line of the specfile). * Patches and other text sources can be easily observed (rather than needing to be downloaded via SRPM and extracted). * The ''Approval'' is paired with a specific state of the PR rather than with a hyperlink to a SRPM and specifle (which can change or be removed). * Changes (responding to feedback, etc.) are visible and traceable (no need to diff different versions of a spec file, or even reuploaded files overriding the previous versions). This also presents several challenges: * There is no lookaside cache, what to do with sources that are going to be uploaded there when the package is added to Fedora dist-git? Previously, such sources were included in the SRPM which was uploaded "somewhere". This is addressed in the [[#Additional sources]] section. * What to do with the PR after it was approved and the dist-git repository was created? If we keep merging them, the repository will have ever increasing amount of outdated Fedora spec files. If we close them rather than merging, they will be hard to distinguish from abandoned packaging efforts. This is resolved by the [[#Streamlined automation]] section. === Boosting the review process with CI === When designing this new PR-based process, we thought of CI. This is not necessary for adapting the minimal viable PR-based Package Review Process. However, it has potential for even more benefits. The CI (based on Forgejo Actions) of https://forge.fedoraproject.org/packaging/package-review/ can do several things: * It can build the proposed package(s) in Copr (respecting the commit order, which allows bootstrap loops etc.) * It can run https://forge.fedoraproject.org/ci/shared-tests (rpminspect, rpmlint, installability tests...) on the built packages * It can run https://forge.fedoraproject.org/packaging/FedoraReview on the built packages * It can leverage LLM to check the package against the [https://docs.fedoraproject.org/en-US/packaging-guidelines Fedora Packaging Guidelines] Theoretically, the CI jobs could even provide feedback inline in the PR. The change proposal owners are dedicated to improving the CI experience of the PR-based Package Review Process. However, they will need help by other packagers and CI folks as well. We also believe a fully functional CI pipeline is not a blocker to allowing the minimal viable PR-based Package Review Process defined earlier. In the future, a defined subset of passing CI jobs could be made mandatory for allowing the PR to be approved/merged. However, this is not part of this proposal. === Streamlined automation === There is a toddler that can handle the `fedpkg request-repo` part of this process automatically: https://forge.fedoraproject.org/apps/toddlers/pulls/450 This allows the following: # When a PR is formally approved by the ''Reviewer'', the toddler is triggered. # An issue is created at [https://forge.fedoraproject.org/releng/fedora-scm-requests/issues releng/fedora-scm-requests] (so the ''Contributor'' does not need to run `fedpkg request-repo`). Alternatively, the toddler ''could'' skip this step and handle the next step itself, but we want the issue as a track record. # A dist-git repository is created (as a result of the issue). # Based on config file added in the PR and/or PR labels, followup issues are created in [https://forge.fedoraproject.org/releng/fedora-scm-requests/issues releng/fedora-scm-requests] requesting additional branches (to avoid the need of manual `fedpkg request-branch)`. The ''Contributor'' can opt-out of this step by listing no branches. # The content of each package-folder from the approved PR is imported to the rawhide dist-git branch and fast-forwarded to other requested branches. # The PR is labeled with a special "this was imported to dist-git" label and closed. That way, approved PRs are easily recognizable but the git repository itself is not bloating over time. Note: The package is imported to dist-git with a single ''Initial commit''. A possibility of improvement is to rebase the git history of each folder in the approved PR (relocate to the root of the repository, filter commits not touching the folder, config files only used for the review). However, we assume only a very small subset of ''Contributors'' would want that, so this is left as an experiment for later. === Why a dedicated repository at Fedora Forge instead of direct dist-git PRs === Ideally, new packages would be submitted as pull requests to their dist-git repository. That would allow to merge them directly, and also would benefit from the exisitng dist-git CI. However, there is a chicken-and-egg problem: The dist-git repository to open the PR ''to'' does not exist before the package is approved (except for package unretirements) and we don't want to willy-nilly create them. An alternative would be to redesign dist-git to a giant ''monorepo'': have all the packages in one git repository. That would allow opening PRs with new packages to that single repository. That would be such a big paradigm shift that we do not even dare to suggest that (and if we wanted to, we would not want this new PR-based Package Review Process to be blocked on that). Having a one single dedicated repository for package reviews is not simply a ''least bad option''. It also has benefits: for example, it allows interested package ''Reviewers'' to subscribe to notifications about new PRs; it allows to tailor the repository CI, configuration, and labels to package reviews. And it allows reviewing multiple related packages together (even without switching all dist-git to a monorepo). === Additional sources === We assume that a majority of the source tarballs (and other files usually uploaded to the lookaside cache (with `fedpkg new-sources` or `fepdkg import`, later simply referenced to as "sources") have an URL where they can be fetched from. Both the human ''Reviewer'' or the CI automation can run `spectool -g` to get them. One could argue that then the ''Reviewer'' has no insight whether the sources are in fact downloaded verbatim or tempered with by the ''Contributor'', however that was always the case. A malicious and/or confused ''Contributor'' could present a SRPM link in the package review bug (with genuine upstream sources) and then import an entirely different source tarball to dist-git after approval. We also assume that the majority of the remaining sources could be generated by a Shell script. Such script should be included in the package review PR (at a known location) and both the human ''Reviewer'' or the CI automation can execute the script to get them. (This is already supported by the copr-building CI automation we have, see the [https://forge.fedoraproject.org/packaging/package-review/src/branch/main/README.md#additional-sources Additional sources section of the README] and could be improved later as needed.) This could also encourage packagers to create such scripts, instead of generating the tarballs by hand. Using the Bugzilla-based review, the ''Contributor'' needs to upload the SRPM somewhere to the internet. Hence, as a last restort when using a PR-based review, they can upload a tarball that cannot be fetched from upstream or generated and link it in the PR at a known place (via config file or PR description, or something like that). Both the human ''Reviewer'' or the CI automation can then download it from this location. In either case, the ''Contributor'' may include the `sources` file(s) in the PR, to indicate the checksums of the sources they used. === Other features of Bugzilla-based Package Review === Here we discuss some of the features of Bugzilla-based Package Review. When we say something is replaced, we mean "when using the PR-based workflow, do X instead of Y". * [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/#definitions_for_fedora_review_flag_settings fedora-review flag] is replaced by PR review (Approved, Request Changes) * [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/#special_blocker_tickets Special Bugzilla blockers] can be replaced by PR labels or even blockers on other Forge tickets if needed * [https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/#the_whiteboard Whiteboard] can be replaced by PR labels as well == Feedback == See https://discussion.fedoraproject.org/t/fedora-package-review-process-reimagined/198109 -- we have already discussed this with other packagers and we consider the feedback as net positive. == Benefit to Fedora == * More human-friendly Package Review Process. * More CI-friendly Package Review Process. See specific benefits listed in [[#Minimal viable PR-based Package Review Process]]. == Scope == * Proposal owners: ** Make the [[#Minimal viable PR-based Package Review Process]] work. ** Improve the CI and automation. ** Provide help for early adopters and firefight issues. * Other developers: ** Start using this and expect things might not be smooth right away. ** Help us with documentation, CI, automation... * Release engineering: [https://forge.fedoraproject.org/releng/tickets/issues/13591 #13591] * Policies and guidelines: see [[#Documentation]] * Trademark approval: not needed for this Change * Alignment with the Fedora Strategy: Hopefully, this will double the number contributors who are active every week :) == Upgrade/compatibility impact == Anything that reads or watches Bugzilla for data or notifications about package reviews needs to be adjusted. This includes https://fedoraproject.org/PackageReviewStatus/ == https://forge.fedoraproject.org/apps/review_stats or the tool that handles stale package review requests (XXX which one?) == Early Testing (Optional) == Do you require 'QA Blueprint' support? No == How To Test == When adding a new package to Fedora, create a PR to https://forge.fedoraproject.org/packaging/package-review instead of creating a bug in Bugzilla. Review other PRs there. Report back to if something is broken -- to https://forge.fedoraproject.org/packaging/package-review/issues == User Experience == This does not affect the users of Fedora Linux at all. This is a change for Fedora packagers. The packagers are our users and we want their experience to be better. We hope it will be. But in case there are packagers who disagree, they can keep using Bugzilla for their new packages. == Dependencies == For the [[#Minimal viable PR-based Package Review Process]] all we need is: * The repository on Forge (done). * Changes to whatever processes fedora-scm-requests to be able to accept and check a PR reference instead of a Bugzilla reference. * Changes to `fedpkg request-repo` to create such requests. == Contingency Plan == * Contingency mechanism: If the process is severely broken, we disallow accepting new repo requests with a PR number reference * Contingency deadline: none * Blocks release? No, this is made as a Fedora 46 change only for process reasons, but it is in fact not tied to a specific release. == Documentation == We need to update at least: * https://docs.fedoraproject.org/en-US/package-maintainers/Package_Review_Process/ * https://docs.fedoraproject.org/en-US/packaging-guidelines/ReviewGuidelines/ * https://docs.fedoraproject.org/az/package-maintainers/New_Package_Process_for_Existing_Contributors/ * https://docs.fedoraproject.org/az/package-maintainers/New_Package_Process_for_New_Contributors/ * README in https://forge.fedoraproject.org/packaging/package-review/ * README in https://forge.fedoraproject.org/releng/fedora-scm-requests/ * possibly more... ? This will be a lot of writing, we appreciate some help. == Release Notes == -- Aoife Moloney Fedora Operations Architect Fedora Project Matrix: @amoloney:fedora.im IRC: amoloney -- _______________________________________________ devel-announce mailing list -- devel-announce@lists.fedoraproject.org To unsubscribe send an email to devel-announce-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
F46 Change Proposal: GNU Toolchain Update (gcc 17.0, binutils 2.48, glibc 2.45, gdb 18.1) (system-wide)
Wiki - https://fedoraproject.org/wiki/Changes/GNUToolchainF46 Discourse poll - https://discussion.fedoraproject.org/t/f46-change-proposal-gnu-toolchain-update-gcc-17-0-binutils-2-48-glibc-2-45-gdb-18-1-system-wide/209951/2 This is a proposed Change for Fedora Linux. This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee. == Summary == Update the Fedora 46 GNU Toolchain to gcc 17.0, binutils 2.48, glibc 2.45 and gdb 18.1. The set of core GNU Toolchain packages for Fedora 46 are as follows: * GNU C Compiler 17.0 ** Associated runtimes for C++ (libstdc++), Go (gccgo), OpenMP (gomp), Fortran (gfortran), D (phobos), Objective C/C++. * GNU Binary Utilities 2.48 * GNU C Library 2.45 * GNU Debugger 18.1 (immediately available in all Fedora releases) The gcc 17.0 change will be tracked in this top-level GNU Toolchain system-wide change request. The binutils 2.48 change will be tracked in this top-level GNU Toolchain system-wide change request. The glibc 2.45 change will be tracked in this top-level GNU Toolchain system-wide change request. The gdb 17.1 update will be rolled out across all Fedora releases and the move to newer versions will be handled in the same fashion. The debugger is capable of debugging the binary artifacts produced by the rest of the system toolchain. == Owner == * Name: [[User:codonell|Carlos O'Donell]] * Email: carlos@redhat.com == Detailed Description == The GNU Compiler Collection, GNU Binary Utilities, GNU C Library, and the GNU Debugger make up the core part of the GNU Toolchain and it is useful for our users to transition these components as a complete implementation when making a new release of Fedora. <!-- Use this text for a GCC update: --> The GNU Compiler Collection is expected to release version 17.0, before the Fedora 46 release. It will contain many new features, documented here: https://gcc.gnu.org/gcc-17/changes.html. <!-- Use this text for a BINUTILS update: --> The GNU Binutils version 2.48 will be released before Fedora 46; and we have already been using this version of binutils in Fedora Rawhide to successfully build the distribution. Given the present schedule for Fedora 46 we will continue to use Binutils 2.48. <!-- Use this text for a GLIBC update: --> The GNU C Library version 2.45 is expected to be released before Fedora 46; we have started closely tracking the glibc 2.45 development code in Fedora Rawhide and are addressing any issues as they arise. Given the present schedule Fedora 46 will branch after the release of glibc 2.45. However, the mass rebuild schedule means Fedora 46 will mass rebuild before the final release of glibc 2.45, but after the ABI is frozen. <!-- Use this text for a GDB update: --> The GNU Debugger version 18.1 will be been rolled out across all Fedora releases at the same time. == Benefit to Fedora == Stays up to date with latest features, improvements, security and bug fixes from gcc, glibc, binutils, and gdb upstream. The goal is to track and transition to the latest components of the GNU Toolchain. == Scope == * Proposal owners: Fedora Toolchain Team (gcc, glibc, binutils, gdb, ...) developers need to ensure that gcc, glibc, binutils, and gdb in rawhide are stable and ready for the Fedora 46 branch. * Other developers: Given that glibc is backwards compatible and we have been testing the new glibc in rawhide it should make very little impact when updated, except for the occasional deprecation warnings and removal of legacy interfaces from public header files. * Release engineering: A mass rebuild is strongly encouraged; [https://forge.fedoraproject.org/releng/tickets/issues/13602 #13602] * Policies and guidelines: N/A (not needed for this Change) * Trademark approval: N/A (not needed for this Change) * Alignment with Objectives: N/A == Upgrade/compatibility impact == The compiler, the static linker and the the library are backwards compatible with the previous version of Fedora. <!-- Use this text for a GCC X update: We want to call out the CHANGES URL from upstream. --> <!-- Some source changes may be required for gcc X rebase: https://gcc.gnu.org/gcc-X/changes.html --> Any source level changes required for glibc 2.45 will be noted here: https://sourceware.org/glibc/wiki/Release/2.45#Packaging_Changes == How To Test == <!-- Use this text for a GCC update: --> The GNU Compiler Collection has its own test suite which is run during the package build and examined by the gcc developers before being uploaded. <!-- Use this text for a GLIBC update: --> The GNU C Library has its own test suite which is run during the package build and examined by the glibc developers before being uploaded. This test suite has over 6200 tests that run to verify the correct operation of the library. In the future we may also run the microbenchmark to look for performance regressions. <!-- Use this text for a BINUTILS update: --> The GNU Binutils has its own test suite which is run during the package build and examined by binutils developers before being uploaded. The regression test suite is run to verify the correct operation of the static linker and attendant utilities. <!-- Use this text for a GDB update: --> The GNU Debugger has its own test suite which is run during the package build and examined by gdb developers before being uploaded. The regression test suite is run to verify the correct operation of the debugger. == User Experience == <!-- TODO: Talk about any new GNU Toolchain user experience updates. --> Upgrading the 4 main GNU Toolchain components (gcc, binutils, glibc, and gdb) ensures that users have an up to date working system compiler, assembler, static linker, core language runtimes (C, C++, etc), dyanmic linker, and debugger. All of these components are being updated to provide support for newer language features, and hardware features; enabling users to make use of these features for their applications. In some cases the components are updated in a synchronized fashion if a feature requires support across the components that constitute the implementation e.g. compiler feature that requires language library support. == Dependencies == All packages do not need to be rebuilt due to backwards compatibility. However, it is advantageous if a mass rebuild is performed during the Fedora 46 cycle. The mass rebuild would ensure all packages can be built with the newer compiler and core runtimes. == Contingency Plan == <!-- Use this text for a GCC update: --> <!-- For Major GCC updates --> * Contingency mechanism for gcc: If gcc X-1 proves too disruptive to compiling the distribution we could revert to gcc X-1, but given that we are executing a [https://gitlab.com/fedora/packager-tools/mass-prebuild mass-prebuild] using COPR we expect to have advance warning of any serious problems. <!-- For Minor GCC updates --> * Contingency mechanism for gcc: Since we are only updating to a point release there is no contingency mechanism. It is expected that the point release is not a disruptive event. We could revert to the previous point release without difficulty. * Contingency mechanism binutils: If binutils 2.48 proves too distruptive to assembling and linking the distribution we could revert to 2.47, but given that Rawhide is using 2.48, no show-stopper problems are expected. At this point we can still revert if insurmountable problems appear, but to do so may require a mass rebuild if the defects involve generated binaries. * Contingency mechanism glibc: If glibc 2.45 proves too disruptive to compiling the distribution we could revert to 2.44, but given that Rawhide has started tracking glibc 2.45, no show-stopper problems are expected. At this point we can still revert to upstream version 2.44 if insurmountable problems appear, but to do so may require a mass rebuild to remove new symbols from the ABI/API. * Contingency mechanism gdb: We don't expect gdb updates to be disruptive, but since code generation and runtime are not impacted (except for debuginfo modification in the build process) it is relatively low cost to revert to a previous version. <!-- No comments needed because GDB updates asynchornously. --> * Contingency deadline: Fedora mass rebuild on YYYY-MM-DD. * Blocks release? ** Yes, upgrading to gcc 17.0 does block the release. ** Yes, upgrading to binutils 2.48 does block the release. ** Yes, upgrading to glibc 2.45 does block the release. ** No, upgrading to gdb 18.1 does not block the release. == Documentation == The gcc manual contains the documentation for the release and doesn't need any more additional work. The binutils manual contains the documentation for the release and doesn't need any more additional work. The glibc manual contains the documentation for the release and doesn't need any more additional work. The gdb manual contains the documentation for the release and doesn't need any more additional work. == Release Notes == <!-- Use this text for GCC updates: --> See https://gcc.gnu.org/gcc-17/changes.html for the GNU Compiler Collection version 17 release notes. <!-- Use this text for BINUTILS updates: --> The GNU Binary Utilities version 2.48 will be released February 2027. The current release notes will be sent to the developer mailing list. <!-- Use this text for GLIBC updates: --> The GNU C Library version 2.45 will be released at the beginning of February 2027. The current NEWS notes can be seen here as they are added: https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;hb=HEAD <!-- Use this text for GDB updates: --> The GNU Debugger version 18.1 was released September 2026. The release notes can be seen here: https://inbox.sourceware.org/gdb-announce/6ab698d7.84bf0792.34ed8d.a212@mx.google.com/T/#u -- Aoife Moloney Fedora Operations Architect Fedora Project Matrix: @amoloney:fedora.im IRC: amoloney -- _______________________________________________ devel-announce mailing list -- devel-announce@lists.fedoraproject.org To unsubscribe send an email to devel-announce-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new