cve-2022-49927
Vulnerability from cvelistv5
Published
2025-05-01 14:11
Modified
2025-05-04 08:48
Severity ?
Summary
nfs4: Fix kmemleak when allocate slot failed
Impacted products
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/nfs4client.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "84b5cb476903003ae9ca88f32b57ff0eaefa6d4c",
              "status": "affected",
              "version": "abf79bb341bf52f75f295b850abdf5f78f584311",
              "versionType": "git"
            },
            {
              "lessThan": "aae35a0c8a775fa4afa6a4e7dab3f936f1f89bbb",
              "status": "affected",
              "version": "abf79bb341bf52f75f295b850abdf5f78f584311",
              "versionType": "git"
            },
            {
              "lessThan": "86ce0e93cf6fb4d0c447323ac66577c642628b9d",
              "status": "affected",
              "version": "abf79bb341bf52f75f295b850abdf5f78f584311",
              "versionType": "git"
            },
            {
              "lessThan": "925cb538bd5851154602818dc80bf4b4d924c127",
              "status": "affected",
              "version": "abf79bb341bf52f75f295b850abdf5f78f584311",
              "versionType": "git"
            },
            {
              "lessThan": "45aea4fbf61e205649c29200726b9f45c1718a67",
              "status": "affected",
              "version": "abf79bb341bf52f75f295b850abdf5f78f584311",
              "versionType": "git"
            },
            {
              "lessThan": "24641993a7dce6b1628645f4e1d97ca06c9f765d",
              "status": "affected",
              "version": "abf79bb341bf52f75f295b850abdf5f78f584311",
              "versionType": "git"
            },
            {
              "lessThan": "db333ae981fb8843c383aa7dbf62cc682597d401",
              "status": "affected",
              "version": "abf79bb341bf52f75f295b850abdf5f78f584311",
              "versionType": "git"
            },
            {
              "lessThan": "7e8436728e22181c3f12a5dbabd35ed3a8b8c593",
              "status": "affected",
              "version": "abf79bb341bf52f75f295b850abdf5f78f584311",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/nfs4client.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.12"
            },
            {
              "lessThan": "3.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.333",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.299",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.265",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.154",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.78",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.8",
              "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.333",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.299",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.265",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.224",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.154",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.78",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.8",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "3.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnfs4: Fix kmemleak when allocate slot failed\n\nIf one of the slot allocate failed, should cleanup all the other\nallocated slots, otherwise, the allocated slots will leak:\n\n  unreferenced object 0xffff8881115aa100 (size 64):\n    comm \"\"mount.nfs\"\", pid 679, jiffies 4294744957 (age 115.037s)\n    hex dump (first 32 bytes):\n      00 cc 19 73 81 88 ff ff 00 a0 5a 11 81 88 ff ff  ...s......Z.....\n      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    backtrace:\n      [\u003c000000007a4c434a\u003e] nfs4_find_or_create_slot+0x8e/0x130\n      [\u003c000000005472a39c\u003e] nfs4_realloc_slot_table+0x23f/0x270\n      [\u003c00000000cd8ca0eb\u003e] nfs40_init_client+0x4a/0x90\n      [\u003c00000000128486db\u003e] nfs4_init_client+0xce/0x270\n      [\u003c000000008d2cacad\u003e] nfs4_set_client+0x1a2/0x2b0\n      [\u003c000000000e593b52\u003e] nfs4_create_server+0x300/0x5f0\n      [\u003c00000000e4425dd2\u003e] nfs4_try_get_tree+0x65/0x110\n      [\u003c00000000d3a6176f\u003e] vfs_get_tree+0x41/0xf0\n      [\u003c0000000016b5ad4c\u003e] path_mount+0x9b3/0xdd0\n      [\u003c00000000494cae71\u003e] __x64_sys_mount+0x190/0x1d0\n      [\u003c000000005d56bdec\u003e] do_syscall_64+0x35/0x80\n      [\u003c00000000687c9ae4\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:48:57.290Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/84b5cb476903003ae9ca88f32b57ff0eaefa6d4c"
        },
        {
          "url": "https://git.kernel.org/stable/c/aae35a0c8a775fa4afa6a4e7dab3f936f1f89bbb"
        },
        {
          "url": "https://git.kernel.org/stable/c/86ce0e93cf6fb4d0c447323ac66577c642628b9d"
        },
        {
          "url": "https://git.kernel.org/stable/c/925cb538bd5851154602818dc80bf4b4d924c127"
        },
        {
          "url": "https://git.kernel.org/stable/c/45aea4fbf61e205649c29200726b9f45c1718a67"
        },
        {
          "url": "https://git.kernel.org/stable/c/24641993a7dce6b1628645f4e1d97ca06c9f765d"
        },
        {
          "url": "https://git.kernel.org/stable/c/db333ae981fb8843c383aa7dbf62cc682597d401"
        },
        {
          "url": "https://git.kernel.org/stable/c/7e8436728e22181c3f12a5dbabd35ed3a8b8c593"
        }
      ],
      "title": "nfs4: Fix kmemleak when allocate slot failed",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49927",
    "datePublished": "2025-05-01T14:11:05.404Z",
    "dateReserved": "2025-05-01T14:05:17.253Z",
    "dateUpdated": "2025-05-04T08:48:57.290Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49927\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-05-01T15:16:18.657\",\"lastModified\":\"2025-05-02T13:52:51.693\",\"vulnStatus\":\"Undergoing Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnfs4: Fix kmemleak when allocate slot failed\\n\\nIf one of the slot allocate failed, should cleanup all the other\\nallocated slots, otherwise, the allocated slots will leak:\\n\\n  unreferenced object 0xffff8881115aa100 (size 64):\\n    comm \\\"\\\"mount.nfs\\\"\\\", pid 679, jiffies 4294744957 (age 115.037s)\\n    hex dump (first 32 bytes):\\n      00 cc 19 73 81 88 ff ff 00 a0 5a 11 81 88 ff ff  ...s......Z.....\\n      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\\n    backtrace:\\n      [\u003c000000007a4c434a\u003e] nfs4_find_or_create_slot+0x8e/0x130\\n      [\u003c000000005472a39c\u003e] nfs4_realloc_slot_table+0x23f/0x270\\n      [\u003c00000000cd8ca0eb\u003e] nfs40_init_client+0x4a/0x90\\n      [\u003c00000000128486db\u003e] nfs4_init_client+0xce/0x270\\n      [\u003c000000008d2cacad\u003e] nfs4_set_client+0x1a2/0x2b0\\n      [\u003c000000000e593b52\u003e] nfs4_create_server+0x300/0x5f0\\n      [\u003c00000000e4425dd2\u003e] nfs4_try_get_tree+0x65/0x110\\n      [\u003c00000000d3a6176f\u003e] vfs_get_tree+0x41/0xf0\\n      [\u003c0000000016b5ad4c\u003e] path_mount+0x9b3/0xdd0\\n      [\u003c00000000494cae71\u003e] __x64_sys_mount+0x190/0x1d0\\n      [\u003c000000005d56bdec\u003e] do_syscall_64+0x35/0x80\\n      [\u003c00000000687c9ae4\u003e] entry_SYSCALL_64_after_hwframe+0x46/0xb0\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: nfs4: Se corrige kmemleak cuando falla la asignaci\u00f3n de ranura Si falla la asignaci\u00f3n de una ranura, se deben limpiar todas las dem\u00e1s ranuras asignadas, de lo contrario, las ranuras asignadas tendr\u00e1n fugas: objeto sin referencia 0xffff8881115aa100 (tama\u00f1o 64): comm \\\"\\\"mount.nfs\\\"\\\", pid 679, jiffies 4294744957 (edad 115.037s) volcado hexadecimal (primeros 32 bytes): 00 cc 19 73 81 88 ff ff 00 a0 5a 11 81 88 ff ff ...s......Z..... 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ seguimiento inverso:[\u0026lt;000000007a4c434a\u0026gt;] nfs4_find_or_create_slot+0x8e/0x130 [\u0026lt;000000005472a39c\u0026gt;] nfs4_realloc_slot_table+0x23f/0x270 [\u0026lt;00000000cd8ca0eb\u0026gt;] nfs40_init_client+0x4a/0x90 [\u0026lt;00000000128486db\u0026gt;] nfs4_init_client+0xce/0x270 [\u0026lt;000000008d2cacad\u0026gt;] nfs4_set_client+0x1a2/0x2b0 [\u0026lt;000000000e593b52\u0026gt;] nfs4_create_server+0x300/0x5f0 [\u0026lt;00000000e4425dd2\u0026gt;] nfs4_try_get_tree+0x65/0x110 [\u0026lt;00000000d3a6176f\u0026gt;] vfs_get_tree+0x41/0xf0 [\u0026lt;0000000016b5ad4c\u0026gt;] path_mount+0x9b3/0xdd0 [\u0026lt;00000000494cae71\u0026gt;] __x64_sys_mount+0x190/0x1d0 [\u0026lt;000000005d56bdec\u0026gt;] do_syscall_64+0x35/0x80 [\u0026lt;00000000687c9ae4\u0026gt;] entry_SYSCALL_64_after_hwframe+0x46/0xb0 \"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/24641993a7dce6b1628645f4e1d97ca06c9f765d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/45aea4fbf61e205649c29200726b9f45c1718a67\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7e8436728e22181c3f12a5dbabd35ed3a8b8c593\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/84b5cb476903003ae9ca88f32b57ff0eaefa6d4c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/86ce0e93cf6fb4d0c447323ac66577c642628b9d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/925cb538bd5851154602818dc80bf4b4d924c127\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/aae35a0c8a775fa4afa6a4e7dab3f936f1f89bbb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/db333ae981fb8843c383aa7dbf62cc682597d401\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.