CVE-2026-139343 (GCVE-0-2026-139343)

Vulnerability from cvelistv5 – Published: 2026-11-30 13:33 – Updated: 2026-12-01 05:42
VLAI
Title
ipv4: use RCU protection in inet_netconf_get_devconf()
Summary
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.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8585 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: bbcf91053bb622c4c26a9bfc998d3b0c59227f10 , < 65ab9fea1f3607f5ffea13d30eaab8c897fa6fc5 (git)
Affected: bbcf91053bb622c4c26a9bfc998d3b0c59227f10 , < f069745ffcea66a6bde5ade49e5145e7bd9d74ce (git)
Affected: bbcf91053bb622c4c26a9bfc998d3b0c59227f10 , < 188ec7dfa015e9fa6ad809447589c950185762e9 (git)
Affected: bbcf91053bb622c4c26a9bfc998d3b0c59227f10 , < b2039a6dd36b5c89142bfb95bc0205be8abcc600 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.9
Unaffected: 0 , < 6.9 (semver)
Unaffected: 6.12.119 , ≤ 6.12.* (semver)
Unaffected: 6.18.65 , ≤ 6.18.* (semver)
Unaffected: 7.3.6 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/devinet.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "65ab9fea1f3607f5ffea13d30eaab8c897fa6fc5",
              "status": "affected",
              "version": "bbcf91053bb622c4c26a9bfc998d3b0c59227f10",
              "versionType": "git"
            },
            {
              "lessThan": "f069745ffcea66a6bde5ade49e5145e7bd9d74ce",
              "status": "affected",
              "version": "bbcf91053bb622c4c26a9bfc998d3b0c59227f10",
              "versionType": "git"
            },
            {
              "lessThan": "188ec7dfa015e9fa6ad809447589c950185762e9",
              "status": "affected",
              "version": "bbcf91053bb622c4c26a9bfc998d3b0c59227f10",
              "versionType": "git"
            },
            {
              "lessThan": "b2039a6dd36b5c89142bfb95bc0205be8abcc600",
              "status": "affected",
              "version": "bbcf91053bb622c4c26a9bfc998d3b0c59227f10",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/ipv4/devinet.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.9"
            },
            {
              "lessThan": "6.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.119",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.65",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.119",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.65",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.6",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "versionStartIncluding": "6.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The race is between two local netlink requests on the attacker\u0027s own NETLINK_ROUTE socket: RTM_GETNETCONF reaching inet_netconf_get_devconf() (registered RTNL_FLAG_DOIT_UNLOCKED), and RTM_NEWLINK/SETLINK changing a device\u0027s MTU or deleting it, which reaches inetdev_destroy() through inetdev_event(). No remote peer supplies any input.\nAC:L - Both sides belong to the attacker: one thread loops RTM_GETNETCONF on the ifindex of its own dummy device while another switches its MTU between 60 and 1500, so inetdev_destroy() and inetdev_init() repeat without limit. The attacker controls scheduling to stall its own reader between the ip_ptr load and refcount_inc in in_dev_get(). A miss just returns a valid ref or -ENODEV.\nPR:L - rtnetlink_rcv_msg() applies no CAP_NET_ADMIN check to RTNL_KIND_GET, so the reader is unprivileged. The writer needs CAP_NET_ADMIN only over the netns that owns the device: after unshare -Urn, the user can create a dummy device (min_mtu=0) and set its MTU below 68 in that netns.\nUI:N - No victim action is needed; the attacker issues both the RTM_GETNETCONF lookups and the MTU or delete requests that free the in_device.\nS:U - The freed in_device is kernel heap memory, and the impact is kernel compromise within the same authority. No VM, IOMMU or sandbox boundary is crossed beyond ordinary local privilege escalation.\nC:H - After refcount_inc on zero, the reader drops RCU and sleeps in nlmsg_new(GFP_KERNEL). inet_netconf_fill_devconf() then copies six s32 values from the freed (possibly reallocated) in_dev-\u003ecnf.data into the netlink reply. Reallocating that slot gives the usual read primitives of a kmalloc use-after-free.\nI:H - in_dev_put() then runs refcount_dec_and_test on the freed object\u0027s refcnt. If an attacker spray left 1 there, in_dev_finish_destroy() runs on controlled data: netdev_put() on a forged dev pointer and call_rcu(in_dev_free_rcu), which kfree()s a forged mc_hash pointer and the sprayed object. That is an arbitrary-free and double-free write primitive.\nA:H - refcount_inc on zero fires refcount_warn_saturate (REFCOUNT_ADD_UAF), which panics under panic_on_warn, and the use-after-free read and decrement can oops or corrupt slab memory. The trigger can be repeated without limit."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-01T05:42:21.019Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/65ab9fea1f3607f5ffea13d30eaab8c897fa6fc5"
        },
        {
          "url": "https://git.kernel.org/stable/c/f069745ffcea66a6bde5ade49e5145e7bd9d74ce"
        },
        {
          "url": "https://git.kernel.org/stable/c/188ec7dfa015e9fa6ad809447589c950185762e9"
        },
        {
          "url": "https://git.kernel.org/stable/c/b2039a6dd36b5c89142bfb95bc0205be8abcc600"
        }
      ],
      "title": "ipv4: use RCU protection in inet_netconf_get_devconf()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-139343",
    "datePublished": "2026-11-30T13:33:53.124Z",
    "dateReserved": "2026-11-30T13:22:15.928Z",
    "dateUpdated": "2026-12-01T05:42:21.019Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-139343",
      "date": "2026-12-04",
      "epss": "0.00186",
      "percentile": "0.08601"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-01T01:23:10.000Z",
      "cve": "CVE-2026-139343",
      "id": "msrc_CVE-2026-139343",
      "initial_release_date": "2026-12-01T01:23:10.000Z",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "ipv4: use RCU protection in inet_netconf_get_devconf()",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-139343.json",
      "version": "1"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv4/devinet.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "65ab9fea1f3607f5ffea13d30eaab8c897fa6fc5",
                    "status": "affected",
                    "version": "bbcf91053bb622c4c26a9bfc998d3b0c59227f10",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "f069745ffcea66a6bde5ade49e5145e7bd9d74ce",
                    "status": "affected",
                    "version": "bbcf91053bb622c4c26a9bfc998d3b0c59227f10",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "188ec7dfa015e9fa6ad809447589c950185762e9",
                    "status": "affected",
                    "version": "bbcf91053bb622c4c26a9bfc998d3b0c59227f10",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "b2039a6dd36b5c89142bfb95bc0205be8abcc600",
                    "status": "affected",
                    "version": "bbcf91053bb622c4c26a9bfc998d3b0c59227f10",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/ipv4/devinet.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.9"
                  },
                  {
                    "lessThan": "6.9",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.119",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.65",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.4-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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",
        "lastModified": "2026-12-01T06:17:42.543",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-30T14:18:59.380",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/188ec7dfa015e9fa6ad809447589c950185762e9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/65ab9fea1f3607f5ffea13d30eaab8c897fa6fc5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/b2039a6dd36b5c89142bfb95bc0205be8abcc600"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/f069745ffcea66a6bde5ade49e5145e7bd9d74ce"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-01T16:43:09+00:00",
      "cve": "CVE-2026-139343",
      "id": "CVE-2026-139343",
      "initial_release_date": "2026-11-30T13:33:53.124000+00:00",
      "product_status:known_affected": "187",
      "product_status:known_not_affected": "93",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service or privilege escalation via race condition in IPv4 network configuration handling",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-139343.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.