CVE-2024-54456 (GCVE-0-2024-54456)
Vulnerability from cvelistv5
Published
2025-02-27 02:18
Modified
2025-05-04 09:57
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client() name is char[64] where the size of clnt->cl_program->name remains unknown. Invoking strcat() directly will also lead to potential buffer overflow. Change them to strscpy() and strncat() to fix potential issues.
Impacted products
Vendor Product Version
Linux Linux Version: 996bc4f405d37ffd88c9b830202ee47fc7a6c449
Version: 996bc4f405d37ffd88c9b830202ee47fc7a6c449
Version: 996bc4f405d37ffd88c9b830202ee47fc7a6c449
Version: 996bc4f405d37ffd88c9b830202ee47fc7a6c449
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "19b3ca651b4b473878c73539febe477905041442",
              "status": "affected",
              "version": "996bc4f405d37ffd88c9b830202ee47fc7a6c449",
              "versionType": "git"
            },
            {
              "lessThan": "dd8830779b77f4d1206d28d02ad56a03fc0e78f7",
              "status": "affected",
              "version": "996bc4f405d37ffd88c9b830202ee47fc7a6c449",
              "versionType": "git"
            },
            {
              "lessThan": "e8e0eb5601d4a6c74c336e3710afe3a0348c469d",
              "status": "affected",
              "version": "996bc4f405d37ffd88c9b830202ee47fc7a6c449",
              "versionType": "git"
            },
            {
              "lessThan": "49fd4e34751e90e6df009b70cd0659dc839e7ca8",
              "status": "affected",
              "version": "996bc4f405d37ffd88c9b830202ee47fc7a6c449",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/nfs/sysfs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.3"
            },
            {
              "lessThan": "5.3",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.79",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.14",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.79",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.16",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.4",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14",
                  "versionStartIncluding": "5.3",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client()\n\nname is char[64] where the size of clnt-\u003ecl_program-\u003ename remains\nunknown. Invoking strcat() directly will also lead to potential buffer\noverflow. Change them to strscpy() and strncat() to fix potential\nissues."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T09:57:06.046Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/19b3ca651b4b473878c73539febe477905041442"
        },
        {
          "url": "https://git.kernel.org/stable/c/dd8830779b77f4d1206d28d02ad56a03fc0e78f7"
        },
        {
          "url": "https://git.kernel.org/stable/c/e8e0eb5601d4a6c74c336e3710afe3a0348c469d"
        },
        {
          "url": "https://git.kernel.org/stable/c/49fd4e34751e90e6df009b70cd0659dc839e7ca8"
        }
      ],
      "title": "NFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-54456",
    "datePublished": "2025-02-27T02:18:08.143Z",
    "dateReserved": "2025-02-27T02:16:34.098Z",
    "dateUpdated": "2025-05-04T09:57:06.046Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-54456\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-27T03:15:10.667\",\"lastModified\":\"2025-02-27T03:15:10.667\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nNFS: Fix potential buffer overflowin nfs_sysfs_link_rpc_client()\\n\\nname is char[64] where the size of clnt-\u003ecl_program-\u003ename remains\\nunknown. Invoking strcat() directly will also lead to potential buffer\\noverflow. Change them to strscpy() and strncat() to fix potential\\nissues.\"},{\"lang\":\"es\",\"value\":\"En el n\u00facleo de Linux, se ha resuelto la siguiente vulnerabilidad: NFS: Se solucion\u00f3 un posible desbordamiento de b\u00fafer en nfs_sysfs_link_rpc_client() cuyo nombre es char[64], donde el tama\u00f1o de clnt-\u0026gt;cl_program-\u0026gt;name sigue siendo desconocido. Invocar strcat() directamente tambi\u00e9n provocar\u00e1 un posible desbordamiento de b\u00fafer. C\u00e1mbielos a strscpy() y strncat() para solucionar posibles problemas.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/19b3ca651b4b473878c73539febe477905041442\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/49fd4e34751e90e6df009b70cd0659dc839e7ca8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dd8830779b77f4d1206d28d02ad56a03fc0e78f7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e8e0eb5601d4a6c74c336e3710afe3a0348c469d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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 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.


Loading…

Loading…