CVE-2026-89883 (GCVE-0-2026-89883)

Vulnerability from cvelistv5 – Published: 2026-09-16 10:31 – Updated: 2026-09-16 14:39
VLAI
Title
media: rc: sunxi-cir: Unregister rc device on probe failure
Summary
In the Linux kernel, the following vulnerability has been resolved: media: rc: sunxi-cir: Unregister rc device on probe failure After rc_register_device() succeeds, later probe failures must undo the registration with rc_unregister_device(). The current error path jumps to the allocation cleanup label and only calls rc_free_device(), leaving the rc device registration and resources created by rc_register_device() behind. Add a registered-device unwind label for the IRQ lookup, IRQ request, and hardware initialization failure paths. Keep rc_free_device() for failures before rc_register_device() succeeds.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f , < 4655a591478e4b31a3396695a2457daad9d4c899 (git)
Affected: b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f , < 4efd7146dcf959afe64e9c51531cd8f82e60eab6 (git)
Affected: b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f , < 826763adbd8bd3137c5b3756650da473dc6216d5 (git)
Affected: b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f , < 59951b8a87ef4fb4b5b9409f70ba07663681a040 (git)
Affected: b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f , < 5b58d8c206f37525c8217171e1f3e91dd2fa55e5 (git)
Affected: b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f , < 5e6f5bffaa80fc8ecce348ec0e34fed9d843e47e (git)
Affected: b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f , < 479aa6fa8c50f1052f1451326ef7d4d586d340c3 (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.17
Unaffected: 0 , < 3.17 (semver)
Unaffected: 5.15.221 , ≤ 5.15.* (semver)
Unaffected: 6.1.188 , ≤ 6.1.* (semver)
Unaffected: 6.6.157 , ≤ 6.6.* (semver)
Unaffected: 6.12.110 , ≤ 6.12.* (semver)
Unaffected: 6.18.51 , ≤ 6.18.* (semver)
Unaffected: 7.2.5 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/rc/sunxi-cir.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "4655a591478e4b31a3396695a2457daad9d4c899",
              "status": "affected",
              "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
              "versionType": "git"
            },
            {
              "lessThan": "4efd7146dcf959afe64e9c51531cd8f82e60eab6",
              "status": "affected",
              "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
              "versionType": "git"
            },
            {
              "lessThan": "826763adbd8bd3137c5b3756650da473dc6216d5",
              "status": "affected",
              "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
              "versionType": "git"
            },
            {
              "lessThan": "59951b8a87ef4fb4b5b9409f70ba07663681a040",
              "status": "affected",
              "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
              "versionType": "git"
            },
            {
              "lessThan": "5b58d8c206f37525c8217171e1f3e91dd2fa55e5",
              "status": "affected",
              "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
              "versionType": "git"
            },
            {
              "lessThan": "5e6f5bffaa80fc8ecce348ec0e34fed9d843e47e",
              "status": "affected",
              "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
              "versionType": "git"
            },
            {
              "lessThan": "479aa6fa8c50f1052f1451326ef7d4d586d340c3",
              "status": "affected",
              "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/media/rc/sunxi-cir.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.17"
            },
            {
              "lessThan": "3.17",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.221",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.157",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.51",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.221",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.188",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.157",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.110",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.51",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.5",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "3.17",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: rc: sunxi-cir: Unregister rc device on probe failure\n\nAfter rc_register_device() succeeds, later probe failures must undo the\nregistration with rc_unregister_device(). The current error path jumps to\nthe allocation cleanup label and only calls rc_free_device(), leaving the\nrc device registration and resources created by rc_register_device()\nbehind.\n\nAdd a registered-device unwind label for the IRQ lookup, IRQ request, and\nhardware initialization failure paths. Keep rc_free_device() for failures\nbefore rc_register_device() succeeds."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is in sunxi_ir_probe() of the Allwinner CIR platform driver; after a failed probe the leftover rc-core/lirc/input device is reached by opening local /dev/lirc* or /dev/input/event* nodes, not via network packets, Bluetooth, or IR/USB injection.\nAC:L - After rc_register_device() succeeds, IRQ lookup (including -EPROBE_DEFER), request_irq, or sunxi_ir_hw_init failure calls only rc_free_device(); once the leaked rc/lirc node exists, LIRC_SET_REC_TIMEOUT and similar ioctls deterministically use dangling rc_dev-\u003epriv with no attacker-uncontrollable race.\nPR:L - A low-privileged local user who can open the leaked /dev/lirc* or input event node (typical input-group/udev access on Allwinner STBs, tablets, and SBCs) can ioctl the leftover rc device; bind/unbind is CAP_SYS_ADMIN, but the higher-severity scenario is exploiting an already leaked node.\nUI:N - The attacker opens the leftover lirc or input device and issues ioctls themselves; no victim must mount a filesystem, plug a device, or otherwise interact.\nS:U - Use-after-free of the probe-owned sunxi_ir object and leftover rc-core state stays in the host kernel and does not cross a VM, IOMMU, or sandbox boundary.\nC:H - Failed probe leaves the rc device registered while devres frees the sunxi_ir object that rc_dev-\u003epriv still points at, a slab use-after-free; per kernel CVSS guidance that primitive enables arbitrary kernel read.\nI:H - sunxi_ir_set_timeout() performs CIR MMIO writes through freed ir-\u003ebase, and leftover s_timeout/ir_raw callbacks can be redirected after heap reuse, yielding arbitrary write and control-flow hijack.\nA:H - Using the leftover lirc/input node dereferences freed sunxi_ir state or writes unmapped CIR MMIO, causing kernel oops/panic; any use-after-free is high availability impact."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-16T14:39:34.436Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/4655a591478e4b31a3396695a2457daad9d4c899"
        },
        {
          "url": "https://git.kernel.org/stable/c/4efd7146dcf959afe64e9c51531cd8f82e60eab6"
        },
        {
          "url": "https://git.kernel.org/stable/c/826763adbd8bd3137c5b3756650da473dc6216d5"
        },
        {
          "url": "https://git.kernel.org/stable/c/59951b8a87ef4fb4b5b9409f70ba07663681a040"
        },
        {
          "url": "https://git.kernel.org/stable/c/5b58d8c206f37525c8217171e1f3e91dd2fa55e5"
        },
        {
          "url": "https://git.kernel.org/stable/c/5e6f5bffaa80fc8ecce348ec0e34fed9d843e47e"
        },
        {
          "url": "https://git.kernel.org/stable/c/479aa6fa8c50f1052f1451326ef7d4d586d340c3"
        }
      ],
      "title": "media: rc: sunxi-cir: Unregister rc device on probe failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-89883",
    "datePublished": "2026-09-16T10:31:48.378Z",
    "dateReserved": "2026-09-11T19:38:34.772Z",
    "dateUpdated": "2026-09-16T14:39:34.436Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-89883",
      "date": "2026-09-25",
      "epss": "0.00176",
      "percentile": "0.06314"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-24T01:42:34.000Z",
      "cve": "CVE-2026-89883",
      "id": "msrc_CVE-2026-89883",
      "initial_release_date": "2026-09-17T01:10:30.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "media: rc: sunxi-cir: Unregister rc device on probe failure",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-89883.json",
      "version": "4"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/media/rc/sunxi-cir.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "4655a591478e4b31a3396695a2457daad9d4c899",
                    "status": "affected",
                    "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4efd7146dcf959afe64e9c51531cd8f82e60eab6",
                    "status": "affected",
                    "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "826763adbd8bd3137c5b3756650da473dc6216d5",
                    "status": "affected",
                    "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "59951b8a87ef4fb4b5b9409f70ba07663681a040",
                    "status": "affected",
                    "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5b58d8c206f37525c8217171e1f3e91dd2fa55e5",
                    "status": "affected",
                    "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5e6f5bffaa80fc8ecce348ec0e34fed9d843e47e",
                    "status": "affected",
                    "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "479aa6fa8c50f1052f1451326ef7d4d586d340c3",
                    "status": "affected",
                    "version": "b4e3e59fb59c214c5bcf9d1bf2971f100e0dac4f",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/media/rc/sunxi-cir.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.17"
                  },
                  {
                    "lessThan": "3.17",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "5.15.*",
                    "status": "unaffected",
                    "version": "5.15.221",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.1.*",
                    "status": "unaffected",
                    "version": "6.1.188",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.6.*",
                    "status": "unaffected",
                    "version": "6.6.157",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.110",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.51",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.5",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-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\nmedia: rc: sunxi-cir: Unregister rc device on probe failure\n\nAfter rc_register_device() succeeds, later probe failures must undo the\nregistration with rc_unregister_device(). The current error path jumps to\nthe allocation cleanup label and only calls rc_free_device(), leaving the\nrc device registration and resources created by rc_register_device()\nbehind.\n\nAdd a registered-device unwind label for the IRQ lookup, IRQ request, and\nhardware initialization failure paths. Keep rc_free_device() for failures\nbefore rc_register_device() succeeds."
          }
        ],
        "id": "CVE-2026-89883",
        "lastModified": "2026-09-16T15:18:14.963",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-16T11:16:56.753",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4655a591478e4b31a3396695a2457daad9d4c899"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/479aa6fa8c50f1052f1451326ef7d4d586d340c3"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/4efd7146dcf959afe64e9c51531cd8f82e60eab6"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/59951b8a87ef4fb4b5b9409f70ba07663681a040"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5b58d8c206f37525c8217171e1f3e91dd2fa55e5"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5e6f5bffaa80fc8ecce348ec0e34fed9d843e47e"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/826763adbd8bd3137c5b3756650da473dc6216d5"
          }
        ],
        "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…

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.

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.


Loading…