CVE-2021-47165

Source
https://cve.org/CVERecord?id=CVE-2021-47165
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47165.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-47165
Downstream
Related
Published
2024-03-25T10:15:08.620Z
Modified
2026-03-13T05:20:35.282323Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

drm/meson: fix shutdown crash when component not probed

When main component is not probed, by example when the dw-hdmi module is not loaded yet or in probe defer, the following crash appears on shutdown:

Unable to handle kernel NULL pointer dereference at virtual address 0000000000000038 ... pc : mesondrvshutdown+0x24/0x50 lr : platformdrvshutdown+0x20/0x30 ... Call trace: mesondrvshutdown+0x24/0x50 platformdrvshutdown+0x20/0x30 deviceshutdown+0x158/0x360 kernelrestartprepare+0x38/0x48 kernelrestart+0x18/0x68 __dosysreboot+0x224/0x250 __arm64sysreboot+0x24/0x30 ...

Simply check if the priv struct has been allocated before using it.

References

Affected packages

Git /

Affected ranges

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "4.14.226"
            },
            {
                "fixed": "4.14.235"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.19.181"
            },
            {
                "fixed": "4.19.193"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.4.106"
            },
            {
                "fixed": "5.4.124"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.10.24"
            },
            {
                "fixed": "5.10.42"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.12"
            },
            {
                "fixed": "5.12.9"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.13-rc1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.13-rc2"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.13-rc3"
            }
        ]
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47165.json"