.. Linux Vulnerability Mitigation

.. Copyright (C) 2026 Daniel Baumann <daniel@debian.org>
..
.. SPDX-License-Identifier: PD
..
.. This program is free software: you have unlimited permission
.. to copy, distribute and modify it.
..
.. This program is distributed in the hope that it will be useful,
.. but WITHOUT ANY WARRANTY; without even the implied warranty of
.. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

==============================
Linux Vulnerability Mitigation
==============================

---------------------------------------------------------
Mitigation for some Linux kernel security vulnerabilities
---------------------------------------------------------

:manual section: 7
:manual group: Linux

Description
===========

The Linux kernel has recently got some local privilege escalation bugs.

CVE-2026-31431: Copy Fail
-------------------------

| Copy Fail (https://copy.fail/) is a vulnerability in the Linux kernel that allows unauthorized privilege escalation.
| It was disclosed by security firm Theori to the public on 29 April 2026.

CVE-2026-43284/CVE-2026-43500: Dirty Frag
-----------------------------------------

| Dirty Frag (https://github.com/V4bel/dirtyfrag) is a vulnerability in the Linux kernel that allows unauthorized privilege escalation.
| It was discloed by Hyunwoo Kim to the public on 7 May 2026.

Interactive usage
=================

The linux-vulnerablility-mitigation package applies mitigations based on the admins selection via debconf:

| sudo dpkg-reconfigure linux-vulnerablility-mitigation

The debconf dialog allows to choose individual mitigations, as well as the following special values:

all:
  will install all mitigations

none:
  will not install any mitigation (noop)

Non-interactive usage
=====================

The linux-vulnerablility-mitigation package can be preseeded with debconf:

| TMPFILE="$(mktemp)"
|
| cat > "${TMPFILE}" << EOF
| linux-vulnerablility-mitigation linux-vulnerablility-mitigation/mitigations multiselect all
| EOF
|
| cat "${TMPFILE}" | debconf-set-selections
| dpkg-reconfigure -fnoninteractive -pcritical linux-vulnerablility-mitigation
| rm -f "${TMPFILE}"

Instead of selecting 'all' mitigations, individual mitigations can be specified by their CVE number:

| linux-vulnerablility-mitigation linux-vulnerablility-mitigation/mitigations multiselect CVE-2026-31431, CVE-2026-43284, CVE-2026-43500

Authors
=======

linux-vulnerability-mitigation were written by Daniel Baumann <daniel@debian.org> and others.
