[SRU][N/J/F][PATCH 0/1] CVE-2024-39484
Bethany Jamison
bethany.jamison at canonical.com
Fri Jul 19 19:23:02 UTC 2024
[Impact]
mmc: davinci: Don't strip remove function when driver is builtin
Using __exit for the remove function results in the remove callback being
discarded with CONFIG_MMC_DAVINCI=y. When such a device gets unbound (e.g.
using sysfs or hotplug), the driver is just removed without the cleanup
being performed. This results in resource leaks. Fix it by compiling in the
remove callback unconditionally.
[Fix]
Noble: Clean cherry-pick from linux-6.9.y
Jammy: Clean cherry-pick from linux-5.10.y
Focal: Jammy patch applied cleanly
Bionic: fix sent to esm ML
Xenial: fix sent to esm ML
Trusty: not going to be fixed by us
[Test Case]
Compile and boot tested
[Where problems could occur]
This fix affects those who use the Texas Instruments DaVinci MMC/SD/SDIO
driver, an issue with this fix would be visible to the user via a
decrease in system performance or a system crash.
Uwe Kleine-König (1):
mmc: davinci: Don't strip remove function when driver is builtin
drivers/mmc/host/davinci_mmc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--
2.34.1
More information about the kernel-team
mailing list