{"api_version":"1","generated_at":"2026-12-01T13:19:08+00:00","cve":"CVE-2026-138822","urls":{"html":"https://cve.report/CVE-2026-138822","api":"https://cve.report/api/cve/CVE-2026-138822.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-138822","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-138822"},"summary":{"title":"fbdev: smscufx: check for fb_deferred_io_init() error","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: smscufx: check for fb_deferred_io_init() error\n\nfb_deferred_io_init() allocates deferred I/O state, populating\ninfo->fbdefio_state, or leaving it NULL if an error occurs.\n\nCurrently ufx_ops_open() ignores its return value.\n\nTherefore if an error arises in fb_deferred_io_init() (for instance, due to\nan allocation failure) info->fbdefio_state is left NULL.\n\nfb_open() will then dereference a NULL pointer (calling\nfb_deferred_io_open()) as soon as ufx_ops_open() returns.\n\nAdditionally, if the allocation of info->fbdefio itself fails,\nufx_ops_open() sets info->fbdefio to NULL and invokes\nfb_deferred_io_init() regardless, hitting BUG_ON(!fbdefio).\n\nFix this by only invoking fb_deferred_io_init() if the allocation\nsucceeded, and checking for the error.\n\nThe driver already supports operating without deferred I/O, so in either\ncase fall back to that by setting info->fbdefio to NULL.\n\nThe ignored return value was introduced in commit 56c134f7f1b5 (\"fbdev:\nTrack deferred-I/O pages in pageref struct\").\n\nHowever, the BUG_ON() issue originates from the earlier\ncommit 3c8a63e22a08 (\"Add support for SMSC UFX6000/7000 USB display\nadapters\"), so target that for the fix.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:17:36","updated_at":"2026-11-30 14:17:36"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/66863d15504d5c039a9c0cb57ea763253eaa3b33","name":"https://git.kernel.org/stable/c/66863d15504d5c039a9c0cb57ea763253eaa3b33","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/76e1fc68b4c6147477b69542772ea2559d1342dc","name":"https://git.kernel.org/stable/c/76e1fc68b4c6147477b69542772ea2559d1342dc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b3b1f1fbf469983ef4f12510ac3b4468ded7b206","name":"https://git.kernel.org/stable/c/b3b1f1fbf469983ef4f12510ac3b4468ded7b206","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4310425b130e4b66c4a8e02e9ed2e88afb265622","name":"https://git.kernel.org/stable/c/4310425b130e4b66c4a8e02e9ed2e88afb265622","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1bdc84c2f4bc95053eb9dc377dddc693c9c882da","name":"https://git.kernel.org/stable/c/1bdc84c2f4bc95053eb9dc377dddc693c9c882da","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/db62efc3ecbd4447d90714a8c613955206179b33","name":"https://git.kernel.org/stable/c/db62efc3ecbd4447d90714a8c613955206179b33","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/78e9ae9d0ff757e6f3d4477111f8d96d5ad028be","name":"https://git.kernel.org/stable/c/78e9ae9d0ff757e6f3d4477111f8d96d5ad028be","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8ea6c6e77ccf887f3e68c64f4c261071a345da1e","name":"https://git.kernel.org/stable/c/8ea6c6e77ccf887f3e68c64f4c261071a345da1e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-138822","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138822","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 1bdc84c2f4bc95053eb9dc377dddc693c9c882da git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 76e1fc68b4c6147477b69542772ea2559d1342dc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 66863d15504d5c039a9c0cb57ea763253eaa3b33 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 b3b1f1fbf469983ef4f12510ac3b4468ded7b206 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 78e9ae9d0ff757e6f3d4477111f8d96d5ad028be git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 db62efc3ecbd4447d90714a8c613955206179b33 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 4310425b130e4b66c4a8e02e9ed2e88afb265622 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3c8a63e22a0802fd56380f6ab305b419f18eb6f5 8ea6c6e77ccf887f3e68c64f4c261071a345da1e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 3.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/video/fbdev/smscufx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1bdc84c2f4bc95053eb9dc377dddc693c9c882da","status":"affected","version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","versionType":"git"},{"lessThan":"76e1fc68b4c6147477b69542772ea2559d1342dc","status":"affected","version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","versionType":"git"},{"lessThan":"66863d15504d5c039a9c0cb57ea763253eaa3b33","status":"affected","version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","versionType":"git"},{"lessThan":"b3b1f1fbf469983ef4f12510ac3b4468ded7b206","status":"affected","version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","versionType":"git"},{"lessThan":"78e9ae9d0ff757e6f3d4477111f8d96d5ad028be","status":"affected","version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","versionType":"git"},{"lessThan":"db62efc3ecbd4447d90714a8c613955206179b33","status":"affected","version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","versionType":"git"},{"lessThan":"4310425b130e4b66c4a8e02e9ed2e88afb265622","status":"affected","version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","versionType":"git"},{"lessThan":"8ea6c6e77ccf887f3e68c64f4c261071a345da1e","status":"affected","version":"3c8a63e22a0802fd56380f6ab305b419f18eb6f5","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/video/fbdev/smscufx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"3.2"},{"lessThan":"3.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"3.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"3.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: smscufx: check for fb_deferred_io_init() error\n\nfb_deferred_io_init() allocates deferred I/O state, populating\ninfo->fbdefio_state, or leaving it NULL if an error occurs.\n\nCurrently ufx_ops_open() ignores its return value.\n\nTherefore if an error arises in fb_deferred_io_init() (for instance, due to\nan allocation failure) info->fbdefio_state is left NULL.\n\nfb_open() will then dereference a NULL pointer (calling\nfb_deferred_io_open()) as soon as ufx_ops_open() returns.\n\nAdditionally, if the allocation of info->fbdefio itself fails,\nufx_ops_open() sets info->fbdefio to NULL and invokes\nfb_deferred_io_init() regardless, hitting BUG_ON(!fbdefio).\n\nFix this by only invoking fb_deferred_io_init() if the allocation\nsucceeded, and checking for the error.\n\nThe driver already supports operating without deferred I/O, so in either\ncase fall back to that by setting info->fbdefio to NULL.\n\nThe ignored return value was introduced in commit 56c134f7f1b5 (\"fbdev:\nTrack deferred-I/O pages in pageref struct\").\n\nHowever, the BUG_ON() issue originates from the earlier\ncommit 3c8a63e22a08 (\"Add support for SMSC UFX6000/7000 USB display\nadapters\"), so target that for the fix."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:25:18.504Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/1bdc84c2f4bc95053eb9dc377dddc693c9c882da"},{"url":"https://git.kernel.org/stable/c/76e1fc68b4c6147477b69542772ea2559d1342dc"},{"url":"https://git.kernel.org/stable/c/66863d15504d5c039a9c0cb57ea763253eaa3b33"},{"url":"https://git.kernel.org/stable/c/b3b1f1fbf469983ef4f12510ac3b4468ded7b206"},{"url":"https://git.kernel.org/stable/c/78e9ae9d0ff757e6f3d4477111f8d96d5ad028be"},{"url":"https://git.kernel.org/stable/c/db62efc3ecbd4447d90714a8c613955206179b33"},{"url":"https://git.kernel.org/stable/c/4310425b130e4b66c4a8e02e9ed2e88afb265622"},{"url":"https://git.kernel.org/stable/c/8ea6c6e77ccf887f3e68c64f4c261071a345da1e"}],"title":"fbdev: smscufx: check for fb_deferred_io_init() error","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-138822","datePublished":"2026-11-30T13:25:18.504Z","dateReserved":"2026-11-30T13:22:15.896Z","dateUpdated":"2026-11-30T13:25:18.504Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:17:36","lastModifiedDate":"2026-11-30 14:17:36","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"138822","Ordinal":"1","Title":"fbdev: smscufx: check for fb_deferred_io_init() error","CVE":"CVE-2026-138822","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"138822","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: smscufx: check for fb_deferred_io_init() error\n\nfb_deferred_io_init() allocates deferred I/O state, populating\ninfo->fbdefio_state, or leaving it NULL if an error occurs.\n\nCurrently ufx_ops_open() ignores its return value.\n\nTherefore if an error arises in fb_deferred_io_init() (for instance, due to\nan allocation failure) info->fbdefio_state is left NULL.\n\nfb_open() will then dereference a NULL pointer (calling\nfb_deferred_io_open()) as soon as ufx_ops_open() returns.\n\nAdditionally, if the allocation of info->fbdefio itself fails,\nufx_ops_open() sets info->fbdefio to NULL and invokes\nfb_deferred_io_init() regardless, hitting BUG_ON(!fbdefio).\n\nFix this by only invoking fb_deferred_io_init() if the allocation\nsucceeded, and checking for the error.\n\nThe driver already supports operating without deferred I/O, so in either\ncase fall back to that by setting info->fbdefio to NULL.\n\nThe ignored return value was introduced in commit 56c134f7f1b5 (\"fbdev:\nTrack deferred-I/O pages in pageref struct\").\n\nHowever, the BUG_ON() issue originates from the earlier\ncommit 3c8a63e22a08 (\"Add support for SMSC UFX6000/7000 USB display\nadapters\"), so target that for the fix.","Type":"Description","Title":"fbdev: smscufx: check for fb_deferred_io_init() error"}]}}}