CVE-2022-50519 (GCVE-0-2022-50519)

Vulnerability from cvelistv5 – Published: 2025-10-07 15:19 – Updated: 2025-12-23 13:29
VLAI?
Title
nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure
Summary
In the Linux kernel, the following vulnerability has been resolved: nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure If creation or finalization of a checkpoint fails due to anomalies in the checkpoint metadata on disk, a kernel warning is generated. This patch replaces the WARN_ONs by nilfs_error, so that a kernel, booted with panic_on_warn, does not panic. A nilfs_error is appropriate here to handle the abnormal filesystem condition. This also replaces the detected error codes with an I/O error so that neither of the internal error codes is returned to callers.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 , < b63026b5e13040cd5afa11769dd0d9e1504b031a (git)
Affected: 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 , < ae16440c44ae2acda6d72aff9d74eccf8967dae5 (git)
Affected: 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 , < bf98be80cbe3b4e6c86c36ed00457389aca3eb15 (git)
Affected: 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 , < 259c0f68168ac6a598db3486597b10e74d625db0 (git)
Affected: 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 , < 8a18fdc5ae8e6d7ac33c6ee0a2e5f9f1414ef412 (git)
Affected: 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 , < c0c3d3d3ea41cb5228ee90568bb953f9a56c3227 (git)
Affected: 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 , < 090fcfb6edeb9367a915b2749e2bd1f8b48d8898 (git)
Affected: 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 , < 5c0776b5bc31de7cd28afb558fae37a20f33602e (git)
Affected: 9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453 , < 723ac751208f6d6540191689cfbf6c77135a7a1b (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.30
Unaffected: 0 , < 2.6.30 (semver)
Unaffected: 4.9.331 , ≤ 4.9.* (semver)
Unaffected: 4.14.296 , ≤ 4.14.* (semver)
Unaffected: 4.19.262 , ≤ 4.19.* (semver)
Unaffected: 5.4.218 , ≤ 5.4.* (semver)
Unaffected: 5.10.148 , ≤ 5.10.* (semver)
Unaffected: 5.15.74 , ≤ 5.15.* (semver)
Unaffected: 5.19.16 , ≤ 5.19.* (semver)
Unaffected: 6.0.2 , ≤ 6.0.* (semver)
Unaffected: 6.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nilfs2/segment.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b63026b5e13040cd5afa11769dd0d9e1504b031a",
              "status": "affected",
              "version": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453",
              "versionType": "git"
            },
            {
              "lessThan": "ae16440c44ae2acda6d72aff9d74eccf8967dae5",
              "status": "affected",
              "version": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453",
              "versionType": "git"
            },
            {
              "lessThan": "bf98be80cbe3b4e6c86c36ed00457389aca3eb15",
              "status": "affected",
              "version": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453",
              "versionType": "git"
            },
            {
              "lessThan": "259c0f68168ac6a598db3486597b10e74d625db0",
              "status": "affected",
              "version": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453",
              "versionType": "git"
            },
            {
              "lessThan": "8a18fdc5ae8e6d7ac33c6ee0a2e5f9f1414ef412",
              "status": "affected",
              "version": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453",
              "versionType": "git"
            },
            {
              "lessThan": "c0c3d3d3ea41cb5228ee90568bb953f9a56c3227",
              "status": "affected",
              "version": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453",
              "versionType": "git"
            },
            {
              "lessThan": "090fcfb6edeb9367a915b2749e2bd1f8b48d8898",
              "status": "affected",
              "version": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453",
              "versionType": "git"
            },
            {
              "lessThan": "5c0776b5bc31de7cd28afb558fae37a20f33602e",
              "status": "affected",
              "version": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453",
              "versionType": "git"
            },
            {
              "lessThan": "723ac751208f6d6540191689cfbf6c77135a7a1b",
              "status": "affected",
              "version": "9ff05123e3bfbb1d2b68ba1d9bf1f7d1dffc1453",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nilfs2/segment.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.30"
            },
            {
              "lessThan": "2.6.30",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.331",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.296",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.262",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.218",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.148",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.74",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.331",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.296",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.262",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.218",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.148",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.74",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.16",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.2",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "2.6.30",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure\n\nIf creation or finalization of a checkpoint fails due to anomalies in the\ncheckpoint metadata on disk, a kernel warning is generated.\n\nThis patch replaces the WARN_ONs by nilfs_error, so that a kernel, booted\nwith panic_on_warn, does not panic.  A nilfs_error is appropriate here to\nhandle the abnormal filesystem condition.\n\nThis also replaces the detected error codes with an I/O error so that\nneither of the internal error codes is returned to callers."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-23T13:29:47.947Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b63026b5e13040cd5afa11769dd0d9e1504b031a"
        },
        {
          "url": "https://git.kernel.org/stable/c/ae16440c44ae2acda6d72aff9d74eccf8967dae5"
        },
        {
          "url": "https://git.kernel.org/stable/c/bf98be80cbe3b4e6c86c36ed00457389aca3eb15"
        },
        {
          "url": "https://git.kernel.org/stable/c/259c0f68168ac6a598db3486597b10e74d625db0"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a18fdc5ae8e6d7ac33c6ee0a2e5f9f1414ef412"
        },
        {
          "url": "https://git.kernel.org/stable/c/c0c3d3d3ea41cb5228ee90568bb953f9a56c3227"
        },
        {
          "url": "https://git.kernel.org/stable/c/090fcfb6edeb9367a915b2749e2bd1f8b48d8898"
        },
        {
          "url": "https://git.kernel.org/stable/c/5c0776b5bc31de7cd28afb558fae37a20f33602e"
        },
        {
          "url": "https://git.kernel.org/stable/c/723ac751208f6d6540191689cfbf6c77135a7a1b"
        }
      ],
      "title": "nilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50519",
    "datePublished": "2025-10-07T15:19:13.844Z",
    "dateReserved": "2025-10-07T15:15:38.662Z",
    "dateUpdated": "2025-12-23T13:29:47.947Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-50519\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-07T16:15:35.610\",\"lastModified\":\"2026-02-04T17:02:29.587\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnilfs2: replace WARN_ONs by nilfs_error for checkpoint acquisition failure\\n\\nIf creation or finalization of a checkpoint fails due to anomalies in the\\ncheckpoint metadata on disk, a kernel warning is generated.\\n\\nThis patch replaces the WARN_ONs by nilfs_error, so that a kernel, booted\\nwith panic_on_warn, does not panic.  A nilfs_error is appropriate here to\\nhandle the abnormal filesystem condition.\\n\\nThis also replaces the detected error codes with an I/O error so that\\nneither of the internal error codes is returned to callers.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"2.6.30\",\"versionEndExcluding\":\"4.9.331\",\"matchCriteriaId\":\"068F561C-725E-4CD5-AB33-06B14EAD1591\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.10\",\"versionEndExcluding\":\"4.14.296\",\"matchCriteriaId\":\"1927ABC6-E0D2-478F-B103-B982A42D1158\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.15\",\"versionEndExcluding\":\"4.19.262\",\"matchCriteriaId\":\"D6B62970-1FAD-4ED6-930A-23E26A8D2E08\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.218\",\"matchCriteriaId\":\"ED2FAD62-84D0-451F-9F4D-66173BBD59E2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.148\",\"matchCriteriaId\":\"A125CF4C-603D-4ED4-AE18-CFC7C8D5CCF1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.74\",\"matchCriteriaId\":\"381A1822-66FA-4BF1-BCA9-7AF2DFCFFBE4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"5.19.16\",\"matchCriteriaId\":\"950EB0FE-7220-47B0-A80D-CEFD803A69C2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.0\",\"versionEndExcluding\":\"6.0.2\",\"matchCriteriaId\":\"B0624AD1-5A88-463E-96D1-F938FCBA6EEA\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/090fcfb6edeb9367a915b2749e2bd1f8b48d8898\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/259c0f68168ac6a598db3486597b10e74d625db0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5c0776b5bc31de7cd28afb558fae37a20f33602e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/723ac751208f6d6540191689cfbf6c77135a7a1b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8a18fdc5ae8e6d7ac33c6ee0a2e5f9f1414ef412\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ae16440c44ae2acda6d72aff9d74eccf8967dae5\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b63026b5e13040cd5afa11769dd0d9e1504b031a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/bf98be80cbe3b4e6c86c36ed00457389aca3eb15\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/c0c3d3d3ea41cb5228ee90568bb953f9a56c3227\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…