CVE-2026-138822
publishedfbdev: smscufx: check for fb_deferred_io_init() error
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 1bdc84c2f4bc95053eb9dc377dddc693c9c882da · 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 76e1fc68b4c6147477b69542772ea2559d1342dc · 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 66863d15504d5c039a9c0cb57ea763253eaa3b33 · 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < b3b1f1fbf469983ef4f12510ac3b4468ded7b206 · 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 78e9ae9d0ff757e6f3d4477111f8d96d5ad028be · 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < db62efc3ecbd4447d90714a8c613955206179b33 · 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 4310425b130e4b66c4a8e02e9ed2e88afb265622 · 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 8ea6c6e77ccf887f3e68c64f4c261071a345da1e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.2 (affected) · 0 to < 3.2 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 1bdc84c2f4bc95053eb9dc377dddc693c9c882da (affected · git)3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 76e1fc68b4c6147477b69542772ea2559d1342dc (affected · git)3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 66863d15504d5c039a9c0cb57ea763253eaa3b33 (affected · git)3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < b3b1f1fbf469983ef4f12510ac3b4468ded7b206 (affected · git)3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 78e9ae9d0ff757e6f3d4477111f8d96d5ad028be (affected · git)3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < db62efc3ecbd4447d90714a8c613955206179b33 (affected · git)3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 4310425b130e4b66c4a8e02e9ed2e88afb265622 (affected · git)3c8a63e22a0802fd56380f6ab305b419f18eb6f5 to < 8ea6c6e77ccf887f3e68c64f4c261071a345da1e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.2 (affected)0 to < 3.2 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1bdc84c2f4bc95053eb9dc377dddc693c9c882da
- https://git.kernel.org/stable/c/4310425b130e4b66c4a8e02e9ed2e88afb265622
- https://git.kernel.org/stable/c/66863d15504d5c039a9c0cb57ea763253eaa3b33
- https://git.kernel.org/stable/c/76e1fc68b4c6147477b69542772ea2559d1342dc
- https://git.kernel.org/stable/c/78e9ae9d0ff757e6f3d4477111f8d96d5ad028be
- https://git.kernel.org/stable/c/8ea6c6e77ccf887f3e68c64f4c261071a345da1e
- https://git.kernel.org/stable/c/b3b1f1fbf469983ef4f12510ac3b4468ded7b206
- https://git.kernel.org/stable/c/db62efc3ecbd4447d90714a8c613955206179b33
Provider assertions
1Linux · cna
fbdev: smscufx: check for fb_deferred_io_init() error
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 97217fc0a15b3e86ebe8e96ce438ac38b9734789d684ea3a65c35c92a7584ecb
- Ingested
- 30 Nov 2026, 13:30:06 UTC
- Source record
- Official CVE record