{"id":"CVE-2026-98094","aliases":["CVE-2026-98094"],"related":[],"kind":"vulnerability","state":"published","title":"staging: fbtft: make dirty_lock IRQ-safe","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: fbtft: make dirty_lock IRQ-safe\n\nfbtft_mkdirty() can be reached from the fbcon rendering path while\nprocessing printk() in hardirq context. Meanwhile, dirty_lock is also\ntaken by fbtft_deferred_io() in workqueue context with local interrupts\nenabled.\n\nLockdep reports a possible IRQ lock inversion involving dirty_lock and\nconsole_owner. A hardirq can interrupt a CPU holding dirty_lock and\nenter the console rendering path, which can attempt to acquire\ndirty_lock again.\n\nThe following lockdep report was observed on an RK3566 system with\nCONFIG_PROVE_LOCKING enabled:\n\n  WARNING: possible irq lock inversion dependency detected\n  swapper/2/0 just changed the state of lock:\n  (console_owner){-...}-{0:0}\n  but this lock took another, HARDIRQ-unsafe lock in the past:\n  (&par->dirty_lock){+.+.}-{2:2}\n\n  CPU0                    CPU1\n  ----                    ----\n  lock(&par->dirty_lock);\n                         local_irq_disable();\n                         lock(console_owner);\n                         lock(&par->dirty_lock);\n  <Interrupt>\n    lock(console_owner);\n\n  *** DEADLOCK ***\n\nUse spin_lock_irqsave() for fbtft_mkdirty() and spin_lock_irq() for\nfbtft_deferred_io(). They only access the dirty line range, so the\nIRQ-off regions remain short.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: fbtft: make dirty_lock IRQ-safe\n\nfbtft_mkdirty() can be reached from the fbcon rendering path while\nprocessing printk() in hardirq context. Meanwhile, dirty_lock is also\ntaken by fbtft_deferred_io() in workqueue context with local interrupts\nenabled.\n\nLockdep reports a possible IRQ lock inversion involving dirty_lock and\nconsole_owner. A hardirq can interrupt a CPU holding dirty_lock and\nenter the console rendering path, which can attempt to acquire\ndirty_lock again.\n\nThe following lockdep report was observed on an RK3566 system with\nCONFIG_PROVE_LOCKING enabled:\n\n  WARNING: possible irq lock inversion dependency detected\n  swapper/2/0 just changed the state of lock:\n  (console_owner){-...}-{0:0}\n  but this lock took another, HARDIRQ-unsafe lock in the past:\n  (&par->dirty_lock){+.+.}-{2:2}\n\n  CPU0                    CPU1\n  ----                    ----\n  lock(&par->dirty_lock);\n                         local_irq_disable();\n                         lock(console_owner);\n                         lock(&par->dirty_lock);\n  <Interrupt>\n    lock(console_owner);\n\n  *** DEADLOCK ***\n\nUse spin_lock_irqsave() for fbtft_mkdirty() and spin_lock_irq() for\nfbtft_deferred_io(). They only access the dirty line range, so the\nIRQ-off regions remain short.","source":"cvelist"}],"published":"2026-09-25T10:24:25.889Z","modified":"2026-10-23T18:55:31.727Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"0843298b159599ee7bc6d14800efdb4bc7349706","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"a323066337ed85c38decfc7f6bbf42f27605dff1","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"f2451e18826eb6a33ea51419f39bdd2eb99fa1ea","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"10cc145b873670438d3b105133dffdae70822db6","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"2a609e29efbba79f9abd68c4ec8a2bd7ecf291e7","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"f0c869df2c33793c8828acaab3e4a5e0176f9f00","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"dcb48fde8003492256dee45815144aa5ed26ce7c","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"f576944a59f31bcffff121117ebf452c5dd162b7","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.0","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.0","fixed":"5.10.271"},{"status":"affected","introduced":"5.11","fixed":"5.15.222"},{"status":"affected","introduced":"5.16","fixed":"6.1.189"},{"status":"affected","introduced":"6.2","fixed":"6.6.158"},{"status":"affected","introduced":"6.7","fixed":"6.12.111"},{"status":"affected","introduced":"6.13","fixed":"6.18.53"},{"status":"affected","introduced":"6.19","fixed":"7.2.7"},{"status":"affected","version":"7.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0843298b159599ee7bc6d14800efdb4bc7349706","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a323066337ed85c38decfc7f6bbf42f27605dff1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f2451e18826eb6a33ea51419f39bdd2eb99fa1ea","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10cc145b873670438d3b105133dffdae70822db6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a609e29efbba79f9abd68c4ec8a2bd7ecf291e7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0c869df2c33793c8828acaab3e4a5e0176f9f00","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dcb48fde8003492256dee45815144aa5ed26ce7c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f576944a59f31bcffff121117ebf452c5dd162b7","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98094","url":"https://www.cve.org/CVERecord?id=CVE-2026-98094","licence":"CVE Terms of Use","modified":"2026-10-19T09:13:46.321Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98094","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98094","licence":"Public domain","modified":"2026-10-23T18:55:31.727Z"}],"updatedAt":"2026-11-25T22:59:41.056Z","epss":{"score":0.00095,"percentile":0.00635,"date":"2026-12-01T12:00:22.000Z"}}