fbdev: smscufx: check for fb_deferred_io_init() error
Summary
| CVE | CVE-2026-138822 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:17:36 UTC |
| Updated | 2026-11-30 14:17:36 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
fbdev: smscufx: 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 ufx_ops_open() 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.
fb_open() will then dereference a NULL pointer (calling
fb_deferred_io_open()) as soon as ufx_ops_open() returns.
Additionally, if the allocation of info->fbdefio itself fails,
ufx_ops_open() sets info->fbdefio to NULL and invokes
fb_deferred_io_init() regardless, hitting BUG_ON(!fbdefio).
Fix this by only invoking fb_deferred_io_init() if the allocation
succeeded, and checking for the error.
The driver already supports operating without deferred I/O, so in either
case fall back to that by setting info->fbdefio to NULL.
The ignored return value was introduced in commit 56c134f7f1b5 ("fbdev:
Track deferred-I/O pages in pageref struct").
However, the BUG_ON() issue originates from the earlier
commit 3c8a63e22a08 ("Add support for SMSC UFX6000/7000 USB display
adapters"), so target that for the fix. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 1bdc84c2f4bc95053eb9dc377dddc693c9c882da git |
Not specified |
| CNA |
Linux |
Linux |
affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 76e1fc68b4c6147477b69542772ea2559d1342dc git |
Not specified |
| CNA |
Linux |
Linux |
affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 66863d15504d5c039a9c0cb57ea763253eaa3b33 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 b3b1f1fbf469983ef4f12510ac3b4468ded7b206 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 78e9ae9d0ff757e6f3d4477111f8d96d5ad028be git |
Not specified |
| CNA |
Linux |
Linux |
affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 db62efc3ecbd4447d90714a8c613955206179b33 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 4310425b130e4b66c4a8e02e9ed2e88afb265622 git |
Not specified |
| CNA |
Linux |
Linux |
affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 8ea6c6e77ccf887f3e68c64f4c261071a345da1e git |
Not specified |
| CNA |
Linux |
Linux |
affected 3.2 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 3.2 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/66863d15504d5c039a9c0cb57ea763253eaa3b33 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/76e1fc68b4c6147477b69542772ea2559d1342dc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/b3b1f1fbf469983ef4f12510ac3b4468ded7b206 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/4310425b130e4b66c4a8e02e9ed2e88afb265622 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/1bdc84c2f4bc95053eb9dc377dddc693c9c882da |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/db62efc3ecbd4447d90714a8c613955206179b33 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/78e9ae9d0ff757e6f3d4477111f8d96d5ad028be |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/8ea6c6e77ccf887f3e68c64f4c261071a345da1e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.