cve-2024-53233
Vulnerability from cvelistv5
Published
2024-12-27 13:50
Modified
2025-01-20 06:21
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: unicode: Fix utf8_load() error path utf8_load() requests the symbol "utf8_data_table" and then checks if the requested UTF-8 version is supported. If it's unsupported, it tries to put the data table using symbol_put(). If an unsupported version is requested, symbol_put() fails like this: kernel BUG at kernel/module/main.c:786! RIP: 0010:__symbol_put+0x93/0xb0 Call Trace: <TASK> ? __die_body.cold+0x19/0x27 ? die+0x2e/0x50 ? do_trap+0xca/0x110 ? do_error_trap+0x65/0x80 ? __symbol_put+0x93/0xb0 ? exc_invalid_op+0x51/0x70 ? __symbol_put+0x93/0xb0 ? asm_exc_invalid_op+0x1a/0x20 ? __pfx_cmp_name+0x10/0x10 ? __symbol_put+0x93/0xb0 ? __symbol_put+0x62/0xb0 utf8_load+0xf8/0x150 That happens because symbol_put() expects the unique string that identify the symbol, instead of a pointer to the loaded symbol. Fix that by using such string.
Impacted products
Vendor Product Version
Linux Linux Version: 2b3d047870120bcd46d7cc257d19ff49328fd585
Version: 2b3d047870120bcd46d7cc257d19ff49328fd585
Version: 2b3d047870120bcd46d7cc257d19ff49328fd585
Version: 2b3d047870120bcd46d7cc257d19ff49328fd585
Version: 2b3d047870120bcd46d7cc257d19ff49328fd585
Create a notification for this product.
   Linux Linux Version: 5.17
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/unicode/utf8-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4387cef540f36c2c9297460758cc2438305a24a0",
              "status": "affected",
              "version": "2b3d047870120bcd46d7cc257d19ff49328fd585",
              "versionType": "git"
            },
            {
              "lessThan": "c4b6c1781f6cc4e2283120ac8d873864b8056f21",
              "status": "affected",
              "version": "2b3d047870120bcd46d7cc257d19ff49328fd585",
              "versionType": "git"
            },
            {
              "lessThan": "6504dd27123966dc455494cb55217c04ca479121",
              "status": "affected",
              "version": "2b3d047870120bcd46d7cc257d19ff49328fd585",
              "versionType": "git"
            },
            {
              "lessThan": "89933f8ab3b4cad5ac14ea56a39947d1ffe7d0e3",
              "status": "affected",
              "version": "2b3d047870120bcd46d7cc257d19ff49328fd585",
              "versionType": "git"
            },
            {
              "lessThan": "156bb2c569cd869583c593d27a5bd69e7b2a4264",
              "status": "affected",
              "version": "2b3d047870120bcd46d7cc257d19ff49328fd585",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/unicode/utf8-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.17"
            },
            {
              "lessThan": "5.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.120",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.64",
              "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"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nunicode: Fix utf8_load() error path\n\nutf8_load() requests the symbol \"utf8_data_table\" and then checks if the\nrequested UTF-8 version is supported. If it\u0027s unsupported, it tries to\nput the data table using symbol_put(). If an unsupported version is\nrequested, symbol_put() fails like this:\n\n kernel BUG at kernel/module/main.c:786!\n RIP: 0010:__symbol_put+0x93/0xb0\n Call Trace:\n  \u003cTASK\u003e\n  ? __die_body.cold+0x19/0x27\n  ? die+0x2e/0x50\n  ? do_trap+0xca/0x110\n  ? do_error_trap+0x65/0x80\n  ? __symbol_put+0x93/0xb0\n  ? exc_invalid_op+0x51/0x70\n  ? __symbol_put+0x93/0xb0\n  ? asm_exc_invalid_op+0x1a/0x20\n  ? __pfx_cmp_name+0x10/0x10\n  ? __symbol_put+0x93/0xb0\n  ? __symbol_put+0x62/0xb0\n  utf8_load+0xf8/0x150\n\nThat happens because symbol_put() expects the unique string that\nidentify the symbol, instead of a pointer to the loaded symbol. Fix that\nby using such string."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-01-20T06:21:45.192Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4387cef540f36c2c9297460758cc2438305a24a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/c4b6c1781f6cc4e2283120ac8d873864b8056f21"
        },
        {
          "url": "https://git.kernel.org/stable/c/6504dd27123966dc455494cb55217c04ca479121"
        },
        {
          "url": "https://git.kernel.org/stable/c/89933f8ab3b4cad5ac14ea56a39947d1ffe7d0e3"
        },
        {
          "url": "https://git.kernel.org/stable/c/156bb2c569cd869583c593d27a5bd69e7b2a4264"
        }
      ],
      "title": "unicode: Fix utf8_load() error path",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-53233",
    "datePublished": "2024-12-27T13:50:20.220Z",
    "dateReserved": "2024-11-19T17:17:25.026Z",
    "dateUpdated": "2025-01-20T06:21:45.192Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-53233\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-12-27T14:15:31.630\",\"lastModified\":\"2024-12-27T14:15:31.630\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nunicode: Fix utf8_load() error path\\n\\nutf8_load() requests the symbol \\\"utf8_data_table\\\" and then checks if the\\nrequested UTF-8 version is supported. If it\u0027s unsupported, it tries to\\nput the data table using symbol_put(). If an unsupported version is\\nrequested, symbol_put() fails like this:\\n\\n kernel BUG at kernel/module/main.c:786!\\n RIP: 0010:__symbol_put+0x93/0xb0\\n Call Trace:\\n  \u003cTASK\u003e\\n  ? __die_body.cold+0x19/0x27\\n  ? die+0x2e/0x50\\n  ? do_trap+0xca/0x110\\n  ? do_error_trap+0x65/0x80\\n  ? __symbol_put+0x93/0xb0\\n  ? exc_invalid_op+0x51/0x70\\n  ? __symbol_put+0x93/0xb0\\n  ? asm_exc_invalid_op+0x1a/0x20\\n  ? __pfx_cmp_name+0x10/0x10\\n  ? __symbol_put+0x93/0xb0\\n  ? __symbol_put+0x62/0xb0\\n  utf8_load+0xf8/0x150\\n\\nThat happens because symbol_put() expects the unique string that\\nidentify the symbol, instead of a pointer to the loaded symbol. Fix that\\nby using such string.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/156bb2c569cd869583c593d27a5bd69e7b2a4264\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4387cef540f36c2c9297460758cc2438305a24a0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6504dd27123966dc455494cb55217c04ca479121\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/89933f8ab3b4cad5ac14ea56a39947d1ffe7d0e3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c4b6c1781f6cc4e2283120ac8d873864b8056f21\",\"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.