Skip to content
High 8.1

Linux kernelのamtドライバーで解放済みメモリを使用する脆弱性

CVE-2026-98968 First seen on SecPulse

Summary

Linux kernelのamtドライバーには、キューに入ったパケットが参照するトンネルが解放された後に使われ、メモリの解放済み領域を操作する脆弱性があります。影響を受けるのは、5.16以降の一部版、6.6.160より前、6.12.113より前、6.18.57より前、7.2.11より前のバージョンです。修正版が公開されているため、各ディストリビューションが提供する最新のカーネルに更新してください。

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のamtドライバーには、キューに入ったパケットが参照するトンネルが解放された後に使われ、メモリの解放済み領域を操作する脆弱性があります。影響を受けるのは、5.16以降の一部版、6.6.160より前、6.12.113より前、6.18.57より前、7.2.11より前のバージョンです。修正版が公開されているため、各ディストリビューションが提供する最新のカーネルに更新してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 5.16.0, < 6.1.191→ 6.1.191
≥ 6.2.0, < 6.6.160→ 6.6.160
≥ 6.7.0, < 6.12.113→ 6.12.113
≥ 6.13.0, < 6.18.57→ 6.18.57
≥ 6.19.0, < 7.2.11→ 7.2.11

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:

amt: send the relay's General Query directly from the receive path

An skb queued in a qdisc can outlive the tunnel it references
through a raw pointer in skb->cb. For example, with igmp_qrv set
to 1 on the relay a tunnel lives for 135s, so a netem delay of
180s on the amt device outlives it; when the tunnel expires and is
freed, the subsequent dequeue triggers a use-after-free in
amt_dev_xmit().

BUG: KASAN: slab-use-after-free in amt_dev_xmit+0x2763/0x2e20
Call Trace:
amt_dev_xmit+0x2763/0x2e20 [drivers/net/amt.c:1262]
dev_hard_start_xmit+0x22f/0x620
sch_direct_xmit+0x12e/0xac0
netem_dequeue+0x333/0xc50
net_tx_action+0x35c/0xa60

amt_send_igmp_gq() and amt_send_mld_gq() are only called from
amt_request_handler(), inside the rcu_read_lock_bh() section of
amt_rcv(). amt_request_handler() already has the tunnel the query is
for: it found or created it inside that section. Queuing the query with
dev_queue_xmit() only leads back into amt_dev_xmit(), which strips the
Ethernet header and calls amt_send_membership_query() for that tunnel.

Make that call directly from the two senders instead, the same way
amt_send_advertisement() transmits from the receive path. The query
never waits in a qdisc, the tunnel is only dereferenced inside the
RCU section that found or created it, and nothing is stored in
skb->cb, so no lookup or refcount is needed. Remove the query branch
of amt_dev_xmit(), amt_skb_c…

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