CVE-2024-46745 (GCVE-0-2024-46745)

Vulnerability from cvelistv5 – Published: 2024-09-18 07:12 – Updated: 2026-01-05 10:53
VLAI?
Title
Input: uinput - reject requests with unreasonable number of slots
Summary
In the Linux kernel, the following vulnerability has been resolved: Input: uinput - reject requests with unreasonable number of slots When exercising uinput interface syzkaller may try setting up device with a really large number of slots, which causes memory allocation failure in input_mt_init_slots(). While this allocation failure is handled properly and request is rejected, it results in syzkaller reports. Additionally, such request may put undue burden on the system which will try to free a lot of memory for a bogus request. Fix it by limiting allowed number of slots to 100. This can easily be extended if we see devices that can track more than 100 contacts.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 38e7afe96c7c0ad900824911c61fdb04078033dc , < 9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b (git)
Affected: 38e7afe96c7c0ad900824911c61fdb04078033dc , < 597ff930296c4c8fc6b6a536884d4f1a7187ec70 (git)
Affected: 38e7afe96c7c0ad900824911c61fdb04078033dc , < 51fa08edd80003db700bdaa099385c5900d27f4b (git)
Affected: 38e7afe96c7c0ad900824911c61fdb04078033dc , < 9719687398dea8a6a12a10321a54dd75eec7ab2d (git)
Affected: 38e7afe96c7c0ad900824911c61fdb04078033dc , < 61df76619e270a46fd427fbdeb670ad491c42de2 (git)
Affected: 38e7afe96c7c0ad900824911c61fdb04078033dc , < a4858b00a1ec57043697fb935565fe267f161833 (git)
Affected: 38e7afe96c7c0ad900824911c61fdb04078033dc , < d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7 (git)
Affected: 38e7afe96c7c0ad900824911c61fdb04078033dc , < 206f533a0a7c683982af473079c4111f4a0f9f5e (git)
Create a notification for this product.
    Linux Linux Affected: 2.6.36
