CVE-2023-54248
Description
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: Add check for kmemdup
Since the kmemdup may return NULL pointer, it should be better to add check for the return value in order to avoid NULL pointer dereference.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
In the Linux kernel's NTFS3 filesystem driver, kmemdup return value is unchecked, leading to a potential NULL pointer dereference.
Vulnerability
Overview
CVE-2023-54247 describes a missing return-value check in the Linux kernel's NTFS3 filesystem driver (fs/ntfs3). The function kmemdup is called without verifying that the returned pointer is non-NULL. If memory allocation fails, kmemdup returns NULL, and the subsequent use of that pointer will cause a NULL pointer dereference.
Exploitation and
Impact
An attacker with the ability to trigger the vulnerable code path (e.g., by mounting a crafted NTFS volume) could cause a denial of service (system crash) via the NULL pointer dereference. No special privileges beyond the ability to mount filesystems are likely required.
Mitigation
The fix, committed to the Linux kernel stable branches, adds an explicit check for the return value of kmemdup, ensuring that if a NULL is returned, the operation is safely aborted before any dereference occurs [1][2][3]. Users should apply the relevant kernel update.
AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
1Patches
5952bbfcedbf87898db22ed6c9f36704a58adcdcdfd57f4c7e6c3cef24cb0Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- git.kernel.org/stable/c/7898db22ed6cee909513cf4935b5f9f0298b74f0nvd
- git.kernel.org/stable/c/952bbfcedbf895963509861e55a6e4fc105eb842nvd
- git.kernel.org/stable/c/9f36704a58adade3b0216f8a3fa5503db4517208nvd
- git.kernel.org/stable/c/cdcdfd57f4c701f832787da1309cc6687917d783nvd
- git.kernel.org/stable/c/e6c3cef24cb0d045f99d5cb039b344874e3cfd74nvd
News mentions
0No linked articles in our index yet.