CVE-2023-52507 nfc: nci: assert requested protocol is valid
A missing bounds check in the Linux kernel NFC driver allows an out-of-bounds shift, potentially causing a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52507?
CVE-2023-52507 is a high-severity vulnerability in Linux kernel, published on 2 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
nfc: nci: assert requested protocol is valid
The protocol is used in a bit mask to determine if the protocol is supported. Assert the provided protocol is less than the maximum defined so it doesn't potentially perform a shift-out-of-bounds and provide a clearer error for undefined protocols vs unsupported ones.
Weakness: CWE-125
Which versions are affected by CVE-2023-52507?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2023-52507?
Apply the vendor's patch.
Is CVE-2023-52507 being exploited?
There is no known exploitation of CVE-2023-52507 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2023-52507, DEBIAN-CVE-2023-52507, GHSA-h7jr-j6p8-85m6, UBUNTU-CVE-2023-52507.