CVSS 5.5 · Medium EPSS 0,23%
Kerentanan NULL Pointer Dereference pada linux kernel. Skor CVSS 3.1 5.5 (Medium) menurut NVD.
In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl-asoc-card: set priv->pdev before using it priv->pdev pointer was set after being used in fsl_asoc_card_audmux_init(). Move this assignment at the start of the probe function, so sub-functions can correctly use pdev through priv. fsl_asoc_card_audmux_init() dereferences priv->pdev to get access to the dev struct, used with dev_err macros. As priv is zero-initialised, there would be a NULL pointer dereference. Note that if priv->dev is dereferenced before assignment but never used, for example if there is no error to be printed, the driver won't crash probably due to compiler optimisations.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
· uraikan di kalkulator | Vendor | Produk | Versi terdampak |
|---|---|---|
| linux | linux kernel | Versi 3.18 hingga sebelum 4.19.317 |
| linux | linux kernel | Versi 4.20 hingga sebelum 5.4.279 |
| linux | linux kernel | Versi 5.5 hingga sebelum 5.10.221 |
| linux | linux kernel | Versi 5.11 hingga sebelum 5.15.162 |
| linux | linux kernel | Versi 5.16 hingga sebelum 6.1.97 |
| linux | linux kernel | Versi 6.2 hingga sebelum 6.6.37 |
| linux | linux kernel | Versi 6.7 hingga sebelum 6.9.8 |
| linux | linux kernel | Versi 6.10 rc1 |
| linux | linux kernel | Versi 6.10 rc2 |
| linux | linux kernel | Versi 6.10 rc3 |
| linux | linux kernel | Versi 6.10 rc4 |
| linux | linux kernel | Versi 6.10 rc5 |