{"id":"CVE-2026-138821","aliases":["CVE-2026-138821"],"related":[],"kind":"vulnerability","state":"published","title":"fbdev: sh_mobile_lcdc: check for fb_deferred_io_init() error","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: sh_mobile_lcdc: 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 sh_mobile_lcdc_start() ignores its return value.\n\nTherefore if an error arises in fb_deferred_io_init() (for instance, due\nto an allocation failure) info->fbdefio_state is left NULL.\n\nWhen the file is subsequently opened, fb_open() will dereference a NULL\npointer (calling fb_deferred_io_open()).\n\nFix this by checking for the error.\n\nAlso clear info->fbdefio in that case, so that sh_mobile_lcdc_stop() does\nnot attempt to clean up deferred I/O state that was never initialised.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nfbdev: sh_mobile_lcdc: 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 sh_mobile_lcdc_start() ignores its return value.\n\nTherefore if an error arises in fb_deferred_io_init() (for instance, due\nto an allocation failure) info->fbdefio_state is left NULL.\n\nWhen the file is subsequently opened, fb_open() will dereference a NULL\npointer (calling fb_deferred_io_open()).\n\nFix this by checking for the error.\n\nAlso clear info->fbdefio in that case, so that sh_mobile_lcdc_stop() does\nnot attempt to clean up deferred I/O state that was never initialised.","source":"cvelist"}],"published":"2026-11-30T13:25:17.946Z","modified":"2026-12-01T06:17:28.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"186b89659c4c67cccead52961eab0ca3b23951dc","fixed":"ccd7d2a7ca8eae95afa2ef8323bf185bf275205e","status":"affected"},{"type":"git","introduced":"56c134f7f1b58be08bdb0ca8372474a4a5165f31","fixed":"ac709b87bd958ddb69541c1a3e21e2171aaab121","status":"affected"},{"type":"git","introduced":"56c134f7f1b58be08bdb0ca8372474a4a5165f31","fixed":"e34ec5752ac1bcf012b294562a0426ee9ad5b156","status":"affected"},{"type":"git","introduced":"56c134f7f1b58be08bdb0ca8372474a4a5165f31","fixed":"4a9ad942a4b32138ca9167de22c6df02b02f8b09","status":"affected"},{"type":"git","introduced":"56c134f7f1b58be08bdb0ca8372474a4a5165f31","fixed":"8e21bbb7c2ce772ea3d672c1de662c5da1e9fbeb","status":"affected"},{"type":"git","introduced":"56c134f7f1b58be08bdb0ca8372474a4a5165f31","fixed":"3ec236beefafd91734f5539f12e1918a1392a60f","status":"affected"},{"type":"git","introduced":"56c134f7f1b58be08bdb0ca8372474a4a5165f31","fixed":"5192201aaac2a923ff98306e3ccda58718ee395f","status":"affected"},{"type":"semver","introduced":"5.15.149","fixed":"5.15.226","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.19","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ccd7d2a7ca8eae95afa2ef8323bf185bf275205e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ac709b87bd958ddb69541c1a3e21e2171aaab121","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e34ec5752ac1bcf012b294562a0426ee9ad5b156","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4a9ad942a4b32138ca9167de22c6df02b02f8b09","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e21bbb7c2ce772ea3d672c1de662c5da1e9fbeb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3ec236beefafd91734f5539f12e1918a1392a60f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5192201aaac2a923ff98306e3ccda58718ee395f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138821","url":"https://www.cve.org/CVERecord?id=CVE-2026-138821","licence":"CVE Terms of Use","modified":"2026-12-01T05:40:13.634Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138821","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138821","licence":"Public domain","modified":"2026-12-01T06:17:28.273Z"}],"updatedAt":"2026-12-01T06:32:14.010Z","epss":{"score":0.00178,"percentile":0.07685,"date":"2026-12-01T12:00:22.000Z"}}