Uninitialized Value Access in Linux Kernel's NFC NCI Module

linux Updated 02 Oct 2025

Summary

21/06/2024
N/A
Yes i
High
7.1

CVE-2024-38381: 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... Affects linux versions < 5.10.221-1. Fixed in 5.10.221-1. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management, process scheduling, and system calls. The kernel supports various functionalities, including networking, file systems, and device drivers. The NFC (Near Field Communication) subsystem allows devices to communicate wirelessly over short distances. The vulnerability in question affects the NFC NCI (NFC Controller Interface) module, which is responsible for handling NFC communication. This vulnerability can lead to potential security risks if uninitialized values are accessed during packet processing.

Vulnerability Detail

In the Linux kernel, specifically within the NFC NCI module, an uninitialized value access vulnerability has been identified. This issue arises in the nci_rx_work() function, which processes received packets from the device's receive queue. If the header size, payload size, or total packet size is not validated before processing, it can lead to undefined behavior. The vulnerability was reported by syzbot and poses a risk of data corruption or system instability, as invalid packets may not be handled correctly.

How To Fix

Minimum fixed version

5.10.221-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, users can implement input validation checks in their applications that utilize the NFC NCI module to ensure that only valid packets are processed. This may involve checking the packet size and format before passing it to the nci_rx_work() function.

Conclusion

The CVE-2024-38381 vulnerability in the Linux kernel's NFC NCI module poses significant risks due to uninitialized value access. Users are strongly advised to update their kernel to the latest versions to mitigate these risks. Additionally, implementing input validation can serve as a temporary workaround until the system is updated.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2024-38381 is a vulnerability in the Linux kernel's NFC NCI module that allows for uninitialized value access, potentially leading to data corruption or system instability.

You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file like package-lock.json, you can check for vulnerabilities without needing to install any software.

If exploited, this vulnerability could lead to undefined behavior in the system, including data corruption and potential crashes.

Yes, the permanent fix is to update your Linux kernel to the specified versions that address this vulnerability.

The CVSS score of this vulnerability is 7.1, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

5.10.221-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.