Skip to content
Heist/ feed
Back to feed
UnratedFix available

drm/sun4i: crtc: Propagate layer initialization error

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: drm/sun4i: crtc: Propagate layer initialization error sun4i_crtc_init() returns plain NULL when layer initialization fails, while all its other error paths return an error pointer. The only caller, sun4i_tcon_bind(), checks the result with IS_ERR() and happily continues with tcon->crtc set to NULL. sun4i_rgb_init() and sun4i_lvds_init() then dereference it in drm_crtc_mask(), which oopses. Return the error pointer instead.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.270, 5.15.221, 6.1.188, 6.12.110, 6.18.52, 6.6.157, 7.2.6
CVEs
CVE-2026-90297
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 07:45 UTC · Revision 1

Source evidence

drm/sun4i: crtc: Propagate layer initialization error

core-osv · Original source

Published 17 Sept 2026, 16:08 UTC

In the Linux kernel, the following vulnerability has been resolved: drm/sun4i: crtc: Propagate layer initialization error sun4i_crtc_init() returns plain NULL when layer initialization fails, while all its other error paths return an error pointer. The only caller, sun4i_tcon_bind(), checks the result with IS_ERR() and happily continues with tcon->crtc set to NULL. sun4i_rgb_init() and sun4i_lvds_init() then dereference it in drm_crtc_mask(), which oopses. Return the error pointer instead.

osv:CVE-2026-90297

Kernel

Fixed versions: 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.52, 7.2.6

Complete source record
{
  "id": "cbef2fdcfe7e9b759588c89812ac426014768bc272bb9d88473bc920cd23b535",
  "url": "https://osv.dev/vulnerability/CVE-2026-90297",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/sun4i: crtc: Propagate layer initialization error",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: drm/sun4i: crtc: Propagate layer initialization error sun4i_crtc_init() returns plain NULL when layer initialization fails, while all its other error paths return an error pointer. The only caller, sun4i_tcon_bind(), checks the result with IS_ERR() and happily continues with tcon->crtc set to NULL. sun4i_rgb_init() and sun4i_lvds_init() then dereference it in drm_crtc_mask(), which oopses. Return the error pointer instead.",
    "evidence": "osv:CVE-2026-90297",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.270",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.52",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-90297",
      "aliases": [
        "CVE-2026-90297"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dcd215801b0279f0a021516526cf7c0b67d5302e"
                },
                {
                  "fixed": "aaf812960fb5ade24be7a1d8fea27a1ffc458c30"
                },
                {
                  "fixed": "e216d6168f25a69e5ae5b981ee73b3a860a46441"
                },
                {
                  "fixed": "2bb3169788f8296c8fc1e0d4fa6f1c6367cd5829"
                },
                {
                  "fixed": "1882112124a642de7571fbf354fa1929decbb3ef"
                },
                {
                  "fixed": "8f32af44d43332c02198752e596df00659bf4354"
                },
                {
                  "fixed": "65bc02fec98e4e1d7d59d86cf2ddf8fd73dacb89"
                },
                {
                  "fixed": "c0d3219ffd4c0d42295e0dc949856067b7818b71"
                },
                {
                  "fixed": "7061ff05ed4a3cf16e83f7e3ad09cbd212508a32"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90297.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.12.0"
                },
                {
                  "fixed": "5.10.270"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.52"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90297.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:26.729808943Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1882112124a642de7571fbf354fa1929decbb3ef",
        "https://git.kernel.org/stable/c/2bb3169788f8296c8fc1e0d4fa6f1c6367cd5829",
        "https://git.kernel.org/stable/c/65bc02fec98e4e1d7d59d86cf2ddf8fd73dacb89",
        "https://git.kernel.org/stable/c/7061ff05ed4a3cf16e83f7e3ad09cbd212508a32",
        "https://git.kernel.org/stable/c/8f32af44d43332c02198752e596df00659bf4354",
        "https://git.kernel.org/stable/c/aaf812960fb5ade24be7a1d8fea27a1ffc458c30",
        "https://git.kernel.org/stable/c/c0d3219ffd4c0d42295e0dc949856067b7818b71",
        "https://git.kernel.org/stable/c/e216d6168f25a69e5ae5b981ee73b3a860a46441",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90297.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-90297",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90297.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-90297",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 493483,
  "published_at": "2026-09-17T16:08:22.594+00:00"
}