[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100104-CVE-2023-53453-c36d@gregkh>
Date: Wed, 1 Oct 2025 13:42:23 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53453: drm/radeon: free iio for atombios when driver shutdown
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/radeon: free iio for atombios when driver shutdown
Fix below kmemleak when unload radeon driver:
unreferenced object 0xffff9f8608ede200 (size 512):
comm "systemd-udevd", pid 326, jiffies 4294682822 (age 716.338s)
hex dump (first 32 bytes):
00 00 00 00 c4 aa ec aa 14 ab 00 00 00 00 00 00 ................
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
backtrace:
[<0000000062fadebe>] kmem_cache_alloc_trace+0x2f1/0x500
[<00000000b6883cea>] atom_parse+0x117/0x230 [radeon]
[<00000000158c23fd>] radeon_atombios_init+0xab/0x170 [radeon]
[<00000000683f672e>] si_init+0x57/0x750 [radeon]
[<00000000566cc31f>] radeon_device_init+0x559/0x9c0 [radeon]
[<0000000046efabb3>] radeon_driver_load_kms+0xc1/0x1a0 [radeon]
[<00000000b5155064>] drm_dev_register+0xdd/0x1d0
[<0000000045fec835>] radeon_pci_probe+0xbd/0x100 [radeon]
[<00000000e69ecca3>] pci_device_probe+0xe1/0x160
[<0000000019484b76>] really_probe.part.0+0xc1/0x2c0
[<000000003f2649da>] __driver_probe_device+0x96/0x130
[<00000000231c5bb1>] driver_probe_device+0x24/0xf0
[<0000000000a42377>] __driver_attach+0x77/0x190
[<00000000d7574da6>] bus_for_each_dev+0x7f/0xd0
[<00000000633166d2>] driver_attach+0x1e/0x30
[<00000000313b05b8>] bus_add_driver+0x12c/0x1e0
iio was allocated in atom_index_iio() called by atom_parse(),
but it doesn't got released when the dirver is shutdown.
Fix this kmemleak by free it in radeon_atombios_fini().
The Linux kernel CVE team has assigned CVE-2023-53453 to this issue.
Affected and fixed versions
===========================
Fixed in 4.14.308 with commit cb109cedbba11c33473e6780c256d8442a9e4460
Fixed in 4.19.276 with commit 9cdb96b55651c92fc949cfd54124406c3c912b6b
Fixed in 5.4.235 with commit f9f55fc64928b5e30d78f861c5fc76db9e769ebb
Fixed in 5.10.173 with commit ce9e9d3dcbb0d1551ffd1a7f16e7c051f3ba4140
Fixed in 5.15.99 with commit cda2f7efbc2d857220dad32e315a54565b285c1c
Fixed in 6.1.16 with commit 107b8b542bb9dab4cbdc3276c85fbdd7f6782313
Fixed in 6.2.3 with commit e2791f2f4d1d804e45fa91b14295c326b64c65f1
Fixed in 6.3 with commit 4773fadedca918faec443daaca5e4ea1c0ced144
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-53453
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/radeon/radeon_device.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/cb109cedbba11c33473e6780c256d8442a9e4460
https://git.kernel.org/stable/c/9cdb96b55651c92fc949cfd54124406c3c912b6b
https://git.kernel.org/stable/c/f9f55fc64928b5e30d78f861c5fc76db9e769ebb
https://git.kernel.org/stable/c/ce9e9d3dcbb0d1551ffd1a7f16e7c051f3ba4140
https://git.kernel.org/stable/c/cda2f7efbc2d857220dad32e315a54565b285c1c
https://git.kernel.org/stable/c/107b8b542bb9dab4cbdc3276c85fbdd7f6782313
https://git.kernel.org/stable/c/e2791f2f4d1d804e45fa91b14295c326b64c65f1
https://git.kernel.org/stable/c/4773fadedca918faec443daaca5e4ea1c0ced144
Powered by blists - more mailing lists