Amazon Linux2環境にてCVE-2026-98432 - Linux kernel IPv4 TCP use-after-free Issueの対応を実施した。
4.4以降のLinuxカーネルにてmultipath TCP(MPTCP)のリスナーを持つLinuxサーバーにパケットを送ると、認証なしで任意のコマンドをrootで実行できるという脆弱性がある。
https://aws.amazon.com/jp/security/security-bulletins/2026-160-aws/ にて案内のある通り、kernelのアップデートと再起動だけで対応ができるため、速やかに対処することを推奨する。
なお、Amazon Linux2は今年の6月末にすでにEOLを迎えているため、Amazon Linux2023への移行を行う必要がある。
$ sudo yum update kernelLoaded plugins: extras_suggestions, langpacks, priorities, update-motd246 packages excluded due to repository priority protectionsResolving DependenciesThere are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).--> Running transaction check---> Package kernel.x86_64 0:4.14.355-287.758.amzn2 will be installed--> Processing Dependency: amd-ucode-firmware >= 20200421-83.git78c0348.amzn2 for package: kernel-4.14.355-287.758.amzn2.x86_64--> Running transaction check---> Package amd-ucode-firmware.noarch 0:20200421-85.git78c0348.amzn2 will be installed--> Finished Dependency Resolution--> Running transaction check---> Package kernel.x86_64 0:4.14.128-112.105.amzn2 will be erased--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================================================== Package Arch Version Repository Size======================================================================================================================================================================Installing: kernel x86_64 4.14.355-287.758.amzn2 amzn2-core 21 MRemoving: kernel x86_64 4.14.128-112.105.amzn2 @amzn2-core 100 MInstalling for dependencies: amd-ucode-firmware noarch 20200421-85.git78c0348.amzn2 amzn2-core 154 k
Transaction Summary======================================================================================================================================================================Install 1 Package (+1 Dependent package)Remove 1 Package
Total download size: 21 MIs this ok [y/d/N]: yDownloading packages:Delta RPMs disabled because /usr/bin/applydeltarpm not installed.(1/2): amd-ucode-firmware-20200421-85.git78c0348.amzn2.noarch.rpm | 154 kB 00:00:00 (2/2): kernel-4.14.355-287.758.amzn2.x86_64.rpm | 21 MB 00:00:00 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------Total 55 MB/s | 21 MB 00:00:00 Running transaction checkRunning transaction testTransaction test succeededRunning transaction Installing : amd-ucode-firmware-20200421-85.git78c0348.amzn2.noarch 1/3 Installing : kernel-4.14.355-287.758.amzn2.x86_64 2/3 Cleanup : kernel-4.14.128-112.105.amzn2.x86_64 3/3 Verifying : amd-ucode-firmware-20200421-85.git78c0348.amzn2.noarch 1/3 Verifying : kernel-4.14.355-287.758.amzn2.x86_64 2/3 Verifying : kernel-4.14.128-112.105.amzn2.x86_64 3/3
Removed: kernel.x86_64 0:4.14.128-112.105.amzn2
Installed: kernel.x86_64 0:4.14.355-287.758.amzn2
Dependency Installed: amd-ucode-firmware.noarch 0:20200421-85.git78c0348.amzn2
Complete!Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article