CVE-2026-98094 (GCVE-0-2026-98094)
Vulnerability from cvelistv5
Published
2026-09-25 10:24
Modified
2026-10-19 09:13
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: staging: fbtft: make dirty_lock IRQ-safe fbtft_mkdirty() can be reached from the fbcon rendering path while processing printk() in hardirq context. Meanwhile, dirty_lock is also taken by fbtft_deferred_io() in workqueue context with local interrupts enabled. Lockdep reports a possible IRQ lock inversion involving dirty_lock and console_owner. A hardirq can interrupt a CPU holding dirty_lock and enter the console rendering path, which can attempt to acquire dirty_lock again. The following lockdep report was observed on an RK3566 system with CONFIG_PROVE_LOCKING enabled: WARNING: possible irq lock inversion dependency detected swapper/2/0 just changed the state of lock: (console_owner){-...}-{0:0} but this lock took another, HARDIRQ-unsafe lock in the past: (&par->dirty_lock){+.+.}-{2:2} CPU0 CPU1 ---- ---- lock(&par->dirty_lock); local_irq_disable(); lock(console_owner); lock(&par->dirty_lock); <Interrupt> lock(console_owner); *** DEADLOCK *** Use spin_lock_irqsave() for fbtft_mkdirty() and spin_lock_irq() for fbtft_deferred_io(). They only access the dirty line range, so the IRQ-off regions remain short.
Impacted products
Vendor Product Version
Linux Linux Version: c296d5f9957c03994a699d6739c27d4581a9f6c7
Version: c296d5f9957c03994a699d6739c27d4581a9f6c7
Version: c296d5f9957c03994a699d6739c27d4581a9f6c7
Version: c296d5f9957c03994a699d6739c27d4581a9f6c7
Version: c296d5f9957c03994a699d6739c27d4581a9f6c7
Version: c296d5f9957c03994a699d6739c27d4581a9f6c7
Version: c296d5f9957c03994a699d6739c27d4581a9f6c7
Version: c296d5f9957c03994a699d6739c27d4581a9f6c7
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/staging/fbtft/fbtft-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "0843298b159599ee7bc6d14800efdb4bc7349706",
              "status": "affected",
              "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
              "versionType": "git"
            },
            {
              "lessThan": "a323066337ed85c38decfc7f6bbf42f27605dff1",
              "status": "affected",
              "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
              "versionType": "git"
            },
            {
              "lessThan": "f2451e18826eb6a33ea51419f39bdd2eb99fa1ea",
              "status": "affected",
              "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
              "versionType": "git"
            },
            {
              "lessThan": "10cc145b873670438d3b105133dffdae70822db6",
              "status": "affected",
              "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
              "versionType": "git"
            },
            {
              "lessThan": "2a609e29efbba79f9abd68c4ec8a2bd7ecf291e7",
              "status": "affected",
              "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
              "versionType": "git"
            },
            {
              "lessThan": "f0c869df2c33793c8828acaab3e4a5e0176f9f00",
              "status": "affected",
              "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
              "versionType": "git"
            },
            {
              "lessThan": "dcb48fde8003492256dee45815144aa5ed26ce7c",
              "status": "affected",
              "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
              "versionType": "git"
            },
            {
              "lessThan": "f576944a59f31bcffff121117ebf452c5dd162b7",
              "status": "affected",
              "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/staging/fbtft/fbtft-core.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.0"
            },
            {
              "lessThan": "4.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.271",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.222",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.158",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.111",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.271",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.222",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.189",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.158",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.111",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.53",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.7",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "4.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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  (\u0026par-\u003edirty_lock){+.+.}-{2:2}\n\n  CPU0                    CPU1\n  ----                    ----\n  lock(\u0026par-\u003edirty_lock);\n                         local_irq_disable();\n                         lock(console_owner);\n                         lock(\u0026par-\u003edirty_lock);\n  \u003cInterrupt\u003e\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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:13:46.321Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/0843298b159599ee7bc6d14800efdb4bc7349706"
        },
        {
          "url": "https://git.kernel.org/stable/c/a323066337ed85c38decfc7f6bbf42f27605dff1"
        },
        {
          "url": "https://git.kernel.org/stable/c/f2451e18826eb6a33ea51419f39bdd2eb99fa1ea"
        },
        {
          "url": "https://git.kernel.org/stable/c/10cc145b873670438d3b105133dffdae70822db6"
        },
        {
          "url": "https://git.kernel.org/stable/c/2a609e29efbba79f9abd68c4ec8a2bd7ecf291e7"
        },
        {
          "url": "https://git.kernel.org/stable/c/f0c869df2c33793c8828acaab3e4a5e0176f9f00"
        },
        {
          "url": "https://git.kernel.org/stable/c/dcb48fde8003492256dee45815144aa5ed26ce7c"
        },
        {
          "url": "https://git.kernel.org/stable/c/f576944a59f31bcffff121117ebf452c5dd162b7"
        }
      ],
      "title": "staging: fbtft: make dirty_lock IRQ-safe",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98094",
    "datePublished": "2026-09-25T10:24:25.889Z",
    "dateReserved": "2026-09-25T10:19:56.076Z",
    "dateUpdated": "2026-10-19T09:13:46.321Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…