{
  "cveId": "CVE-2022-50261",
  "url": "https://patchblox.com/security/cve/CVE-2022-50261",
  "summary": "CVE-2022-50261 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-50261, released September 15, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  drm/sti: Fix return type of sti_{dvo,hda,hdmi}_c...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  drm/sti: Fix return type of sti_{dvo,hda,hdmi}_connector_mode_valid()  With clang\u0027s kernel control flow integrity (kCFI, CONFIG_CFI_CLANG), indirect call targets are validated against the expected function pointer prototype to make sure the call target is valid to help mitigate ROP attacks. If they are not identical, there is a failure at run time, which manifests as either a kernel panic or thread getting killed. A proposed warning in clang aims to catch these at compile time, which reveals:    drivers/gpu/drm/sti/sti_hda.c:637:16: error: incompatible function pointer types initializing \u0027enum drm_mode_status (*)(struct drm_connector *, struct drm_display_mode *)\u0027 with an expression of type \u0027int (struct drm_connector *, struct drm_display_mode *)\u0027 [-Werror,-Wincompatible-function-pointer-types-strict]           .mode_valid = sti_hda_connector_mode_valid,                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~   drivers/gpu/drm/sti/sti_dvo.c:376:16: error: incompatible function pointer types initializing \u0027enum drm_mode_status (*)(struct drm_connector *, struct drm_display_mode *)\u0027 with an expression of type \u0027int (struct drm_connector *, struct drm_display_mode *)\u0027 [-Werror,-Wincompatible-function-pointer-types-strict]           .mode_valid = sti_dvo_connector_mode_valid,                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~   drivers/gpu/drm/sti/sti_hdmi.c:1035:16: error: incompatible function pointer types initializing \u0027enum drm_mode_status (*)(struct drm_connector *, struct drm_display_mode *)\u0027 with an expression of type \u0027int (struct drm_connector *, struct drm_display_mode *)\u0027 [-Werror,-Wincompatible-function-pointer-types-strict]           .mode_valid = sti_hdmi_connector_mode_valid,                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~  -\u003Emode_valid() in \u0027struct drm_connector_helper_funcs\u0027 expects a return type of \u0027enum drm_mode_status\u0027, not \u0027int\u0027. Adjust the return type of sti_{dvo,hda,hdmi}_connector_mode_valid() to match the prototype\u0027s to resolve the warning and CFI failure.",
  "published": "2025-09-15T14:15:36Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00163,
  "epssPercentile": 0.05553,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.1.4-1",
      "fix": "DEBIAN-CVE-2022-50261",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50261",
      "released": "2025-09-15T14:15:36Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.1.4-1",
      "fix": "DEBIAN-CVE-2022-50261",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50261",
      "released": "2025-09-15T14:15:36Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.1.4-1",
      "fix": "DEBIAN-CVE-2022-50261",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-50261",
      "released": "2025-09-15T14:15:36Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T07:25:28Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}