CVE-2024-36915: Vulnerability in linux-libc-dev package - Unsafe copies in nfc_llcp_setsockopt()
Summary
CVE-2024-36915: In the Linux kernel, the following vulnerability has been resolved: nfc: llcp: fix nfc_llcp_setsockopt() unsafe copies syzbot reported unsafe calls to copy_from_sockptr() [1] Use copy_safe_from_sockptr() instead. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling programs that use the Linux kernel's C library interface. It is an essential component for building and running applications on Linux systems. The package is widely used and is included in various Linux distributions.
This vulnerability affects the linux-libc-dev package version 6.1.90-1.
Vulnerability Detail
The vulnerability in the linux-libc-dev package (version 6.1.90-1) is related to the nfc_llcp_setsockopt() function in the kernel's nfc subsystem. The function was found to have unsafe copies, which could lead to slab-out-of-bounds bugs and potential memory corruption.
An attacker could exploit this vulnerability by sending specially crafted network packets to a vulnerable system, potentially resulting in a denial of service (DoS) or arbitrary code execution.
The vulnerability has a CVSS score of 5.5, indicating a medium severity level.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
There is no known workaround for this vulnerability at the moment. It is recommended to apply the official patch as soon as possible.
Conclusion
The linux-libc-dev package version 6.1.90-1 is affected by a vulnerability that could potentially allow an attacker to execute arbitrary code or cause a denial of service. It is recommended to update the package to a patched version as soon as possible. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for linux →
FAQ
The linux-libc-dev package is a development package that provides the necessary header files and libraries for compiling programs that use the Linux kernel's C library interface.
This vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial of service on a vulnerable system.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and the Vulert Playground will provide real-time alerts for open-source vulnerabilities.
Currently, there is no known workaround for this vulnerability. It is recommended to apply the official patch as soon as possible.
You can find more information about this vulnerability on the Debian Security Tracker (https://salsa.debian.org/security-tracker-team/security-tracker) and the National Vulnerability Database (https://nvd.nist.gov/vuln/detail/CVE-2024-36915).
Related vulnerabilities
Recent vulnerabilities recorded for linux.