# CVE-2026-139343

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139343/
- Yayımlanma: 2026-11-30T17:18:59+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139343)
