Bug 219938 - Missing null check in exynos_generic_icc_probe
Summary: Missing null check in exynos_generic_icc_probe
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Platform (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: drivers_platform@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-28 08:40 UTC by henry
Modified: 2025-03-28 08:40 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description henry 2025-03-28 08:40:17 UTC
interconnect : samsung: exynos: Add NULL check in exynos_generic_icc_probe

devm_kasprintf() can return a NULL pointer on failure, but "icc_node->name"
returned value in exynos_generic_icc_probe is not checked.

Add NULL check in exynos_generic_icc_probe, to handle kernel NULL pointer dereference error. This is similar to the commit 050b23d081da.

Note You need to log in before you can comment on or make changes to this bug.