CVE-2023-52524
📋 TL;DR
A race condition vulnerability in the Linux kernel's NFC LLCP subsystem allows local attackers to corrupt the device list by modifying it without proper locking. This affects Linux systems with NFC functionality enabled, potentially leading to denial of service or privilege escalation. The vulnerability requires local access to exploit.
💻 Affected Systems
- Linux Kernel
📦 What is this software?
Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →Linux Kernel by Linux
The Linux Kernel is the core component of the Linux operating system, serving as the critical interface between computer hardware and software processes. As the heart of millions of servers, cloud infrastructure, embedded systems, Android devices, and IoT deployments worldwide, the Linux Kernel mana...
Learn more about Linux Kernel →⚠️ Risk & Real-World Impact
Worst Case
Kernel panic or system crash leading to denial of service, or potential privilege escalation if combined with other vulnerabilities.
Likely Case
System instability, kernel crashes, or denial of service affecting NFC functionality.
If Mitigated
Minimal impact if NFC is disabled or proper access controls restrict local user privileges.
🎯 Exploit Status
Exploitation requires local access and knowledge of race condition timing. Syzbot discovered the issue through fuzzing.
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: Patched in stable kernel commits: 191d87a19cf1, 29c16c2bf586, 4837a192f6d0, 7562780e32b8, dba849cc9811
Vendor Advisory: https://git.kernel.org/stable/c/191d87a19cf1005ecf41e1ae08d74e17379e8391
Restart Required: Yes
Instructions:
1. Update to a patched Linux kernel version containing the fixes. 2. Check your distribution's security advisories for specific package updates. 3. Reboot the system after kernel update.
🔧 Temporary Workarounds
Disable NFC functionality
linuxRemove or disable NFC kernel modules if not needed
rmmod nfc
rmmod llcp
echo 'blacklist nfc' >> /etc/modprobe.d/blacklist.conf
echo 'blacklist llcp' >> /etc/modprobe.d/blacklist.conf
🧯 If You Can't Patch
- Disable NFC functionality if not required for system operation
- Restrict local user access and implement strict privilege separation
🔍 How to Verify
Check if Vulnerable:
Check if NFC modules are loaded: lsmod | grep -E 'nfc|llcp'. Check kernel version against patched versions.
Check Version:
uname -r
Verify Fix Applied:
Verify kernel version is updated to include the fix commits. Check that NFC modules can be loaded without issues.
📡 Detection & Monitoring
Log Indicators:
- Kernel panic messages
- System crash logs
- NFC-related error messages in dmesg
Network Indicators:
- None - this is a local vulnerability
SIEM Query:
Search for kernel panic events or NFC module crash logs in system logs
🔗 References
- https://git.kernel.org/stable/c/191d87a19cf1005ecf41e1ae08d74e17379e8391
- https://git.kernel.org/stable/c/29c16c2bf5866326d5fbc4a537b3997fcac23391
- https://git.kernel.org/stable/c/4837a192f6d06d5bb2f3f47d6ce5353ab69bf86b
- https://git.kernel.org/stable/c/7562780e32b84196731d57dd24563546fcf6d082
- https://git.kernel.org/stable/c/dba849cc98113b145c6e720122942c00b8012bdb
- https://git.kernel.org/stable/c/dfc7f7a988dad34c3bf4c053124fb26aa6c5f916
- https://git.kernel.org/stable/c/191d87a19cf1005ecf41e1ae08d74e17379e8391
- https://git.kernel.org/stable/c/29c16c2bf5866326d5fbc4a537b3997fcac23391
- https://git.kernel.org/stable/c/4837a192f6d06d5bb2f3f47d6ce5353ab69bf86b
- https://git.kernel.org/stable/c/7562780e32b84196731d57dd24563546fcf6d082
- https://git.kernel.org/stable/c/dba849cc98113b145c6e720122942c00b8012bdb
- https://git.kernel.org/stable/c/dfc7f7a988dad34c3bf4c053124fb26aa6c5f916