Bug 2334376 (CVE-2024-53233) - CVE-2024-53233 kernel: unicode: Fix utf8_load() error path
Summary: CVE-2024-53233 kernel: unicode: Fix utf8_load() error path
Keywords:
Status: NEW
Alias: CVE-2024-53233
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-27 14:02 UTC by OSIDB Bzimport
Modified: 2024-12-29 08:28 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-27 14:02:53 UTC
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.

Comment 1 Avinash Hanwate 2024-12-28 13:43:18 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122737-CVE-2024-53233-ab02@gregkh/T

Comment 3 Avinash Hanwate 2024-12-29 08:24:51 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122737-CVE-2024-53233-ab02@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.