FKIE_CVE-2026-142803

Vulnerability from fkie_nvd - Published: 2026-12-03 04:18 - Updated: 2026-12-03 04:18
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: backlight: qcom-wled: Fix unbalanced OVP IRQ enable at probe wled_configure_ovp_irq() derives the initial state of the OVP interrupt from the hardware: /* Keep OVP irq disabled until module is enabled */ if (!(val & WLED3_CTRL_REG_MOD_EN_MASK)) disable_irq(wled->ovp_irq); but wled->brightness, which is what the rest of the driver uses to tell whether the module is on, is left at zero. On boards where the bootloader hands the kernel a lit backlight the two disagree. MOD_EN is already set, so the interrupt is left enabled, while wled_update_status() still believes the backlight is off and takes if (!!brightness != !!wled->brightness) rc = wled_module_enable(wled, !!brightness); on the first backlight update. wled_module_enable() then schedules wled_ovp_work(), which calls enable_irq() on the already enabled interrupt: Unbalanced enable for IRQ 176 WARNING: CPU: 0 PID: 160 at kernel/irq/manage.c:774 __enable_irq+0x50/0x80 Hardware name: Xiaomi Pocophone F1 (DT) Workqueue: events wled_ovp_work Call trace: __enable_irq+0x50/0x80 enable_irq+0x48/0xa0 wled_ovp_work+0x18/0x24 process_one_work+0x1d0/0x350 worker_thread+0x13c/0x460 kthread+0x110/0x114 ret_from_fork+0x10/0x20 The bootloader is not the only way to get there. The readback runs after wledN_setup(), and wled4_setup() sets MOD_EN itself on the path where the sink configuration does not already match, as does the tail of wled_auto_string_detection(), which all three setup paths can reach through wled_auto_detection_at_init(). A cold-booted board with a dark panel can therefore reach the same disagreement. Move the MOD_EN readback into wled_probe() and use it to seed wled->brightness, so the driver starts out agreeing with the hardware, and key the OVP interrupt off wled->brightness instead. The first backlight update then only reprograms the brightness registers and leaves both the module and the interrupt alone. The OVP interrupt also stays armed from probe whenever the module is already enabled, rather than being disabled at probe and only enabled once something writes brightness. Note that a backlight update requesting brightness 0 before any non-zero one now really does turn the module off wherever MOD_EN was already set, where before it was silently ignored. wled->brightness is seeded with default-brightness rather than the level the bootloader actually programmed, so the first update can still step the brightness. Reading that level back is version specific and is done in a follow-up, to keep this fix small enough to backport.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/video/backlight/qcom-wled.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5edd1bbb350920c02ec4ae09d1b88df98bac863d",
              "status": "affected",
              "version": "8663c188beeacf35d4865185a6713d6e8ded4fea",
              "versionType": "git"
            },
            {
              "lessThan": "96e864355a4124d32b213575682772fe733d9ccb",
              "status": "affected",
              "version": "8663c188beeacf35d4865185a6713d6e8ded4fea",
              "versionType": "git"
            },
            {
              "lessThan": "d3b5bebfa3cc646e72c5d060299cea76b13fdf69",
              "status": "affected",
              "version": "8663c188beeacf35d4865185a6713d6e8ded4fea",
              "versionType": "git"
            },
            {
              "lessThan": "ea70832926599f8f427d6da71b414bb924347704",
              "status": "affected",
              "version": "8663c188beeacf35d4865185a6713d6e8ded4fea",
              "versionType": "git"
            },
            {
              "lessThan": "ef4a0e652e58cb00520ae7081c1e6eaf0da10e55",
              "status": "affected",
              "version": "8663c188beeacf35d4865185a6713d6e8ded4fea",
              "versionType": "git"
            },
            {
              "lessThan": "e9bff555cc77ecb80c7fb7a816b1351ea4d5c738",
              "status": "affected",
              "version": "8663c188beeacf35d4865185a6713d6e8ded4fea",
              "versionType": "git"
            },
            {
              "lessThan": "6170378712385dc329bf70ea1da6e9cd87b46f32",
              "status": "affected",
              "version": "8663c188beeacf35d4865185a6713d6e8ded4fea",
              "versionType": "git"
            },
            {
              "lessThan": "5eda6b51461932f9fd835ef9e4574650c69c4fe8",
              "status": "affected",
              "version": "8663c188beeacf35d4865185a6713d6e8ded4fea",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/video/backlight/qcom-wled.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.275",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.226",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.193",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.163",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.61",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.4-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbacklight: qcom-wled: Fix unbalanced OVP IRQ enable at probe\n\nwled_configure_ovp_irq() derives the initial state of the OVP interrupt\nfrom the hardware:\n\n        /* Keep OVP irq disabled until module is enabled */\n        if (!(val \u0026 WLED3_CTRL_REG_MOD_EN_MASK))\n                disable_irq(wled-\u003eovp_irq);\n\nbut wled-\u003ebrightness, which is what the rest of the driver uses to tell\nwhether the module is on, is left at zero.\n\nOn boards where the bootloader hands the kernel a lit backlight the two\ndisagree. MOD_EN is already set, so the interrupt is left enabled, while\nwled_update_status() still believes the backlight is off and takes\n\n        if (!!brightness != !!wled-\u003ebrightness)\n                rc = wled_module_enable(wled, !!brightness);\n\non the first backlight update. wled_module_enable() then schedules\nwled_ovp_work(), which calls enable_irq() on the already enabled\ninterrupt:\n\n  Unbalanced enable for IRQ 176\n  WARNING: CPU: 0 PID: 160 at kernel/irq/manage.c:774 __enable_irq+0x50/0x80\n  Hardware name: Xiaomi Pocophone F1 (DT)\n  Workqueue: events wled_ovp_work\n  Call trace:\n   __enable_irq+0x50/0x80\n   enable_irq+0x48/0xa0\n   wled_ovp_work+0x18/0x24\n   process_one_work+0x1d0/0x350\n   worker_thread+0x13c/0x460\n   kthread+0x110/0x114\n   ret_from_fork+0x10/0x20\n\nThe bootloader is not the only way to get there. The readback runs after\nwledN_setup(), and wled4_setup() sets MOD_EN itself on the path where the\nsink configuration does not already match, as does the tail of\nwled_auto_string_detection(), which all three setup paths can reach\nthrough wled_auto_detection_at_init(). A cold-booted board with a dark\npanel can therefore reach the same disagreement.\n\nMove the MOD_EN readback into wled_probe() and use it to seed\nwled-\u003ebrightness, so the driver starts out agreeing with the hardware,\nand key the OVP interrupt off wled-\u003ebrightness instead. The first\nbacklight update then only reprograms the brightness registers and\nleaves both the module and the interrupt alone. The OVP interrupt also\nstays armed from probe whenever the module is already enabled, rather\nthan being disabled at probe and only enabled once something writes\nbrightness.\n\nNote that a backlight update requesting brightness 0 before any non-zero\none now really does turn the module off wherever MOD_EN was already set,\nwhere before it was silently ignored.\n\nwled-\u003ebrightness is seeded with default-brightness rather than the level\nthe bootloader actually programmed, so the first update can still step\nthe brightness. Reading that level back is version specific and is done\nin a follow-up, to keep this fix small enough to backport."
    }
  ],
  "id": "CVE-2026-142803",
  "lastModified": "2026-12-03T04:18:14.063",
  "metrics": {},
  "published": "2026-12-03T04:18:14.063",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/5eda6b51461932f9fd835ef9e4574650c69c4fe8"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/5edd1bbb350920c02ec4ae09d1b88df98bac863d"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/6170378712385dc329bf70ea1da6e9cd87b46f32"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/96e864355a4124d32b213575682772fe733d9ccb"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/d3b5bebfa3cc646e72c5d060299cea76b13fdf69"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/e9bff555cc77ecb80c7fb7a816b1351ea4d5c738"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/ea70832926599f8f427d6da71b414bb924347704"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/ef4a0e652e58cb00520ae7081c1e6eaf0da10e55"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Received"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.