Skip to content
Heist/ feed
Unrated

staging: fbtft: make dirty_lock IRQ-safe

Type: advisorySource: Official CVE List1 source record

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); 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.

Announced Source revision 1
Original source ↗

CVE-2026-98094

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-98094

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
        "lessThan": "0843298b159599ee7bc6d14800efdb4bc7349706",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
        "lessThan": "a323066337ed85c38decfc7f6bbf42f27605dff1",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
        "lessThan": "f2451e18826eb6a33ea51419f39bdd2eb99fa1ea",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
        "lessThan": "10cc145b873670438d3b105133dffdae70822db6",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
        "lessThan": "2a609e29efbba79f9abd68c4ec8a2bd7ecf291e7",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
        "lessThan": "f0c869df2c33793c8828acaab3e4a5e0176f9f00",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
        "lessThan": "dcb48fde8003492256dee45815144aa5ed26ce7c",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "c296d5f9957c03994a699d6739c27d4581a9f6c7",
        "lessThan": "f576944a59f31bcffff121117ebf452c5dd162b7",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/staging/fbtft/fbtft-core.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "4.0"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "4.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.271",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.222",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.189",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.158",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.12.111",
        "versionType": "semver",
        "lessThanOrEqual": "6.12.*"
      },
      {
        "status": "unaffected",
        "version": "6.18.53",
        "versionType": "semver",
        "lessThanOrEqual": "6.18.*"
      },
      {
        "status": "unaffected",
        "version": "7.2.7",
        "versionType": "semver",
        "lessThanOrEqual": "7.2.*"
      },
      {
        "status": "unaffected",
        "version": "7.3",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/staging/fbtft/fbtft-core.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2026-98094

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#38199 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement