CVE-2026-138824
fbdev: xen-fbfront: check for fb_deferred_io_init() error
Description
In the Linux kernel, the following vulnerability has been resolved: fbdev: xen-fbfront: check for fb_deferred_io_init() error fb_deferred_io_init() allocates deferred I/O state, populating info->fbdefio_state, or leaving it NULL if an error occurs. Currently xenfb_probe() ignores its return value. Therefore if an error arises in fb_deferred_io_init() (for instance, due to an allocation failure) info->fbdefio_state is left NULL. When the file is subsequently opened, fb_open() will dereference a NULL pointer (calling fb_deferred_io_open()). Fix this by checking for the error.
INFO
Published Date :
Nov. 30, 2026, 2:17 p.m.
Last Modified :
Nov. 30, 2026, 2:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Check for errors from fb_deferred_io_init().
- Handle allocation failures in xenfb_probe().
- Prevent NULL pointer dereference in fb_open().
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-138824.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-138824 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-138824
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-138824 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-138824 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: fbdev: xen-fbfront: check for fb_deferred_io_init() error fb_deferred_io_init() allocates deferred I/O state, populating info->fbdefio_state, or leaving it NULL if an error occurs. Currently xenfb_probe() ignores its return value. Therefore if an error arises in fb_deferred_io_init() (for instance, due to an allocation failure) info->fbdefio_state is left NULL. When the file is subsequently opened, fb_open() will dereference a NULL pointer (calling fb_deferred_io_open()). Fix this by checking for the error. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/138xxx/CVE-2026-138824.json">CVE-2026-138824</a> Added Reference https://git.kernel.org/stable/c/20bd45d774b79d90842c394eb8f2fd8932c00294 Added Reference https://git.kernel.org/stable/c/42271c979961a5e58c59791328e869521ea9fa31 Added Reference https://git.kernel.org/stable/c/4f511fa01d682c50f6c9e1c71fe5c98efa113cdd Added Reference https://git.kernel.org/stable/c/5b234b0dd29d79207c059c7b40851dd1e934fa3a Added Reference https://git.kernel.org/stable/c/6699431359c8d6dd50b94eeb31f29ed2219ff03c Added Reference https://git.kernel.org/stable/c/97548e8160cbc433bd66cdc6d974018ffc2922e5 Added Reference https://git.kernel.org/stable/c/99059dc7ee7bd0f4d9a695a7404e80efac5fdde3