CVE-2024-56544 (GCVE-0-2024-56544)

Vulnerability from cvelistv5 – Published: 2024-12-27 14:11 – Updated: 2026-05-11 20:54
VLAI
Title
udmabuf: change folios array from kmalloc to kvmalloc
Summary
In the Linux kernel, the following vulnerability has been resolved: udmabuf: change folios array from kmalloc to kvmalloc When PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine, page_alloc only support 4MB. If above this, trigger this warn and return NULL. udmabuf can change size limit, if change it to 3072(3GB), and then alloc 3GB udmabuf, will fail create. [ 4080.876581] ------------[ cut here ]------------ [ 4080.876843] WARNING: CPU: 3 PID: 2015 at mm/page_alloc.c:4556 __alloc_pages+0x2c8/0x350 [ 4080.878839] RIP: 0010:__alloc_pages+0x2c8/0x350 [ 4080.879470] Call Trace: [ 4080.879473] <TASK> [ 4080.879473] ? __alloc_pages+0x2c8/0x350 [ 4080.879475] ? __warn.cold+0x8e/0xe8 [ 4080.880647] ? __alloc_pages+0x2c8/0x350 [ 4080.880909] ? report_bug+0xff/0x140 [ 4080.881175] ? handle_bug+0x3c/0x80 [ 4080.881556] ? exc_invalid_op+0x17/0x70 [ 4080.881559] ? asm_exc_invalid_op+0x1a/0x20 [ 4080.882077] ? udmabuf_create+0x131/0x400 Because MAX_PAGE_ORDER, kmalloc can max alloc 4096 * (1 << 10), 4MB memory, each array entry is pointer(8byte), so can save 524288 pages(2GB). Further more, costly order(order 3) may not be guaranteed that it can be applied for, due to fragmentation. This patch change udmabuf array use kvmalloc_array, this can fallback alloc into vmalloc, which can guarantee allocation for any size and does not affect the performance of kmalloc allocations.
CWE
  • CWE-476 - NULL Pointer Dereference
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: fbb0de795078190a9834b3409e4b009cfb18a6d4 , < 2acc6192aa8570661ed37868c02c03002b1dc290 (git)
Affected: fbb0de795078190a9834b3409e4b009cfb18a6d4 , < 85bb72397cb63649fe493c96e27e1d0e4ed2ff63 (git)
Affected: fbb0de795078190a9834b3409e4b009cfb18a6d4 , < 1c0844c6184e658064e14c4335885785ad3bf84b (git)
Create a notification for this product.
Linux Linux Affected: 4.20
Unaffected: 0 , < 4.20 (semver)
Unaffected: 6.11.11 , ≤ 6.11.* (semver)
Unaffected: 6.12.2 , ≤ 6.12.* (semver)
Unaffected: 6.13 , ≤ * (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-2024-56544",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-10-01T20:02:22.997528Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-476",
                "description": "CWE-476 NULL Pointer Dereference",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-10-01T20:07:16.509Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/dma-buf/udmabuf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2acc6192aa8570661ed37868c02c03002b1dc290",
              "status": "affected",
              "version": "fbb0de795078190a9834b3409e4b009cfb18a6d4",
              "versionType": "git"
            },
            {
              "lessThan": "85bb72397cb63649fe493c96e27e1d0e4ed2ff63",
              "status": "affected",
              "version": "fbb0de795078190a9834b3409e4b009cfb18a6d4",
              "versionType": "git"
            },
            {
              "lessThan": "1c0844c6184e658064e14c4335885785ad3bf84b",
              "status": "affected",
              "version": "fbb0de795078190a9834b3409e4b009cfb18a6d4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/dma-buf/udmabuf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.20"
            },
            {
              "lessThan": "4.20",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.11.*",
              "status": "unaffected",
              "version": "6.11.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.13",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11.11",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.2",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13",
                  "versionStartIncluding": "4.20",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nudmabuf: change folios array from kmalloc to kvmalloc\n\nWhen PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine,\npage_alloc only support 4MB.\nIf above this, trigger this warn and return NULL.\n\nudmabuf can change size limit, if change it to 3072(3GB), and then alloc\n3GB udmabuf, will fail create.\n\n[ 4080.876581] ------------[ cut here ]------------\n[ 4080.876843] WARNING: CPU: 3 PID: 2015 at mm/page_alloc.c:4556 __alloc_pages+0x2c8/0x350\n[ 4080.878839] RIP: 0010:__alloc_pages+0x2c8/0x350\n[ 4080.879470] Call Trace:\n[ 4080.879473]  \u003cTASK\u003e\n[ 4080.879473]  ? __alloc_pages+0x2c8/0x350\n[ 4080.879475]  ? __warn.cold+0x8e/0xe8\n[ 4080.880647]  ? __alloc_pages+0x2c8/0x350\n[ 4080.880909]  ? report_bug+0xff/0x140\n[ 4080.881175]  ? handle_bug+0x3c/0x80\n[ 4080.881556]  ? exc_invalid_op+0x17/0x70\n[ 4080.881559]  ? asm_exc_invalid_op+0x1a/0x20\n[ 4080.882077]  ? udmabuf_create+0x131/0x400\n\nBecause MAX_PAGE_ORDER, kmalloc can max alloc 4096 * (1 \u003c\u003c 10), 4MB\nmemory, each array entry is pointer(8byte), so can save 524288 pages(2GB).\n\nFurther more, costly order(order 3) may not be guaranteed that it can be\napplied for, due to fragmentation.\n\nThis patch change udmabuf array use kvmalloc_array, this can fallback\nalloc into vmalloc, which can guarantee allocation for any size and does\nnot affect the performance of kmalloc allocations."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T20:54:24.141Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2acc6192aa8570661ed37868c02c03002b1dc290"
        },
        {
          "url": "https://git.kernel.org/stable/c/85bb72397cb63649fe493c96e27e1d0e4ed2ff63"
        },
        {
          "url": "https://git.kernel.org/stable/c/1c0844c6184e658064e14c4335885785ad3bf84b"
        }
      ],
      "title": "udmabuf: change folios array from kmalloc to kvmalloc",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-56544",
    "datePublished": "2024-12-27T14:11:25.801Z",
    "dateReserved": "2024-12-27T14:03:05.988Z",
    "dateUpdated": "2026-05-11T20:54:24.141Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-56544",
      "date": "2026-05-27",
      "epss": "0.0002",
      "percentile": "0.05986"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nudmabuf: change folios array from kmalloc to kvmalloc\\n\\nWhen PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine,\\npage_alloc only support 4MB.\\nIf above this, trigger this warn and return NULL.\\n\\nudmabuf can change size limit, if change it to 3072(3GB), and then alloc\\n3GB udmabuf, will fail create.\\n\\n[ 4080.876581] ------------[ cut here ]------------\\n[ 4080.876843] WARNING: CPU: 3 PID: 2015 at mm/page_alloc.c:4556 __alloc_pages+0x2c8/0x350\\n[ 4080.878839] RIP: 0010:__alloc_pages+0x2c8/0x350\\n[ 4080.879470] Call Trace:\\n[ 4080.879473]  \u003cTASK\u003e\\n[ 4080.879473]  ? __alloc_pages+0x2c8/0x350\\n[ 4080.879475]  ? __warn.cold+0x8e/0xe8\\n[ 4080.880647]  ? __alloc_pages+0x2c8/0x350\\n[ 4080.880909]  ? report_bug+0xff/0x140\\n[ 4080.881175]  ? handle_bug+0x3c/0x80\\n[ 4080.881556]  ? exc_invalid_op+0x17/0x70\\n[ 4080.881559]  ? asm_exc_invalid_op+0x1a/0x20\\n[ 4080.882077]  ? udmabuf_create+0x131/0x400\\n\\nBecause MAX_PAGE_ORDER, kmalloc can max alloc 4096 * (1 \u003c\u003c 10), 4MB\\nmemory, each array entry is pointer(8byte), so can save 524288 pages(2GB).\\n\\nFurther more, costly order(order 3) may not be guaranteed that it can be\\napplied for, due to fragmentation.\\n\\nThis patch change udmabuf array use kvmalloc_array, this can fallback\\nalloc into vmalloc, which can guarantee allocation for any size and does\\nnot affect the performance of kmalloc allocations.\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: udmabuf: cambia la matriz de folios de kmalloc a kvmalloc Cuando PAGE_SIZE es 4096, MAX_PAGE_ORDER es 10, en una m\\u00e1quina de 64 bits, page_alloc solo admite 4 MB. Si es mayor, se activa esta advertencia y se devuelve NULL. udmabuf puede cambiar el l\\u00edmite de tama\\u00f1o. Si lo cambia a 3072 (3 GB) y luego asigna 3 GB, udmabuf no podr\\u00e1 crearlo. [ 4080.876581] ------------[ cortar aqu\\u00ed ]------------ [ 4080.876843] ADVERTENCIA: CPU: 3 PID: 2015 en mm/page_alloc.c:4556 __alloc_pages+0x2c8/0x350 [ 4080.878839] RIP: 0010:__alloc_pages+0x2c8/0x350 [ 4080.879470] Seguimiento de llamadas: [ 4080.879473]  [ 4080.879473] ? __alloc_pages+0x2c8/0x350 [ 4080.879475] ? __warn.cold+0x8e/0xe8 [ 4080.880647] ? __alloc_pages+0x2c8/0x350 [ 4080.880909] ? report_bug+0xff/0x140 [ 4080.881175] ? handle_bug+0x3c/0x80 [ 4080.881556] ? exc_invalid_op+0x17/0x70 [ 4080.881559] ? asm_exc_invalid_op+0x1a/0x20 [ 4080.882077] ? udmabuf_create+0x131/0x400 Debido a MAX_PAGE_ORDER, kmalloc puede asignar un m\\u00e1ximo de 4096 * (1 \u0026lt;\u0026lt; 10), 4 MB de memoria, cada entrada de la matriz es un puntero (8 bytes), por lo que puede guardar 524288 p\\u00e1ginas (2 GB). Adem\\u00e1s, es posible que no se garantice que se pueda aplicar el pedido costoso (pedido 3) debido a la fragmentaci\\u00f3n. Este parche cambia la matriz udmabuf para usar kvmalloc_array, lo que permite que la asignaci\\u00f3n se convierta en una funci\\u00f3n alternativa de vmalloc, lo que puede garantizar la asignaci\\u00f3n para cualquier tama\\u00f1o y no afecta el rendimiento de las asignaciones de kmalloc.\"}]",
      "id": "CVE-2024-56544",
      "lastModified": "2024-12-27T14:15:34.153",
      "published": "2024-12-27T14:15:34.153",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/1c0844c6184e658064e14c4335885785ad3bf84b\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/2acc6192aa8570661ed37868c02c03002b1dc290\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/85bb72397cb63649fe493c96e27e1d0e4ed2ff63\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-56544\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T14:15:34.153\",\"lastModified\":\"2025-10-01T20:17:26.910\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nudmabuf: change folios array from kmalloc to kvmalloc\\n\\nWhen PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine,\\npage_alloc only support 4MB.\\nIf above this, trigger this warn and return NULL.\\n\\nudmabuf can change size limit, if change it to 3072(3GB), and then alloc\\n3GB udmabuf, will fail create.\\n\\n[ 4080.876581] ------------[ cut here ]------------\\n[ 4080.876843] WARNING: CPU: 3 PID: 2015 at mm/page_alloc.c:4556 __alloc_pages+0x2c8/0x350\\n[ 4080.878839] RIP: 0010:__alloc_pages+0x2c8/0x350\\n[ 4080.879470] Call Trace:\\n[ 4080.879473]  \u003cTASK\u003e\\n[ 4080.879473]  ? __alloc_pages+0x2c8/0x350\\n[ 4080.879475]  ? __warn.cold+0x8e/0xe8\\n[ 4080.880647]  ? __alloc_pages+0x2c8/0x350\\n[ 4080.880909]  ? report_bug+0xff/0x140\\n[ 4080.881175]  ? handle_bug+0x3c/0x80\\n[ 4080.881556]  ? exc_invalid_op+0x17/0x70\\n[ 4080.881559]  ? asm_exc_invalid_op+0x1a/0x20\\n[ 4080.882077]  ? udmabuf_create+0x131/0x400\\n\\nBecause MAX_PAGE_ORDER, kmalloc can max alloc 4096 * (1 \u003c\u003c 10), 4MB\\nmemory, each array entry is pointer(8byte), so can save 524288 pages(2GB).\\n\\nFurther more, costly order(order 3) may not be guaranteed that it can be\\napplied for, due to fragmentation.\\n\\nThis patch change udmabuf array use kvmalloc_array, this can fallback\\nalloc into vmalloc, which can guarantee allocation for any size and does\\nnot affect the performance of kmalloc allocations.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: udmabuf: cambia la matriz de folios de kmalloc a kvmalloc Cuando PAGE_SIZE es 4096, MAX_PAGE_ORDER es 10, en una m\u00e1quina de 64 bits, page_alloc solo admite 4 MB. Si es mayor, se activa esta advertencia y se devuelve NULL. udmabuf puede cambiar el l\u00edmite de tama\u00f1o. Si lo cambia a 3072 (3 GB) y luego asigna 3 GB, udmabuf no podr\u00e1 crearlo. [ 4080.876581] ------------[ cortar aqu\u00ed ]------------ [ 4080.876843] ADVERTENCIA: CPU: 3 PID: 2015 en mm/page_alloc.c:4556 __alloc_pages+0x2c8/0x350 [ 4080.878839] RIP: 0010:__alloc_pages+0x2c8/0x350 [ 4080.879470] Seguimiento de llamadas: [ 4080.879473]  [ 4080.879473] ? __alloc_pages+0x2c8/0x350 [ 4080.879475] ? __warn.cold+0x8e/0xe8 [ 4080.880647] ? __alloc_pages+0x2c8/0x350 [ 4080.880909] ? report_bug+0xff/0x140 [ 4080.881175] ? handle_bug+0x3c/0x80 [ 4080.881556] ? exc_invalid_op+0x17/0x70 [ 4080.881559] ? asm_exc_invalid_op+0x1a/0x20 [ 4080.882077] ? udmabuf_create+0x131/0x400 Debido a MAX_PAGE_ORDER, kmalloc puede asignar un m\u00e1ximo de 4096 * (1 \u0026lt;\u0026lt; 10), 4 MB de memoria, cada entrada de la matriz es un puntero (8 bytes), por lo que puede guardar 524288 p\u00e1ginas (2 GB). Adem\u00e1s, es posible que no se garantice que se pueda aplicar el pedido costoso (pedido 3) debido a la fragmentaci\u00f3n. Este parche cambia la matriz udmabuf para usar kvmalloc_array, lo que permite que la asignaci\u00f3n se convierta en una funci\u00f3n alternativa de vmalloc, lo que puede garantizar la asignaci\u00f3n para cualquier tama\u00f1o y no afecta el rendimiento de las asignaciones de kmalloc.\"}],\"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},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"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\":\"CWE-476\"}]},{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-476\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"6.11.11\",\"matchCriteriaId\":\"98A51951-5EDA-4923-B829-3713DED77FDC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.12\",\"versionEndExcluding\":\"6.12.2\",\"matchCriteriaId\":\"D8882B1B-2ABC-4838-AC1D-DBDBB5764776\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/1c0844c6184e658064e14c4335885785ad3bf84b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/2acc6192aa8570661ed37868c02c03002b1dc290\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/85bb72397cb63649fe493c96e27e1d0e4ed2ff63\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "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-2024-56544\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-10-01T20:02:22.997528Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-476\", \"description\": \"CWE-476 NULL Pointer Dereference\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-10-01T15:41:01.794Z\"}}], \"cna\": {\"title\": \"udmabuf: change folios array from kmalloc to kvmalloc\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"fbb0de795078190a9834b3409e4b009cfb18a6d4\", \"lessThan\": \"2acc6192aa8570661ed37868c02c03002b1dc290\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"fbb0de795078190a9834b3409e4b009cfb18a6d4\", \"lessThan\": \"85bb72397cb63649fe493c96e27e1d0e4ed2ff63\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"fbb0de795078190a9834b3409e4b009cfb18a6d4\", \"lessThan\": \"1c0844c6184e658064e14c4335885785ad3bf84b\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/dma-buf/udmabuf.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.20\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.20\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"6.11.11\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.11.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.2\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.13\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/dma-buf/udmabuf.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/2acc6192aa8570661ed37868c02c03002b1dc290\"}, {\"url\": \"https://git.kernel.org/stable/c/85bb72397cb63649fe493c96e27e1d0e4ed2ff63\"}, {\"url\": \"https://git.kernel.org/stable/c/1c0844c6184e658064e14c4335885785ad3bf84b\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nudmabuf: change folios array from kmalloc to kvmalloc\\n\\nWhen PAGE_SIZE 4096, MAX_PAGE_ORDER 10, 64bit machine,\\npage_alloc only support 4MB.\\nIf above this, trigger this warn and return NULL.\\n\\nudmabuf can change size limit, if change it to 3072(3GB), and then alloc\\n3GB udmabuf, will fail create.\\n\\n[ 4080.876581] ------------[ cut here ]------------\\n[ 4080.876843] WARNING: CPU: 3 PID: 2015 at mm/page_alloc.c:4556 __alloc_pages+0x2c8/0x350\\n[ 4080.878839] RIP: 0010:__alloc_pages+0x2c8/0x350\\n[ 4080.879470] Call Trace:\\n[ 4080.879473]  \u003cTASK\u003e\\n[ 4080.879473]  ? __alloc_pages+0x2c8/0x350\\n[ 4080.879475]  ? __warn.cold+0x8e/0xe8\\n[ 4080.880647]  ? __alloc_pages+0x2c8/0x350\\n[ 4080.880909]  ? report_bug+0xff/0x140\\n[ 4080.881175]  ? handle_bug+0x3c/0x80\\n[ 4080.881556]  ? exc_invalid_op+0x17/0x70\\n[ 4080.881559]  ? asm_exc_invalid_op+0x1a/0x20\\n[ 4080.882077]  ? udmabuf_create+0x131/0x400\\n\\nBecause MAX_PAGE_ORDER, kmalloc can max alloc 4096 * (1 \u003c\u003c 10), 4MB\\nmemory, each array entry is pointer(8byte), so can save 524288 pages(2GB).\\n\\nFurther more, costly order(order 3) may not be guaranteed that it can be\\napplied for, due to fragmentation.\\n\\nThis patch change udmabuf array use kvmalloc_array, this can fallback\\nalloc into vmalloc, which can guarantee allocation for any size and does\\nnot affect the performance of kmalloc allocations.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11.11\", \"versionStartIncluding\": \"4.20\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.2\", \"versionStartIncluding\": \"4.20\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.13\", \"versionStartIncluding\": \"4.20\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T09:57:57.520Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-56544\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-10-01T20:07:16.509Z\", \"dateReserved\": \"2024-12-27T14:03:05.988Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-12-27T14:11:25.801Z\", \"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…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…