CVE-2022-49316 (GCVE-0-2022-49316)

Vulnerability from cvelistv5 – Published: 2025-02-26 02:10 – Updated: 2025-10-01 19:46
VLAI?
Title
NFSv4: Don't hold the layoutget locks across multiple RPC calls
Summary
In the Linux kernel, the following vulnerability has been resolved: NFSv4: Don't hold the layoutget locks across multiple RPC calls When doing layoutget as part of the open() compound, we have to be careful to release the layout locks before we can call any further RPC calls, such as setattr(). The reason is that those calls could trigger a recall, which could deadlock.
CWE
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 56f487f8c8fc5d6e582b79a86fc132d050129e15 , < 6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010 (git)
Affected: 56f487f8c8fc5d6e582b79a86fc132d050129e15 , < a2b3be930e79cc5d9d829f158e31172b2043f0cd (git)
Affected: 56f487f8c8fc5d6e582b79a86fc132d050129e15 , < 0ee5b9644f06b4d3cdcd9544f43f63312e425a4c (git)
Affected: 56f487f8c8fc5d6e582b79a86fc132d050129e15 , < d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e (git)
Affected: 56f487f8c8fc5d6e582b79a86fc132d050129e15 , < 08d7a26d115cc7892668baa9750f64bd8baca29b (git)
Affected: 56f487f8c8fc5d6e582b79a86fc132d050129e15 , < ea759ae0a9ae5acee677d722129710ac89cc59c1 (git)
Affected: 56f487f8c8fc5d6e582b79a86fc132d050129e15 , < 6949493884fe88500de4af182588e071cf1544ee (git)
Create a notification for this product.
    Linux Linux Affected: 4.18
