CVE-2026-74735 (GCVE-0-2026-74735)

Vulnerability from cvelistv5 – Published: 2026-08-26 14:36 – Updated: 2026-08-26 14:36
VLAI
Title
l2tp: fix tunnel and session refcount leak on seq_file release
Summary
In the Linux kernel, the following vulnerability has been resolved: l2tp: fix tunnel and session refcount leak on seq_file release In pppol2tp_proc_open() and l2tp_dfs_seq_open(), iteration state (pd->tunnel and pd->session) is kept in seq_file private data to allow iteration across multiple read() system calls. However, if userspace closes /proc/net/pppol2tp or /sys/kernel/debug/l2tp/tunnels before reading to end-of-file (EOF), any tunnel or session reference stored in pd->tunnel / pd->session is left un-dropped when seq_file private data is freed. Fix this by dropping any remaining pd->tunnel and pd->session references in pppol2tp_proc_release() and l2tp_dfs_seq_release() when closing the file.
Severity
No CVSS data available.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443 , < ebe2774e956482dd3c70b8991f6f7654356339e6 (git)
Affected: 0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443 , < 9006c116dd111d457bf5d074990210f70a4ad2c8 (git)
Affected: f6104e9ae04462523c372928b1173766a771ef95 (git)
Affected: 7f8e401f9e612df2a95c1ef76217c00181389bb5 (git)
Affected: c712ed63e9b33d9a282fbd92ce25c64918c3129f (git)
Affected: 9a8863e8a8def9d88583cd9c60db38a008e6b8cf (git)
Affected: 3.16.60 , < 3.17 (semver)
Affected: 4.16.6 , < 4.17 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 4.17
Unaffected: 0 , < 4.17 (semver)
Unaffected: 7.1.10 , ≤ 7.1.* (semver)
Unaffected: 7.2 , ≤ * (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/l2tp/l2tp_debugfs.c",
            "net/l2tp/l2tp_ppp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ebe2774e956482dd3c70b8991f6f7654356339e6",
              "status": "affected",
              "version": "0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443",
              "versionType": "git"
            },
            {
              "lessThan": "9006c116dd111d457bf5d074990210f70a4ad2c8",
              "status": "affected",
              "version": "0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "f6104e9ae04462523c372928b1173766a771ef95",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "7f8e401f9e612df2a95c1ef76217c00181389bb5",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "c712ed63e9b33d9a282fbd92ce25c64918c3129f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "9a8863e8a8def9d88583cd9c60db38a008e6b8cf",
              "versionType": "git"
            },
            {
              "lessThan": "3.17",
              "status": "affected",
              "version": "3.16.60",
              "versionType": "semver"
            },
            {
              "lessThan": "4.17",
              "status": "affected",
              "version": "4.16.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/l2tp/l2tp_debugfs.c",
            "net/l2tp/l2tp_ppp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.17"
            },
            {
              "lessThan": "4.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.10",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2",
                  "versionStartIncluding": "4.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.16.60",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.16.6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "3.16.60",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.16.6",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nl2tp: fix tunnel and session refcount leak on seq_file release\n\nIn pppol2tp_proc_open() and l2tp_dfs_seq_open(), iteration state\n(pd-\u003etunnel and pd-\u003esession) is kept in seq_file private data to allow\niteration across multiple read() system calls.\n\nHowever, if userspace closes /proc/net/pppol2tp or /sys/kernel/debug/l2tp/tunnels\nbefore reading to end-of-file (EOF), any tunnel or session reference stored in\npd-\u003etunnel / pd-\u003esession is left un-dropped when seq_file private data is freed.\n\nFix this by dropping any remaining pd-\u003etunnel and pd-\u003esession references in\npppol2tp_proc_release() and l2tp_dfs_seq_release() when closing the file."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-26T14:36:49.352Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ebe2774e956482dd3c70b8991f6f7654356339e6"
        },
        {
          "url": "https://git.kernel.org/stable/c/9006c116dd111d457bf5d074990210f70a4ad2c8"
        }
      ],
      "title": "l2tp: fix tunnel and session refcount leak on seq_file release",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-74735",
    "datePublished": "2026-08-26T14:36:49.352Z",
    "dateReserved": "2026-08-15T05:44:03.930Z",
    "dateUpdated": "2026-08-26T14:36:49.352Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-74735",
      "date": "2026-09-01",
      "epss": "0.00162",
      "percentile": "0.05709"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-74735\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-26T15:16:52.057\",\"lastModified\":\"2026-08-26T15:16:52.057\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nl2tp: fix tunnel and session refcount leak on seq_file release\\n\\nIn pppol2tp_proc_open() and l2tp_dfs_seq_open(), iteration state\\n(pd-\u003etunnel and pd-\u003esession) is kept in seq_file private data to allow\\niteration across multiple read() system calls.\\n\\nHowever, if userspace closes /proc/net/pppol2tp or /sys/kernel/debug/l2tp/tunnels\\nbefore reading to end-of-file (EOF), any tunnel or session reference stored in\\npd-\u003etunnel / pd-\u003esession is left un-dropped when seq_file private data is freed.\\n\\nFix this by dropping any remaining pd-\u003etunnel and pd-\u003esession references in\\npppol2tp_proc_release() and l2tp_dfs_seq_release() when closing the file.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/l2tp/l2tp_debugfs.c\",\"net/l2tp/l2tp_ppp.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443\",\"lessThan\":\"ebe2774e956482dd3c70b8991f6f7654356339e6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0e0c3fee3a59a387aeecc4fca6f3a2e9615a5443\",\"lessThan\":\"9006c116dd111d457bf5d074990210f70a4ad2c8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"f6104e9ae04462523c372928b1173766a771ef95\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"7f8e401f9e612df2a95c1ef76217c00181389bb5\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"c712ed63e9b33d9a282fbd92ce25c64918c3129f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9a8863e8a8def9d88583cd9c60db38a008e6b8cf\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"3.16.60\",\"lessThan\":\"3.17\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"4.16.6\",\"lessThan\":\"4.17\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/l2tp/l2tp_debugfs.c\",\"net/l2tp/l2tp_ppp.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"4.17\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"4.17\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.10\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/9006c116dd111d457bf5d074990210f70a4ad2c8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ebe2774e956482dd3c70b8991f6f7654356339e6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-09-01T10:38:14+00:00",
      "cve": "CVE-2026-74735",
      "id": "CVE-2026-74735",
      "initial_release_date": "2026-08-26T00:00:00+00:00",
      "product_status:known_affected": "232",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: l2tp: fix tunnel and session refcount leak on seq_file release",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74735.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…