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

Aperta
#136 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
18/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ansible, linux
Ambito
devops, security

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

#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.

Lingua principale
Go
Stelle
146
Fork
9
Merge medio
5g 18h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di roots/wp-packages

Tutte le issue di roots/wp-packages

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.