Skip to content
High 7.8

Linux Kernelのパケットソケットで権限を昇格される脆弱性

CVE-2026-99835 First seen on SecPulse

Summary

Linux KernelのTX_RINGの処理に脆弱性があり、細工されたフレームによってパケットソケットが解放され、システムに影響が及ぶおそれがあります。影響を受けるのは5.10.275より前の5.10系、5.15.226より前の5.15系、6.1.193より前の6.1系、6.6.163より前の6.6系、6.12.117より前の6.12系、6.18.63より前の6.18系、7.3.4より前の7.3系などです。修正版が公開されているため、各ディストリビューションの更新を適用してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux KernelのTX_RINGの処理に脆弱性があり、細工されたフレームによってパケットソケットが解放され、システムに影響が及ぶおそれがあります。影響を受けるのは5.10.275より前の5.10系、5.15.226より前の5.15系、6.1.193より前の6.1系、6.6.163より前の6.6系、6.12.117より前の6.12系、6.18.63より前の6.18系、7.3.4より前の7.3系などです。修正版が公開されているため、各ディストリビューションの更新を適用してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 2.6.31, < 5.10.275→ 5.10.275
≥ 5.11.0, < 5.15.226→ 5.15.226
≥ 5.16.0, < 6.1.193→ 6.1.193
≥ 6.2.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.117→ 6.12.117
≥ 6.13.0, < 6.18.63→ 6.18.63
≥ 6.19.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

In the Linux kernel, the following vulnerability has been resolved:

net/packet: check TX_RING fragments before memory accounting

tpacket_fill_skb() adds the full non-linear payload length to
skb->truesize and sk_wmem_alloc before checking MAX_SKB_FRAGS. With
PACKET_VNET_HDR, userspace can submit a ring-sized frame even when it
greatly exceeds the device MTU.

A near-INT_MAX frame can saturate sk_wmem_alloc before the fragment
loop rejects it. A subsequent refcount_add(0x40000001) can temporarily
turn REFCOUNT_SATURATED into 1. A concurrent TX completion can then
drop that apparent last reference and free the still-live packet
socket before refcount_warn_saturate() restores the counter.

Check that the remaining payload fits in MAX_SKB_FRAGS pages before
accounting it. Include the initial page offset in the calculation,
and move the existing -EFAULT handling out of the fragment loop.
This preserves the accepted packet sizes and error code while
preventing an invalid frame from injecting an oversized byte charge.

[edumazet: use net_warn_ratelimited() instead of pr_err(), add a Fixes: tag]

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details