Skip to content

Linux kernel

ipv4: use RCU protection in inet_netconf_get_devconf()

CVE-2026-139343Published 30 Nov 2026, 13:33 UTC

Real-world risk

4.3/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.8

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from Linux)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Linux kernelUbiquitous= 6.97.4-rc1

What to do

Update to a fixed version: 7.4-rc1.

Why this score

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.2% chance of exploitation in 30 days (percentile 9), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.500
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
  4. Rounded to one decimal between 0.1 and 104.3

How the score works

Exploitation and evidence timeline

  1. 30 Nov 2026 Published
  2. 3 Dec 2026 Risk 4.3 (cvss fallback)

Weakness

No weakness type given.

References

Get alerts for Linux kernel

Free email or text alerts when a vulnerability in Linux kernel reaches risk 8 or higher. Nothing else.