{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138823","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.896Z","datePublished":"2026-11-30T13:25:19.070Z","dateUpdated":"2026-11-30T13:25:19.070Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:25:19.070Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: udlfb: 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 dlfb_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 dlfb_ops_open() returns.\n\nAdditionally, if the allocation of info->fbdefio itself fails,\ndlfb_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 5bea1fbf9423 (\"staging: udlfb: fix incorrect fb_defio\nimplementation for multiple framebuffers\"), so target that for the fix."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/udlfb.c"],"versions":[{"version":"5bea1fbf942363e4114a086aefc67cdca21be7f0","lessThan":"04e56b8f72c6dd7378d394a84d218ac2631f7bcc","status":"affected","versionType":"git"},{"version":"5bea1fbf942363e4114a086aefc67cdca21be7f0","lessThan":"a88b2d3c78d92a3c4ff7fdfff6c5c322283f0e33","status":"affected","versionType":"git"},{"version":"5bea1fbf942363e4114a086aefc67cdca21be7f0","lessThan":"1efe1012f6c2790f8c75034dbd0ce7cddd2f1d89","status":"affected","versionType":"git"},{"version":"5bea1fbf942363e4114a086aefc67cdca21be7f0","lessThan":"49e594079d7e741016ca4bd70c40964bc75cc72d","status":"affected","versionType":"git"},{"version":"5bea1fbf942363e4114a086aefc67cdca21be7f0","lessThan":"33763f4ec91602db6bc21633b18e563ae1b1b44e","status":"affected","versionType":"git"},{"version":"5bea1fbf942363e4114a086aefc67cdca21be7f0","lessThan":"b4165e730e7807b90fd1b0e847f7fb826c674027","status":"affected","versionType":"git"},{"version":"5bea1fbf942363e4114a086aefc67cdca21be7f0","lessThan":"b8d058d9520315db836b07c4d0ef04d170b9f9a5","status":"affected","versionType":"git"},{"version":"5bea1fbf942363e4114a086aefc67cdca21be7f0","lessThan":"eae055f33e41e1d3e1a7e905bdcb1e9f196ed31d","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/video/fbdev/udlfb.c"],"versions":[{"version":"2.6.37","status":"affected"},{"version":"0","lessThan":"2.6.37","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.12.117"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.37","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/04e56b8f72c6dd7378d394a84d218ac2631f7bcc"},{"url":"https://git.kernel.org/stable/c/a88b2d3c78d92a3c4ff7fdfff6c5c322283f0e33"},{"url":"https://git.kernel.org/stable/c/1efe1012f6c2790f8c75034dbd0ce7cddd2f1d89"},{"url":"https://git.kernel.org/stable/c/49e594079d7e741016ca4bd70c40964bc75cc72d"},{"url":"https://git.kernel.org/stable/c/33763f4ec91602db6bc21633b18e563ae1b1b44e"},{"url":"https://git.kernel.org/stable/c/b4165e730e7807b90fd1b0e847f7fb826c674027"},{"url":"https://git.kernel.org/stable/c/b8d058d9520315db836b07c4d0ef04d170b9f9a5"},{"url":"https://git.kernel.org/stable/c/eae055f33e41e1d3e1a7e905bdcb1e9f196ed31d"}],"title":"fbdev: udlfb: check for fb_deferred_io_init() error","x_generator":{"engine":"bippy-1.2.0"}}}}