soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3253b7b7cd44c4dd029a4ce280ef9f409a256e5f · < 4f51d169fd0d4821bce775618db024062b09a3f7| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
soc: samsung: exynos-chipid: Add NULL pointer check in exynos_chipid_probe()
soc_dev_attr->revision could be NULL, thus, a pointer check is added to prevent potential NULL pointer dereference. This is similar to the fix in commit 3027e7b15b02 ("ice: Fix some null pointer dereference issues in ice_ptp.c").
This issue is found by our static analysis tool.
From the CVE record · Linux
In the Linux kernel’s exynos-chipid probe, soc_dev_attr->revision can be NULL, leading to a potential NULL pointer dereference. The issue was found by static analysis; the input does not establish an attacker path or specify access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the Samsung exynos-chipid component should check their kernel versions; affected versions are not specified.