cve-2024-53107
Vulnerability from cvelistv5
Published
2024-12-02 13:44
Modified
2024-12-02 13:44
Severity ?
Summary
fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()
Impacted products
Vendor Product Version
Linux Linux Version: 6.7
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/proc/task_mmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "adee03f8903c",
              "status": "affected",
              "version": "52526ca7fdb9",
              "versionType": "git"
            },
            {
              "lessThan": "669b0cb81e4e",
              "status": "affected",
              "version": "52526ca7fdb9",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/proc/task_mmu.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.7"
            },
            {
              "lessThan": "6.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.12",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()\n\nThe \"arg-\u003evec_len\" variable is a u64 that comes from the user at the start\nof the function.  The \"arg-\u003evec_len * sizeof(struct page_region))\"\nmultiplication can lead to integer wrapping.  Use size_mul() to avoid\nthat.\n\nAlso the size_add/mul() functions work on unsigned long so for 32bit\nsystems we need to ensure that \"arg-\u003evec_len\" fits in an unsigned long."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-02T13:44:39.811Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/adee03f8903c58a6a559f21388a430211fac8ce9"
        },
        {
          "url": "https://git.kernel.org/stable/c/669b0cb81e4e4e78cff77a5b367c7f70c0c6c05e"
        }
      ],
      "title": "fs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()",
      "x_generator": {
        "engine": "bippy-8e903de6a542"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-53107",
    "datePublished": "2024-12-02T13:44:39.811Z",
    "dateReserved": "2024-11-19T17:17:24.992Z",
    "dateUpdated": "2024-12-02T13:44:39.811Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-53107\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-02T14:15:11.523\",\"lastModified\":\"2024-12-02T14:15:11.523\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nfs/proc/task_mmu: prevent integer overflow in pagemap_scan_get_args()\\n\\nThe \\\"arg-\u003evec_len\\\" variable is a u64 that comes from the user at the start\\nof the function.  The \\\"arg-\u003evec_len * sizeof(struct page_region))\\\"\\nmultiplication can lead to integer wrapping.  Use size_mul() to avoid\\nthat.\\n\\nAlso the size_add/mul() functions work on unsigned long so for 32bit\\nsystems we need to ensure that \\\"arg-\u003evec_len\\\" fits in an unsigned long.\"},{\"lang\":\"es\",\"value\":\" En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fs/proc/task_mmu: evitar el desbordamiento de enteros en pagemap_scan_get_args() La variable \\\"arg-\u0026gt;vec_len\\\" es una u64 que proviene del usuario al inicio de la funci\u00f3n. La multiplicaci\u00f3n \\\"arg-\u0026gt;vec_len * sizeof(struct page_region))\\\" puede provocar un ajuste de enteros. Utilice size_mul() para evitarlo. Adem\u00e1s, las funciones size_add/mul() funcionan en unsigned long, por lo que para los sistemas de 32 bits debemos asegurarnos de que \\\"arg-\u0026gt;vec_len\\\" quepa en un unsigned long.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/669b0cb81e4e4e78cff77a5b367c7f70c0c6c05e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/adee03f8903c58a6a559f21388a430211fac8ce9\",\"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.