Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: drm/panel: fix a possible null pointer dereference In versatile_panel_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected f40f5b87d974655984ce545515e5c9e57b371b3c before c7dc0aca5962fb37dbea9769dd26ec37813faae1; affected f40f5b87d974655984ce545515e5c9e57b371b3c before 2381f6b628b3214f07375e0adf5ce17093c31190; affected f40f5b87d974655984ce545515e5c9e57b371b3c before 79813cd59398015867d51e6d7dcc14d287d4c402; affected f40f5b87d974655984ce545515e5c9e57b371b3c before 4fa930ba046d20fc1899770396ee11e905fa96e4; affected f40f5b87d974655984ce545515e5c9e57b371b3c before 8a9dd36fcb4f3906982b82593393578db4479992; affected f40f5b87d974655984ce545515e5c9e57b371b3c before 924e5814d1f84e6fa5cb19c6eceb69f066225229 |
| Linux / Linux | affected 4.17; unaffected 0 before 4.17; unaffected 5.10.202 through 5.10.*; unaffected 5.15.140 through 5.15.*; unaffected 6.1.64 through 6.1.*; unaffected 6.5.13 through 6.5.*; unaffected 6.6.3 through 6.6.*; unaffected 6.7 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/c7dc0aca5962fb37dbea9769dd26ec37813faae1
- https://git.kernel.org/stable/c/2381f6b628b3214f07375e0adf5ce17093c31190
- https://git.kernel.org/stable/c/79813cd59398015867d51e6d7dcc14d287d4c402
- https://git.kernel.org/stable/c/4fa930ba046d20fc1899770396ee11e905fa96e4
- https://git.kernel.org/stable/c/8a9dd36fcb4f3906982b82593393578db4479992
- https://git.kernel.org/stable/c/924e5814d1f84e6fa5cb19c6eceb69f066225229
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.
- https://git.kernel.org/stable/c/c7dc0aca5962fb37dbea9769dd26ec37813faae1
- https://git.kernel.org/stable/c/2381f6b628b3214f07375e0adf5ce17093c31190
- https://git.kernel.org/stable/c/79813cd59398015867d51e6d7dcc14d287d4c402
- https://git.kernel.org/stable/c/4fa930ba046d20fc1899770396ee11e905fa96e4
- https://git.kernel.org/stable/c/8a9dd36fcb4f3906982b82593393578db4479992
- https://git.kernel.org/stable/c/924e5814d1f84e6fa5cb19c6eceb69f066225229