Lỗ hổng nghiêm trọng gần 21 năm trong Linux kernel cho phép vượt tường lửa bằng gói IPv6Critical 21-Year-Old Linux Kernel Flaw Lets Attackers Bypass Firewalls with Crafted IPv6 Packets
Một lỗ hổng nghiêm trọng trong cơ chế theo dõi kết nối Netfilter của Linux kernel có thể cho phép kẻ tấn công từ xa gửi lưu lượng IPv6 được chế tác đặc biệt để vượt qua các quy tắc tường lửa có trạng thái và tiếp cận các dịch vụ mà các quy tắc đó vốn phải chặn. Lỗ hổng được định danh là CVE-2026-139281, được Red Hat chấm 9.1/10 và đánh giá Critical, không yêu cầu thông tin đăng nhập hay tương tác của người dùng, và chỉ phát huy tác dụng khi lưu lượng IPv6 bị phân mảnh tới được kernel dễ bị tấn công.

Diễn biến
Các bản cập nhật kernel chứa bản sửa đã bắt đầu được phát hành từ tuần trước cho các nhánh ổn định được duy trì. Hồ sơ CVE chỉ xuất hiện trong tuần này.
- 22/8: Jérémy Jean, nhà nghiên cứu đã viết bản sửa, đăng bản sửa lên danh sách gửi thư của Linux kernel.
- 19/10: Bản vá được hợp nhất upstream.
- 1/11: Bản sửa một dòng tới mainline Linux trong 7.4-rc1.
- Tuần trước: Các bản cập nhật chứa bản sửa bắt đầu được phát hành cho các nhánh ổn định được duy trì.
- Tuần này: Hồ sơ CVE được công bố, hơn ba tháng sau khi thay đổi mã được công khai.
- Hôm nay: Bản erratum kernel cho Red Hat Enterprise Linux 8 đã phát hành, và AlmaLinux đã công bố bản cập nhật tương ứng.
Bản vá còn ghi nhận sự hỗ trợ của AI bằng dòng “Assisted-by: Codex:gpt-5”. Cả bản vá lẫn commit upstream đều không nói rõ sự hỗ trợ đó là tìm ra lỗi, viết bản sửa hay kiểm tra bản sửa.
Cơ chế
Netfilter là khung lọc gói tin bên trong Linux kernel, còn conntrack là thành phần ghi lại các kết nối mạng để các quy tắc có trạng thái được viết bằng iptables hoặc nftables có thể xử lý. Lỗi nằm trong mã tái lắp ráp các gói IPv6 bị phân mảnh, tại `net/ipv6/netfilter/nf_conntrack_reasm.c`, nơi vị trí của một trường header được lưu trong một biến chỉ có thể chứa giá trị tối đa 255.
Khi một chuỗi dài các header mở rộng IPv6 đẩy trường đó vượt giới hạn, vị trí đã lưu bị tràn và byte sai của gói tin bị ghi đè trong quá trình tái lắp ráp. Conntrack sau đó có thể ghi nhận một đích đến khác với đích mà kernel thực sự chuyển gói tin tới: trong ví dụ nêu trong bản sửa, một gói hai mảnh được ghi nhận là lưu lượng tới UDP port 53, cổng DNS, trong khi payload của nó được chuyển tới UDP port 9999, nên các quy tắc lọc dựa trên bản ghi đó có thể cho qua lưu lượng mà chúng vốn phải chặn.
Phạm vi ảnh hưởng
Lỗ hổng đã tồn tại kể từ khi hệ thống con conntrack được thêm vào phiên bản 2.6.15 vào tháng 1/2006, khiến mã dễ bị tấn công đã gần 21 năm tuổi. Tình trạng vá vẫn khác nhau giữa các nhà phân phối.
| Hạng mục | Chi tiết |
|---|---|
| Mã định danh | CVE-2026-139281 |
| Mức độ | 9.1/10 theo Red Hat; Red Hat đánh giá Critical |
| Điều kiện khai thác | Chỉ khi lưu lượng IPv6 bị phân mảnh tới được kernel dễ bị tấn công |
| Yêu cầu truy cập | Không cần thông tin đăng nhập hay tương tác của người dùng |
| Khai thác thực tế | Chưa có vụ tấn công nào được xác nhận trong các nguồn công khai tính đến thời điểm công bố |
| Nhánh kernel | Bản sửa đầu tiên |
|---|---|
| 5.10 | 5.10.275 |
| 5.15 | 5.15.226 |
| 6.1 | 6.1.193 |
| 6.6 | 6.6.163 |
| 6.12 | 6.12.119 |
| 6.18 | 6.18.65 |
| 7.3 | 7.3.6 |
| Mainline | 7.4-rc1 |
- Debian: Các bản phát hành ổn định bookworm và trixie vẫn được liệt kê là dễ bị tấn công tính đến hôm nay, kể cả các kernel trong kênh bảo mật; các nhánh phát triển đã có bản 7.3.6 đã sửa lỗi.
- Ubuntu: Các gói kernel tiêu chuẩn trên các bản phát hành được hỗ trợ được đánh dấu là cần đánh giá, và lỗ hổng được xếp mức ưu tiên Medium.
Vì sao tin này đáng chú ý
Lỗ hổng đáng chú ý nhất khi các quy tắc tường lửa của chính máy chủ là rào cản duy nhất giữa một dịch vụ nhạy cảm và thế giới bên ngoài. Trong trường hợp đó, một bản ghi conntrack sai có thể khiến các quy tắc đó cho qua lưu lượng vốn phải chặn.
Việc cần làm ngay
- Cập nhật kernel: Nâng cấp lên bản sửa đầu tiên tương ứng với nhánh đang dùng, theo bảng trên.
- Red Hat Enterprise Linux 8 / AlmaLinux: Áp dụng bản cập nhật kernel đã phát hành.
- Nếu chưa thể cập nhật: Red Hat gợi ý tắt IPv6 trên các hệ thống không cần IPv6.
- Debian và Ubuntu: Nguồn không liệt kê giải pháp tạm thời cho hai nhà phân phối này; các bản ổn định của Debian vẫn đang chờ gói đã vá, còn Ubuntu vẫn đang đánh giá kernel.
Những điều nguồn chưa xác nhận
Nguồn không nêu thời điểm Debian sẽ phát hành gói đã vá cho bookworm và trixie, cũng như kết quả đánh giá kernel của Ubuntu. Nguồn cũng không làm rõ vai trò hỗ trợ AI trong bản vá, và không xác nhận vụ tấn công thực tế nào ngoài các nguồn công khai tính đến thời điểm công bố.
Nguồn: The Hacker News — Swati Khandelwal, ngày 3/12/2026.
Đọc tiếp - Lỗ hổng nghiêm trọng trên JetBrains TeamCity cho phép chiếm build agent mà không cần xác thực (https://news.danhthanh.dev/bai/lo-hong-nghiem-trong-tren-jetbrains-teamcity-cho-phep-chiem-build-agent-ma-khong) - Lỗ hổng nghiêm trọng trên CODESYS cho phép chiếm quyền bộ điều khiển công nghiệp mà không cần mật khẩu (https://news.danhthanh.dev/bai/lo-hong-nghiem-trong-tren-codesys-cho-phep-chiem-quyen-bo-dieu-khien-cong-nghiep) - AI của Google và Anthropic phát hiện lỗ hổng UEFI 18 năm tuổi có thể vượt qua Secure Boot (https://news.danhthanh.dev/bai/ai-cua-google-va-anthropic-phat-hien-lo-hong-uefi-18-nam-tuoi-co-the-vuot-qua-se)
A critical flaw in the Linux kernel's Netfilter connection tracking can let a remote attacker send crafted IPv6 traffic past stateful firewall rules to reach services those rules are meant to block. Tracked as CVE-2026-139281, it is rated 9.1 out of 10 by Red Hat and Critical in Red Hat's security advisory, requires no credentials or user interaction, and applies only where fragmented IPv6 traffic reaches a vulnerable kernel.

Timeline
Kernel updates containing the fix began shipping last week for the maintained stable branches. The CVE record appeared only this week.
- August 22: Jérémy Jean, the researcher who wrote the fix, posted it to the Linux kernel mailing list.
- October 19: The patch was merged upstream.
- November 1: The one-line fix reached mainline Linux in 7.4-rc1.
- Last week: Kernel updates containing the fix began shipping for the maintained stable branches.
- This week: The CVE record followed, more than three months after the code change went public.
- Today: A kernel erratum for Red Hat Enterprise Linux 8 shipped, and AlmaLinux published the matching update.
The patch also credits AI help with the trailer “Assisted-by: Codex:gpt-5”. Neither the patch nor the upstream commit says what that assistance was: finding the bug, writing the fix, or checking it.
Mechanism
Netfilter is the packet-filtering framework inside the Linux kernel, and conntrack is the part of it that records network connections so stateful rules written with iptables or nftables can act on them. The bug is in the code that reassembles fragmented IPv6 packets, in `net/ipv6/netfilter/nf_conntrack_reasm.c`, where the position of one header field is stored in a variable that can hold values only up to 255.
A long chain of IPv6 extension headers pushes the field past that limit, the stored position wraps around, and the wrong byte of the packet is overwritten during reassembly. Conntrack can then record a different destination than the one the kernel actually delivers the packet to: in the example in the fix, a two-fragment packet is recorded as traffic to UDP port 53, the DNS port, while its payload is delivered to UDP port 9999, so filtering rules that rely on the record can pass traffic they were meant to stop.
Scope of Impact
The flaw has been in the kernel since the conntrack subsystem was added in version 2.6.15 in January 2006, making the vulnerable code almost 21 years old. Patch status still differs between distributors.
| Item | Detail |
|---|---|
| Identifier | CVE-2026-139281 |
| Severity | 9.1 out of 10 by Red Hat; rated Critical by Red Hat |
| Exploitation condition | Only where fragmented IPv6 traffic reaches a vulnerable kernel |
| Access required | No credentials or user interaction |
| Real-world exploitation | No attacks have been confirmed in public sources as of publication |
| Kernel branch | First fixed release |
|---|---|
| 5.10 | 5.10.275 |
| 5.15 | 5.15.226 |
| 6.1 | 6.1.193 |
| 6.6 | 6.6.163 |
| 6.12 | 6.12.119 |
| 6.18 | 6.18.65 |
| 7.3 | 7.3.6 |
| Mainline | 7.4-rc1 |
- Debian: Its stable releases, bookworm and trixie, are still listed as vulnerable as of today, including the kernels in its security channels, while its development branches already carry the fixed 7.3.6.
- Ubuntu: Its standard kernel packages across supported releases are marked as needing evaluation, and the flaw is assigned Medium priority.
Why This Matters
The flaw matters most when a host's own firewall rules are the only barrier between a sensitive service and the outside world. In that case, a wrong conntrack record can let those rules pass traffic they were meant to stop.
What to Do Now
- Update the kernel: Upgrade to the first fixed release for the branch in use, as listed in the table above.
- Red Hat Enterprise Linux 8 / AlmaLinux: Apply the kernel update already released.
- If updating has to wait: Red Hat suggests disabling IPv6 on systems that do not need it.
- Debian and Ubuntu: The source lists no workaround for either distributor; Debian's stable releases are still waiting for patched packages, and Ubuntu is still evaluating its kernels.
What the source does not confirm
The source does not state when Debian will release patched packages for bookworm and trixie, or the outcome of Ubuntu's kernel evaluation. It also does not clarify the AI assistance credited in the patch, and it confirms no real-world attacks beyond public sources as of publication.
Source: The Hacker News — Swati Khandelwal, 3 December 2026.
Read next - Critical JetBrains TeamCity Flaw Lets Attackers Hijack Build Agents Without Authentication (https://news.danhthanh.dev/en/critical-jetbrains-teamcity-flaw-lets-attackers-hijack-build-agents-without-auth) - Critical CODESYS Flaw Lets Attackers Take Over Industrial Controllers Without a Password (https://news.danhthanh.dev/en/critical-codesys-flaw-lets-attackers-take-over-industrial-controllers-without-a) - Google and Anthropic AI found an 18-year-old UEFI flaw that can bypass Secure Boot (https://news.danhthanh.dev/en/google-and-anthropic-ai-found-an-18-year-old-uefi-flaw-that-can-bypass-secure-bo)
Nguồn tham chiếuSource: thehackernews.com


