Skip to content
High 7.8

Linux Kernelのipv4処理に脆弱性、解放済みメモリを参照する恐れ

CVE-2026-139343 First seen on SecPulse

Summary

Linux Kernelのipv4におけるinet_netconf_get_devconf()の処理に脆弱性があり、解放済みのメモリを参照する恐れがあります。影響を受けるのは6.9.0以降6.12.119未満、6.13.0以降6.18.65未満、6.19.0以降7.3.6未満のKernelです。修正版は6.12.119、6.18.65、7.3.6で、利用中のKernelを修正版へ更新してください。

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のipv4におけるinet_netconf_get_devconf()の処理に脆弱性があり、解放済みのメモリを参照する恐れがあります。影響を受けるのは6.9.0以降6.12.119未満、6.13.0以降6.18.65未満、6.19.0以降7.3.6未満のKernelです。修正版は6.12.119、6.18.65、7.3.6で、利用中のKernelを修正版へ更新してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.9.0, < 6.12.119→ 6.12.119
≥ 6.13.0, < 6.18.65→ 6.18.65
≥ 6.19.0, < 7.3.6→ 7.3.6

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:

ipv4: use RCU protection in inet_netconf_get_devconf()

inet_netconf_get_devconf() runs without RTNL. It uses dev_get_by_index()
and in_dev_get() to pin the device and its in_device while the reply is
allocated and filled.

in_dev_get() is not safe for a lockless caller. Since commit 9d40c84cf5bc
("net: devinet: Reduce refcount before grace period"), inetdev_destroy()
drops the final reference before the RCU grace period. A reader can load
dev->ip_ptr, then call refcount_inc() on a zero refcount after
in_dev_free_rcu() has been queued, and keep using the in_device once it
has been freed.

None of these references are needed. An in_device is freed after an RCU
grace period, ipv4_devconf is embedded in it, and
inet_netconf_fill_devconf() does not sleep.

Allocate the skb first, then perform the lookup and the fill under
rcu_read_lock(), using dev_get_by_index_rcu() and __in_dev_get_rcu(),
like inet_netconf_dump_devconf() already does.

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