Unaffected: 0 , < 2.6.36 (semver)
Unaffected: 4.19.322 , ≤ 4.19.* (semver)
Unaffected: 5.4.284 , ≤ 5.4.* (semver)
Unaffected: 5.10.226 , ≤ 5.10.* (semver)
Unaffected: 5.15.167 , ≤ 5.15.* (semver)
Unaffected: 6.1.110 , ≤ 6.1.* (semver)
Unaffected: 6.6.51 , ≤ 6.6.* (semver)
Unaffected: 6.10.10 , ≤ 6.10.* (semver)
Unaffected: 6.11 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-46745",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-29T14:49:11.611047Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-29T14:49:25.877Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T22:17:38.493Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/input/misc/uinput.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b",
              "status": "affected",
              "version": "38e7afe96c7c0ad900824911c61fdb04078033dc",
              "versionType": "git"
            },
            {
              "lessThan": "597ff930296c4c8fc6b6a536884d4f1a7187ec70",
              "status": "affected",
              "version": "38e7afe96c7c0ad900824911c61fdb04078033dc",
              "versionType": "git"
            },
            {
              "lessThan": "51fa08edd80003db700bdaa099385c5900d27f4b",
              "status": "affected",
              "version": "38e7afe96c7c0ad900824911c61fdb04078033dc",
              "versionType": "git"
            },
            {
              "lessThan": "9719687398dea8a6a12a10321a54dd75eec7ab2d",
              "status": "affected",
              "version": "38e7afe96c7c0ad900824911c61fdb04078033dc",
              "versionType": "git"
            },
            {
              "lessThan": "61df76619e270a46fd427fbdeb670ad491c42de2",
              "status": "affected",
              "version": "38e7afe96c7c0ad900824911c61fdb04078033dc",
              "versionType": "git"
            },
            {
              "lessThan": "a4858b00a1ec57043697fb935565fe267f161833",
              "status": "affected",
              "version": "38e7afe96c7c0ad900824911c61fdb04078033dc",
              "versionType": "git"
            },
            {
              "lessThan": "d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7",
              "status": "affected",
              "version": "38e7afe96c7c0ad900824911c61fdb04078033dc",
              "versionType": "git"
            },
            {
              "lessThan": "206f533a0a7c683982af473079c4111f4a0f9f5e",
              "status": "affected",
              "version": "38e7afe96c7c0ad900824911c61fdb04078033dc",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/input/misc/uinput.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.36"
            },
            {
              "lessThan": "2.6.36",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.322",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.284",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.167",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.11",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.322",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.284",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.226",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.167",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.110",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.51",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10.10",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.11",
                  "versionStartIncluding": "2.6.36",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nInput: uinput - reject requests with unreasonable number of slots\n\n\nWhen exercising uinput interface syzkaller may try setting up device\nwith a really large number of slots, which causes memory allocation\nfailure in input_mt_init_slots(). While this allocation failure is\nhandled properly and request is rejected, it results in syzkaller\nreports. Additionally, such request may put undue burden on the\nsystem which will try to free a lot of memory for a bogus request.\n\nFix it by limiting allowed number of slots to 100. This can easily\nbe extended if we see devices that can track more than 100 contacts."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-01-05T10:53:02.966Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b"
        },
        {
          "url": "https://git.kernel.org/stable/c/597ff930296c4c8fc6b6a536884d4f1a7187ec70"
        },
        {
          "url": "https://git.kernel.org/stable/c/51fa08edd80003db700bdaa099385c5900d27f4b"
        },
        {
          "url": "https://git.kernel.org/stable/c/9719687398dea8a6a12a10321a54dd75eec7ab2d"
        },
        {
          "url": "https://git.kernel.org/stable/c/61df76619e270a46fd427fbdeb670ad491c42de2"
        },
        {
          "url": "https://git.kernel.org/stable/c/a4858b00a1ec57043697fb935565fe267f161833"
        },
        {
          "url": "https://git.kernel.org/stable/c/d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7"
        },
        {
          "url": "https://git.kernel.org/stable/c/206f533a0a7c683982af473079c4111f4a0f9f5e"
        }
      ],
      "title": "Input: uinput - reject requests with unreasonable number of slots",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-46745",
    "datePublished": "2024-09-18T07:12:05.798Z",
    "dateReserved": "2024-09-11T15:12:18.266Z",
    "dateUpdated": "2026-01-05T10:53:02.966Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html\"}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-03T22:17:38.493Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-46745\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-29T14:49:11.611047Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-29T14:49:15.724Z\"}}], \"cna\": {\"title\": \"Input: uinput - reject requests with unreasonable number of slots\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"38e7afe96c7c0ad900824911c61fdb04078033dc\", \"lessThan\": \"9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"38e7afe96c7c0ad900824911c61fdb04078033dc\", \"lessThan\": \"597ff930296c4c8fc6b6a536884d4f1a7187ec70\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"38e7afe96c7c0ad900824911c61fdb04078033dc\", \"lessThan\": \"51fa08edd80003db700bdaa099385c5900d27f4b\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"38e7afe96c7c0ad900824911c61fdb04078033dc\", \"lessThan\": \"9719687398dea8a6a12a10321a54dd75eec7ab2d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"38e7afe96c7c0ad900824911c61fdb04078033dc\", \"lessThan\": \"61df76619e270a46fd427fbdeb670ad491c42de2\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"38e7afe96c7c0ad900824911c61fdb04078033dc\", \"lessThan\": \"a4858b00a1ec57043697fb935565fe267f161833\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"38e7afe96c7c0ad900824911c61fdb04078033dc\", \"lessThan\": \"d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"38e7afe96c7c0ad900824911c61fdb04078033dc\", \"lessThan\": \"206f533a0a7c683982af473079c4111f4a0f9f5e\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/input/misc/uinput.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"2.6.36\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"2.6.36\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.322\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.284\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.226\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.167\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.110\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.51\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.10\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/input/misc/uinput.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/9c6d189f0c1c59ba9a32326ec82a0b367a3cd47b\"}, {\"url\": \"https://git.kernel.org/stable/c/597ff930296c4c8fc6b6a536884d4f1a7187ec70\"}, {\"url\": \"https://git.kernel.org/stable/c/51fa08edd80003db700bdaa099385c5900d27f4b\"}, {\"url\": \"https://git.kernel.org/stable/c/9719687398dea8a6a12a10321a54dd75eec7ab2d\"}, {\"url\": \"https://git.kernel.org/stable/c/61df76619e270a46fd427fbdeb670ad491c42de2\"}, {\"url\": \"https://git.kernel.org/stable/c/a4858b00a1ec57043697fb935565fe267f161833\"}, {\"url\": \"https://git.kernel.org/stable/c/d76fc0f0b18d49b7e721c9e4975ef4bffde2f3e7\"}, {\"url\": \"https://git.kernel.org/stable/c/206f533a0a7c683982af473079c4111f4a0f9f5e\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nInput: uinput - reject requests with unreasonable number of slots\\n\\n\\nWhen exercising uinput interface syzkaller may try setting up device\\nwith a really large number of slots, which causes memory allocation\\nfailure in input_mt_init_slots(). While this allocation failure is\\nhandled properly and request is rejected, it results in syzkaller\\nreports. Additionally, such request may put undue burden on the\\nsystem which will try to free a lot of memory for a bogus request.\\n\\nFix it by limiting allowed number of slots to 100. This can easily\\nbe extended if we see devices that can track more than 100 contacts.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.322\", \"versionStartIncluding\": \"2.6.36\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.284\", \"versionStartIncluding\": \"2.6.36\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.226\", \"versionStartIncluding\": \"2.6.36\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.167\", \"versionStartIncluding\": \"2.6.36\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.110\", \"versionStartIncluding\": \"2.6.36\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.51\", \"versionStartIncluding\": \"2.6.36\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10.10\", \"versionStartIncluding\": \"2.6.36\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.11\", \"versionStartIncluding\": \"2.6.36\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-01-05T10:53:02.966Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-46745\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-01-05T10:53:02.966Z\", \"dateReserved\": \"2024-09-11T15:12:18.266Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-09-18T07:12:05.798Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


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…