AWS lightsail: Editorial rewrite of CVE-2026-98432 Lightsail mitigation guide
Summary
Rewrites headings and prose (gerund-style titles, "patched" instead of "fixed", "Topics" section label), adds a breakdown of the iptables u32 DROP rule components, and moves the rule-removal commands into numbered steps for both the iptables and nftables mitigations. No change to the underlying mitigation guidance or commands themselves.
Security assessment
The changed line explicitly documents a remote, unauthenticated use-after-free in the Linux kernel IPv4 TCP connection setup path (CVSS 9.8), and the page provides concrete mitigations (kernel patching, iptables/nftables rules dropping IPv4-option TCP packets, Lightsail firewall port restriction). The diff itself is largely editorial, but it is entirely about remediating this specific critical vulnerability, so it is security-issue related and adds security documentation.
Evidence
+[CVE-2026-98432](https://www.cve.org/CVERecord?id=CVE-2026-98432) is a use-after-free flaw in the Linux kernel code that sets up incoming IPv4 TCP connections. A remote attacker can trigger it by sending TCP connection requests that carry IPv4 options to any listening IPv4 TCP port. The attack requires no credentials or user interaction. The Linux kernel CVE team rates this issue Critical, with a Common Vulnerability Scoring System (CVSS) v3.1 score of 9.8. Operating system vendors rate it between Important and Critical.
Diff
diff --git a/lightsail/latest/userguide/address-cve-2026-98432.md b/lightsail/latest/userguide/address-cve-2026-98432.md index bbffb50..6b55fcd 100644 --- a//lightsail/latest/userguide/address-cve-2026-98432.md +++ b//lightsail/latest/userguide/address-cve-2026-98432.md @@ -9 +9 @@ What is CVE-2026-98432Affected instancesBefore you beginMitigation stepsAddition -# Address CVE-2026-98432 on Linux-based Lightsail instances +# Addressing CVE-2026-98432 on Linux-based Lightsail instances @@ -15 +15 @@ Lightsail does not update the operating system on your instances after you creat -This page contains the following sections: +## Topics @@ -32 +32 @@ This page contains the following sections: -[CVE-2026-98432](https://www.cve.org/CVERecord?id=CVE-2026-98432) is a use-after-free flaw in the Linux kernel code that sets up incoming IPv4 TCP connections. A remote attacker can trigger it by sending TCP connection requests that carry IPv4 options to any listening IPv4 TCP port. No credentials or user interaction are needed. The Linux kernel CVE team rates this issue Critical, with a CVSS v3.1 score of 9.8. Operating system vendors rate it between Important and Critical. +[CVE-2026-98432](https://www.cve.org/CVERecord?id=CVE-2026-98432) is a use-after-free flaw in the Linux kernel code that sets up incoming IPv4 TCP connections. A remote attacker can trigger it by sending TCP connection requests that carry IPv4 options to any listening IPv4 TCP port. The attack requires no credentials or user interaction. The Linux kernel CVE team rates this issue Critical, with a Common Vulnerability Scoring System (CVSS) v3.1 score of 9.8. Operating system vendors rate it between Important and Critical. @@ -44 +44 @@ The flaw affects Linux kernel 4.4 and later, so most Linux-based instances are a - * Amazon Linux 2023 and Amazon Linux 2 blueprints. For instructions specific to Amazon Linux, see [Update Amazon Linux on Lightsail instances](./update-amazon-linux.html). + * Amazon Linux 2023 and Amazon Linux 2 blueprints. For instructions specific to Amazon Linux, see [Updating Amazon Linux on Lightsail instances](./update-amazon-linux.html). @@ -71,3 +71,3 @@ Option | Applies to -Install a kernel update (complete fix) | Instances created from any Linux-based blueprint, after the operating system vendor publishes a patched kernel. Patched kernels are available for the Amazon Linux 2023 and Amazon Linux 2 blueprints. -Apply a temporary firewall rule (interim fix) | Instances created from the AlmaLinux OS 9, CentOS Stream 9, Debian, openSUSE Leap, and Ubuntu blueprints, and from application blueprints that run on these distributions, until a patched kernel is available. -Restrict ports with the Lightsail firewall (reduces exposure) | Instances created from any Linux-based blueprint. +Installing a kernel update (complete fix) | Instances created from any Linux-based blueprint, after the operating system vendor publishes a patched kernel. Patched kernels are available for the Amazon Linux 2023 and Amazon Linux 2 blueprints. +Applying a temporary firewall rule (interim fix) | Instances created from the AlmaLinux OS 9, CentOS Stream 9, Debian, openSUSE Leap, and Ubuntu blueprints, and from application blueprints that run on these distributions, until a patched kernel is available. +Restricting ports with the Lightsail firewall (reduces exposure) | Instances created from any Linux-based blueprint. @@ -75 +75 @@ Restrict ports with the Lightsail firewall (reduces exposure) | Instances create -### Install a kernel update +### Installing a kernel update @@ -79 +79 @@ This option applies to instances created from any Linux-based blueprint. Install -For instances created from the Amazon Linux 2023 and Amazon Linux 2 blueprints, patched kernels are available. For the steps, see [Update Amazon Linux on Lightsail instances](./update-amazon-linux.html). +For instances created from the Amazon Linux 2023 and Amazon Linux 2 blueprints, patched kernels are available. For the steps, see [Updating Amazon Linux on Lightsail instances](./update-amazon-linux.html). @@ -81 +81 @@ For instances created from the Amazon Linux 2023 and Amazon Linux 2 blueprints, -For instances created from other Linux-based blueprints, each operating system vendor publishes its own fixed kernel versions and release schedule. Check your vendor's security advisory to find out whether a fixed kernel is available for your version, and follow the vendor's instructions to install it. If a fixed kernel isn't available yet, apply the temporary firewall rule. +For instances created from other Linux-based blueprints, each operating system vendor publishes its own patched kernel versions and release schedule. Check your vendor's security advisory to find out whether a patched kernel is available for your version, and follow the vendor's instructions to install it. If a patched kernel isn't available yet, apply the temporary firewall rule. @@ -91 +91 @@ Ubuntu | [CVE-2026-98432](https://ubuntu.com/security/CVE-2026-98432) on the Ubu -Every kernel update requires a reboot. After you install the update, reboot the instance, and then run `uname -r` to confirm that it runs the fixed kernel version listed in your vendor's advisory. +Every kernel update requires a reboot. After you install the update, reboot the instance, and then run `uname -r` to confirm that it runs the patched kernel version listed in your vendor's advisory. @@ -97 +97 @@ Debian 11 and openSUSE Leap 15 have reached end of support and might not receive -### Apply a temporary firewall rule +### Applying a temporary firewall rule @@ -101 +101 @@ This option applies to instances created from the AlmaLinux OS 9, CentOS Stream -If a patched kernel isn't available for your operating system yet, or you can't reboot the instance right away, you can apply a temporary firewall rule. The flaw can only be triggered by an incoming IPv4 TCP packet that carries IPv4 options. Regular traffic almost never uses IPv4 options, so dropping these packets blocks the trigger without affecting normal connections. +If a patched kernel isn't available for your operating system yet, or you can't reboot the instance right away, you can apply a temporary firewall rule. Only an incoming IPv4 TCP packet that carries IPv4 options can trigger the flaw. Regular traffic almost never uses IPv4 options, so dropping these packets blocks the trigger without affecting normal connections. @@ -109 +109 @@ The command to use depends on your operating system. The AlmaLinux OS 9 and Cent -#### Debian, Ubuntu, and openSUSE instances +###### To apply the temporary firewall on Debian, Ubuntu, and openSUSE instances @@ -125 +125,9 @@ If the command isn't found, install it. On Debian and Ubuntu, run `sudo apt inst -The `u32` expression reads the IPv4 header length field. A value greater than 5 means the packet carries IPv4 options. +This rule uses the following parts: + + * `-I INPUT 1` – Inserts the rule at the top of the `INPUT` chain so it runs before other rules. + + * `-p tcp` – Matches TCP packets. + + * `-m u32 --u32 '0>>24&0x0f=6:15'` – Matches packets whose IPv4 header length field is greater than 5, which means the packet carries IPv4 options. + + * `-j DROP` – Drops the matching packets. @@ -132,0 +141 @@ The first rule in the output is a `DROP` rule with `u32 "0x0>>0x18&0xf=0x6:0xf"` + 6. To remove the rule after you install a patched kernel, run the following command: @@ -133,0 +143 @@ The first rule in the output is a `DROP` rule with `u32 "0x0>>0x18&0xf=0x6:0xf"` + sudo iptables -D INPUT -p tcp -m u32 --u32 '0>>24&0x0f=6:15' -j DROP @@ -136 +145,0 @@ The first rule in the output is a `DROP` rule with `u32 "0x0>>0x18&0xf=0x6:0xf"` -To remove the rule after you install a patched kernel, run the following command: @@ -139,3 +148 @@ To remove the rule after you install a patched kernel, run the following command - sudo iptables -D INPUT -p tcp -m u32 --u32 '0>>24&0x0f=6:15' -j DROP - -#### AlmaLinux OS and CentOS Stream instances +###### To apply the temporary firewall on AlmaLinux OS and CentOS Stream instances @@ -155 +162 @@ If the command isn't found, install it: - 4. Add a rule that drops incoming IPv4 TCP packets that carry IPv4 options. This rule is provided by AlmaLinux. It works alongside `firewalld`, and it's safe to run more than once. + 4. Add a rule that drops incoming IPv4 TCP packets that carry IPv4 options. AlmaLinux provides this rule. It works alongside `firewalld`, and it's safe to run more than once. @@ -173,0 +181 @@ The counter in the output shows how many packets the rule has dropped. + 6. To remove the rule after you install a patched kernel, run the following command: @@ -174,0 +183 @@ The counter in the output shows how many packets the rule has dropped. + sudo nft delete table ip cve_2026_98432 @@ -177 +185,0 @@ The counter in the output shows how many packets the rule has dropped. -To remove the rule after you install a patched kernel, run the following command: @@ -180,2 +187,0 @@ To remove the rule after you install a patched kernel, run the following command - sudo nft delete table ip cve_2026_98432 - @@ -183,0 +190,2 @@ To remove the rule after you install a patched kernel, run the following command +The temporary firewall rule has the following limitations: + @@ -188 +196 @@ To remove the rule after you install a patched kernel, run the following command - * IPv6 traffic is not affected by the main issue and doesn't need the rule. + * The main issue doesn't affect IPv6 traffic, which doesn't need the rule. @@ -193 +201 @@ To remove the rule after you install a patched kernel, run the following command -### Restrict ports with the Lightsail firewall +### Restricting ports with the Lightsail firewall @@ -216 +224 @@ To use the Amazon Web Services Documentation, Javascript must be enabled. Please -Address CVE +Addressing CVE