CVE-2024-56576: media: i2c: tc358743: Fix crash in the probe error path when using polling
In the Linux kernel, the following vulnerability has been resolved:
media: i2c: tc358743: Fix crash in the probe error path when using polling
If an error occurs in the probe() function, we should remove the polling timer that was alarmed earlier, otherwise the timer is called with arguments that are already freed, which results in a crash.
------------[ cut here ]------------ WARNING: CPU: 3 PID: 0 at kernel/time/timer.c:1830 runtimers+0x244/0x268 Modules linked in: CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.11.0 #226 Hardware name: Diasom DS-RK3568-SOM-EVB (DT) pstate: 804000c9 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : runtimers+0x244/0x268 lr : runtimers+0x1d4/0x268 sp : ffffff80eff2baf0 x29: ffffff80eff2bb50 x28: 7fffffffffffffff x27: ffffff80eff2bb00 x26: ffffffc080f669c0 x25: ffffff80efef6bf0 x24: ffffff80eff2bb00 x23: 0000000000000000 x22: dead000000000122 x21: 0000000000000000 x20: ffffff80efef6b80 x19: ffffff80041c8bf8 x18: ffffffffffffffff x17: ffffffc06f146000 x16: ffffff80eff27dc0 x15: 000000000000003e x14: 0000000000000000 x13: 00000000000054da x12: 0000000000000000 x11: 00000000000639c0 x10: 000000000000000c x9 : 0000000000000009 x8 : ffffff80eff2cb40 x7 : ffffff80eff2cb40 x6 : ffffff8002bee480 x5 : ffffffc080cb2220 x4 : ffffffc080cb2150 x3 : 00000000000f4240 x2 : 0000000000000102 x1 : ffffff80eff2bb00 x0 : ffffff80041c8bf0 Call trace: runtimers+0x244/0x268 timerexpireremote+0x50/0x68 tmigrhandleremote+0x388/0x39c runtimersoftirq+0x38/0x44 handlesoftirqs+0x138/0x298 dosoftirq+0x14/0x20 dosoftirq+0x10/0x1c callonirqstack+0x24/0x4c dosoftirqownstack+0x1c/0x2c irqexitrcu+0x9c/0xcc el1interrupt+0x48/0xc0 el1h64irqhandler+0x18/0x24 el1h64irq+0x7c/0x80 defaultidlecall+0x34/0x68 doidle+0x23c/0x294 cpustartupentry+0x38/0x3c secondarystartkernel+0x128/0x160 secondaryswitched+0xb8/0xbc ---[ end trace 0000000000000000 ]---
Other sources
This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1 - Upgrade
Upgrade
debian/linux-6.1to a version that resolves this vulnerability.Fixed in 6.1.129-1~deb11u1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56576?
CVE-2024-56576 is considered a moderate severity vulnerability in the Linux kernel.
How do I fix CVE-2024-56576?
To fix CVE-2024-56576, upgrade to the patched versions of the Linux kernel, including 5.10.234-1 or later.
What systems are affected by CVE-2024-56576?
CVE-2024-56576 affects various versions of the Linux kernel, specifically those prior to patched versions like 5.10.234-1.
What type of vulnerability is CVE-2024-56576?
CVE-2024-56576 is a crash vulnerability related to error handling in the probe function of the Linux kernel.
Is there a specific kernel version recommended to mitigate CVE-2024-56576?
Yes, it is recommended to use Linux kernel version 6.1.129-1 or higher to mitigate CVE-2024-56576.