CVE-2024-38381
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-38381 is a vulnerability in the Linux kernel's NFC (Near Field Communication) NCI (NFC Controller Interface) subsystem. The issue was discovered by syzbot and involves an uninitialized value access in the ncirxwork function. The vulnerability was reported on June 21, 2024, affecting various Linux kernel versions (Ubuntu Security).

Technical details

The vulnerability exists in the ncirxwork() function which parses received packets from ndev->rxq. The issue stems from insufficient validation of packet sizes before processing, specifically the header size, payload size, and total packet size. The vulnerability was fixed by implementing proper size validation through a new ncivalid_size() function that checks these parameters before packet processing (Kernel Git).

Impact

When an invalid packet is received, it could lead to an uninitialized value being accessed, potentially causing memory corruption or system instability. The vulnerability has been assigned a CVSS 3 Severity Score of 7.1 (High) (Ubuntu Security).

Mitigation and workarounds

The issue has been fixed in multiple Linux kernel versions including 6.8.0-44.44 for Ubuntu 24.04 LTS, 5.15.0-121.131 for Ubuntu 22.04 LTS, and 5.4.0-192.212 for Ubuntu 20.04 LTS. The fix involves implementing proper packet size validation before processing, and invalid packets are now silently discarded (Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-devel
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • bpftool
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-trace
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-headers
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management