Upgrade production kernel for CVE-2026-98432 and remove temporary nftables mitigation

Open
#136 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
18/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
ansible, linux
Domain
devops, security

Research direction

Start in deploy/ansible/roles/server/tasks/main.yml and the handler that restarts cve-2026-98432.service, then read the two templates cve-2026-98432.nft.j2 and cve-2026-98432.service.j2. The first PR should switch the install and enable tasks to state: absent so the server removes /etc/cve-2026-98432.nft and the unit file, and the follow-up deletes those tasks and templates. Done means the role provisions cleanly on a patched kernel with the mitigation gone and MPTCP still disabled, which needs production access and a reboot window.

Written by the indexing model from the issue text.

Description

#134 added temporary mitigations for CVE-2026-98432 (Linux IPv4 TCP use-after-free) because Ubuntu 24.04 had no fixed kernel. Production is on 6.8.0-147-generic; Ubuntu lists the fix as in progress for linux 6.8.0-149.149.

When Ubuntu releases the fix

  1. Confirm the Ubuntu CVE page shows noble / linux as Released
  2. On the server: sudo apt update && sudo apt full-upgrade, then check /var/run/reboot-required.pkgs lists the new linux-image-*
  3. Pause the pipeline timer (sudo systemctl stop wppackages-pipeline.timer), wait for any in-progress run to finish (systemctl is-active wppackages-pipeline.service → inactive), then sudo reboot
  4. Verify: uname -r shows the fixed version, systemctl is-active caddy wppackages.socket litestream wppackages-pipeline.timer

Then remove the nftables mitigation

The IP-options drop rule was only meant to cover the window before a patched kernel. Removing it from the Ansible role doesn't remove it from the server, so the PR should change the tasks to state: absent (stop and disable cve-2026-98432.service, delete /etc/cve-2026-98432.nft and the unit file), provision once, then delete those tasks and the templates in a follow-up:

  • deploy/ansible/roles/server/templates/cve-2026-98432.nft.j2
  • deploy/ansible/roles/server/templates/cve-2026-98432.service.j2
  • The install/enable tasks in deploy/ansible/roles/server/tasks/main.yml and the restart handler

Keep MPTCP disabled (/etc/sysctl.d/99-disable-mptcp.conf). Nothing uses it, and it prevents a Caddy upgrade (v2.11.7+ opens MPTCP listeners) from silently adding attack surface.

Dominant language
Go
Stars
146
Forks
9
Avg merge
5d 18h
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from roots/wp-packages

All issues in roots/wp-packages

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.