CVE-2024-53203·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: usb: typec: fix potential array underflow in ucsi_ccg_sync_control() The "command" variable can be controlled by the user via debugfs. The worry is that if con_index is zero then "&uc->ucsi->connector[con_index - 1]" would be an array underflow.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.2
- Published
- 2024-12-27
Affected versions
From: 6.12
Until: 6.12.2
Fixed in: 6.12.2
How to fix this CVE
Update your Linux kernel to version 6.12.2 or later to patch an array underflow vulnerability in the USB Type-C controller driver. This vulnerability allows local users with debugfs access to trigger memory corruption through improper connector index validation. Immediate patching is recommended for systems exposing debugfs to untrusted users.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check the currently running kernel version and verify it is 6.12.2 or later
- Check if debugfs is mounted with 'mount | grep debugfs' — if present, verify permissions with 'ls -la /sys/kernel/debug/' to see if non-root access is restricted
- Search system logs for ucsi_ccg or USB Type-C driver errors using 'grep -i "ucsi\|typec" /var/log/kern.log /var/log/messages'
- Verify the patch was applied by checking kernel release with 'cat /proc/version' and confirming it shows 6.12.2 or later
FAQ
What is CVE-2024-53203?
CVE-2024-53203 is an array underflow vulnerability in the Linux kernel's USB Type-C UCSI controller driver that occurs when a connector index is decremented without proper bounds checking, potentially allowing local attackers with debugfs access to corrupt kernel memory.
Is CVE-2024-53203 being actively exploited?
No, CVE-2024-53203 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-53203?
Linux kernel versions 6.12 through 6.12.1 are affected; the vulnerability is fixed in kernel 6.12.2 and later.
How do I check if my server is vulnerable to CVE-2024-53203?
Run 'uname -r' to retrieve your kernel version. If it shows 6.12 or 6.12.1, you are vulnerable. Also verify debugfs access with 'ls -la /sys/kernel/debug/' — if non-root users can read it, the risk is elevated.
Does Defensia detect CVE-2024-53203?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server running version 6.12–6.12.1, CVE-2024-53203 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0e66fd8e5a2e45c7dacfc9178ba702153f4a61a8
- https://git.kernel.org/stable/c/56971710cd541f2f05160a84b3183477d34a1be9
- https://git.kernel.org/stable/c/627c2a5056aba42a8a96a8fffe8996aeccf919a9
- https://git.kernel.org/stable/c/e15fd96c0b701c53f9006bcc836eaeb35a05a023
- https://git.kernel.org/stable/c/e44189455c62469eb91d383ce9103d54c1f807a3
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-53203. Free for 1 server.
Get started free