{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "bbcf91053bb622c4c26a9bfc998d3b0c59227f10"
            },
            {
              "fixed": "65ab9fea1f3607f5ffea13d30eaab8c897fa6fc5"
            },
            {
              "fixed": "f069745ffcea66a6bde5ade49e5145e7bd9d74ce"
            },
            {
              "fixed": "188ec7dfa015e9fa6ad809447589c950185762e9"
            },
            {
              "fixed": "b2039a6dd36b5c89142bfb95bc0205be8abcc600"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.9.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139343.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv4: use RCU protection in inet_netconf_get_devconf()\n\ninet_netconf_get_devconf() runs without RTNL. It uses dev_get_by_index()\nand in_dev_get() to pin the device and its in_device while the reply is\nallocated and filled.\n\nin_dev_get() is not safe for a lockless caller. Since commit 9d40c84cf5bc\n(\"net: devinet: Reduce refcount before grace period\"), inetdev_destroy()\ndrops the final reference before the RCU grace period. A reader can load\ndev-\u003eip_ptr, then call refcount_inc() on a zero refcount after\nin_dev_free_rcu() has been queued, and keep using the in_device once it\nhas been freed.\n\nNone of these references are needed. An in_device is freed after an RCU\ngrace period, ipv4_devconf is embedded in it, and\ninet_netconf_fill_devconf() does not sleep.\n\nAllocate the skb first, then perform the lookup and the fill under\nrcu_read_lock(), using dev_get_by_index_rcu() and __in_dev_get_rcu(),\nlike inet_netconf_dump_devconf() already does.",
  "id": "CVE-2026-139343",
  "modified": "2026-11-30T14:45:18.783794071Z",
  "published": "2026-11-30T13:33:53.124Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/188ec7dfa015e9fa6ad809447589c950185762e9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/65ab9fea1f3607f5ffea13d30eaab8c897fa6fc5"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b2039a6dd36b5c89142bfb95bc0205be8abcc600"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f069745ffcea66a6bde5ade49e5145e7bd9d74ce"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139343.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139343"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "ipv4: use RCU protection in inet_netconf_get_devconf()"
}