{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "080b4e24852b1d5b66929f69344e6c3eeb963941"
            },
            {
              "fixed": "39e9208b062fcbf50fa3e717fb33d857e7ba4923"
            },
            {
              "fixed": "2814932ceb5d8a9a56376a0bb7fced58b12e4cd7"
            },
            {
              "fixed": "dbc6a106ad2dd8ffef5d6819d8f6dbebf043e822"
            },
            {
              "fixed": "608664dfb2a3ebef8caa5d15e9150fdb3c7c3399"
            },
            {
              "fixed": "7d0767c5cd878707fd6711023731549c83563840"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.3.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142862.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: pmic_glink: Fix device access from worker during suspend\n\nFor historical reasons, the GLINK smem interrupt is registered with\nIRRQF_NO_SUSPEND flag set, which is the underlying problem here, since the\nincoming messages can be delivered during late suspend and early\nresume.\n\nIn this specific case, the pmic_glink_altmode_worker() currently gets\nscheduled on the system_wq which can be scheduled to run while devices\nare still suspended. This proves to be a problem when a Type-C retimer,\nswitch or mux that is controlled over a bus like I2C, because the I2C\ncontroller is suspended.\n\nThis has been proven to be the case on the X Elite boards where such\nretimers (ParadeTech PS8830) are used in order to handle Type-C\norientation and altmode configuration. The following warning is thrown:\n\n[   35.134876] i2c i2c-4: Transfer while suspended\n[   35.143865] WARNING: CPU: 0 PID: 99 at drivers/i2c/i2c-core.h:56 __i2c_transfer+0xb4/0x57c [i2c_core]\n[   35.352879] Workqueue: events pmic_glink_altmode_worker [pmic_glink_altmode]\n[   35.360179] pstate: 61400005 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)\n[   35.455242] Call trace:\n[   35.457826]  __i2c_transfer+0xb4/0x57c [i2c_core] (P)\n[   35.463086]  i2c_transfer+0x98/0xf0 [i2c_core]\n[   35.467713]  i2c_transfer_buffer_flags+0x54/0x88 [i2c_core]\n[   35.473502]  regmap_i2c_write+0x20/0x48 [regmap_i2c]\n[   35.478659]  _regmap_raw_write_impl+0x780/0x944\n[   35.483401]  _regmap_bus_raw_write+0x60/0x7c\n[   35.487848]  _regmap_write+0x134/0x184\n[   35.491773]  regmap_write+0x54/0x78\n[   35.495418]  ps883x_set+0x58/0xec [ps883x]\n[   35.499688]  ps883x_sw_set+0x60/0x84 [ps883x]\n[   35.504223]  typec_switch_set+0x48/0x74 [typec]\n[   35.508952]  pmic_glink_altmode_worker+0x44/0x1fc [pmic_glink_altmode]\n[   35.515712]  process_scheduled_works+0x1a0/0x2d0\n[   35.520525]  worker_thread+0x2a8/0x3c8\n[   35.524449]  kthread+0xfc/0x184\n[   35.527749]  ret_from_fork+0x10/0x20\n\nThe proper solution here should be to not deliver these kind of messages\nduring system suspend at all, or at least make it configurable per glink\nclient. But simply dropping the IRQF_NO_SUSPEND flag entirely will break\nother clients. The final shape of the rework of the pmic glink driver in\norder to fulfill both the filtering of the messages that need to be able\nto wake-up the system and the queueing of these messages until the system\nhas properly resumed is still being discussed and it is planned as a\nfuture effort.\n\nMeanwhile, the stop-gap fix here is to schedule the pmic glink altmode\nworker on the system_freezable_wq instead of the system_wq. This will\nresult in the altmode worker not being scheduled to run until the\ndevices are resumed first, which will give the controllers like I2C a\nchance to resume before the transfer is requested.",
  "id": "CVE-2026-142862",
  "modified": "2026-12-03T04:45:17.137314559Z",
  "published": "2026-12-03T03:21:03.993Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2814932ceb5d8a9a56376a0bb7fced58b12e4cd7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/39e9208b062fcbf50fa3e717fb33d857e7ba4923"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/608664dfb2a3ebef8caa5d15e9150fdb3c7c3399"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7d0767c5cd878707fd6711023731549c83563840"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/dbc6a106ad2dd8ffef5d6819d8f6dbebf043e822"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142862.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142862"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "soc: qcom: pmic_glink: Fix device access from worker during suspend"
}