CVE-2024-53233

unicode: Fix utf8_load() error path

State
Published
Severity
5.5 Medium
Published
Dec 27, 2024
Updated
May 11, 2026
Reserved
Nov 19, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 2b3d047870120bcd46d7cc257d19ff49328fd585 to before 4387cef540f36c2c9297460758cc2438305a24a0Affected
  • 2b3d047870120bcd46d7cc257d19ff49328fd585 to before c4b6c1781f6cc4e2283120ac8d873864b8056f21Affected
  • 2b3d047870120bcd46d7cc257d19ff49328fd585 to before 6504dd27123966dc455494cb55217c04ca479121Affected
  • 2b3d047870120bcd46d7cc257d19ff49328fd585 to before 89933f8ab3b4cad5ac14ea56a39947d1ffe7d0e3Affected
  • 2b3d047870120bcd46d7cc257d19ff49328fd585 to before 156bb2c569cd869583c593d27a5bd69e7b2a4264Affected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.64 through 6.6.*Not affected
  • 6.11.11 through 6.11.*Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.