Unaffected: 0 , < 4.18 (semver)
Unaffected: 4.19.247 , ≤ 4.19.* (semver)
Unaffected: 5.4.198 , ≤ 5.4.* (semver)
Unaffected: 5.10.122 , ≤ 5.10.* (semver)
Unaffected: 5.15.47 , ≤ 5.15.* (semver)
Unaffected: 5.17.15 , ≤ 5.17.* (semver)
Unaffected: 5.18.4 , ≤ 5.18.* (semver)
Unaffected: 5.19 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 5.5,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "LOW",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2022-49316",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-10-01T19:43:59.003502Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-667",
                "description": "CWE-667 Improper Locking",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-01T19:46:57.250Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/nfs4proc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010",
              "status": "affected",
              "version": "56f487f8c8fc5d6e582b79a86fc132d050129e15",
              "versionType": "git"
            },
            {
              "lessThan": "a2b3be930e79cc5d9d829f158e31172b2043f0cd",
              "status": "affected",
              "version": "56f487f8c8fc5d6e582b79a86fc132d050129e15",
              "versionType": "git"
            },
            {
              "lessThan": "0ee5b9644f06b4d3cdcd9544f43f63312e425a4c",
              "status": "affected",
              "version": "56f487f8c8fc5d6e582b79a86fc132d050129e15",
              "versionType": "git"
            },
            {
              "lessThan": "d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e",
              "status": "affected",
              "version": "56f487f8c8fc5d6e582b79a86fc132d050129e15",
              "versionType": "git"
            },
            {
              "lessThan": "08d7a26d115cc7892668baa9750f64bd8baca29b",
              "status": "affected",
              "version": "56f487f8c8fc5d6e582b79a86fc132d050129e15",
              "versionType": "git"
            },
            {
              "lessThan": "ea759ae0a9ae5acee677d722129710ac89cc59c1",
              "status": "affected",
              "version": "56f487f8c8fc5d6e582b79a86fc132d050129e15",
              "versionType": "git"
            },
            {
              "lessThan": "6949493884fe88500de4af182588e071cf1544ee",
              "status": "affected",
              "version": "56f487f8c8fc5d6e582b79a86fc132d050129e15",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/nfs4proc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.18"
            },
            {
              "lessThan": "4.18",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.122",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.47",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.15",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.247",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.122",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.47",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.15",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.4",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "4.18",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFSv4: Don\u0027t hold the layoutget locks across multiple RPC calls\n\nWhen doing layoutget as part of the open() compound, we have to be\ncareful to release the layout locks before we can call any further RPC\ncalls, such as setattr(). The reason is that those calls could trigger\na recall, which could deadlock."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-06-19T12:56:17.116Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010"
        },
        {
          "url": "https://git.kernel.org/stable/c/a2b3be930e79cc5d9d829f158e31172b2043f0cd"
        },
        {
          "url": "https://git.kernel.org/stable/c/0ee5b9644f06b4d3cdcd9544f43f63312e425a4c"
        },
        {
          "url": "https://git.kernel.org/stable/c/d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e"
        },
        {
          "url": "https://git.kernel.org/stable/c/08d7a26d115cc7892668baa9750f64bd8baca29b"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea759ae0a9ae5acee677d722129710ac89cc59c1"
        },
        {
          "url": "https://git.kernel.org/stable/c/6949493884fe88500de4af182588e071cf1544ee"
        }
      ],
      "title": "NFSv4: Don\u0027t hold the layoutget locks across multiple RPC calls",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49316",
    "datePublished": "2025-02-26T02:10:43.569Z",
    "dateReserved": "2025-02-26T02:08:31.537Z",
    "dateUpdated": "2025-10-01T19:46:57.250Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 5.5, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"LOW\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2022-49316\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-10-01T19:43:59.003502Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-667\", \"description\": \"CWE-667 Improper Locking\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-10-01T16:14:38.958Z\"}}], \"cna\": {\"title\": \"NFSv4: Don\u0027t hold the layoutget locks across multiple RPC calls\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"56f487f8c8fc5d6e582b79a86fc132d050129e15\", \"lessThan\": \"6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56f487f8c8fc5d6e582b79a86fc132d050129e15\", \"lessThan\": \"a2b3be930e79cc5d9d829f158e31172b2043f0cd\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56f487f8c8fc5d6e582b79a86fc132d050129e15\", \"lessThan\": \"0ee5b9644f06b4d3cdcd9544f43f63312e425a4c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56f487f8c8fc5d6e582b79a86fc132d050129e15\", \"lessThan\": \"d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56f487f8c8fc5d6e582b79a86fc132d050129e15\", \"lessThan\": \"08d7a26d115cc7892668baa9750f64bd8baca29b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56f487f8c8fc5d6e582b79a86fc132d050129e15\", \"lessThan\": \"ea759ae0a9ae5acee677d722129710ac89cc59c1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"56f487f8c8fc5d6e582b79a86fc132d050129e15\", \"lessThan\": \"6949493884fe88500de4af182588e071cf1544ee\", \"versionType\": \"git\"}], \"programFiles\": [\"fs/nfs/nfs4proc.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.18\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.18\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.247\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.198\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.122\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.47\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"5.17.15\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.17.*\"}, {\"status\": \"unaffected\", \"version\": \"5.18.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.18.*\"}, {\"status\": \"unaffected\", \"version\": \"5.19\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"fs/nfs/nfs4proc.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/6b3fc1496e7227cd6a39a80bbfb7588ef7c7a010\"}, {\"url\": \"https://git.kernel.org/stable/c/a2b3be930e79cc5d9d829f158e31172b2043f0cd\"}, {\"url\": \"https://git.kernel.org/stable/c/0ee5b9644f06b4d3cdcd9544f43f63312e425a4c\"}, {\"url\": \"https://git.kernel.org/stable/c/d4c2a041ed3ba114502d5ed6ace5b1a48d637a8e\"}, {\"url\": \"https://git.kernel.org/stable/c/08d7a26d115cc7892668baa9750f64bd8baca29b\"}, {\"url\": \"https://git.kernel.org/stable/c/ea759ae0a9ae5acee677d722129710ac89cc59c1\"}, {\"url\": \"https://git.kernel.org/stable/c/6949493884fe88500de4af182588e071cf1544ee\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nNFSv4: Don\u0027t hold the layoutget locks across multiple RPC calls\\n\\nWhen doing layoutget as part of the open() compound, we have to be\\ncareful to release the layout locks before we can call any further RPC\\ncalls, such as setattr(). The reason is that those calls could trigger\\na recall, which could deadlock.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.247\", \"versionStartIncluding\": \"4.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.198\", \"versionStartIncluding\": \"4.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.122\", \"versionStartIncluding\": \"4.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.47\", \"versionStartIncluding\": \"4.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.17.15\", \"versionStartIncluding\": \"4.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.18.4\", \"versionStartIncluding\": \"4.18\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.19\", \"versionStartIncluding\": \"4.18\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-06-19T12:56:17.116Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2022-49316\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-10-01T19:46:57.250Z\", \"dateReserved\": \"2025-02-26T02:08:31.537Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2025-02-26T02:10:43.569Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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…