CVE-2024-38381 nfc: nci: Fix uninit-value in nci_rx_work
A local attacker can trigger an uninitialized value read in the Linux kernel NFC driver, potentially leaking sensitive memory contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-38381?
CVE-2024-38381 is a high-severity vulnerability in Linux kernel, published on 21 Jun 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: Fix uninit-value in nci_rx_work
syzbot reported the following uninit-value access issue [1]
nci_rx_work() parses received packet from ndev->rx_q. It should be validated header size, payload size and total packet size before processing the packet. If an invalid packet is detected, it should be silently discarded.
Weakness: CWE-908
Which versions are affected by CVE-2024-38381?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-38381?
Apply the vendor's patch.
Is CVE-2024-38381 being exploited?
There is no known exploitation of CVE-2024-38381 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-48945, AZL-48965, BELL-CVE-2024-38381, DEBIAN-CVE-2024-38381, GHSA-238v-q38r-8xqp, UBUNTU-CVE-2024-38381.