Skip to content

clk: qcom: gpucc-nord: add null pointer dereference for crash test - #3

Open
quic-khuzuri wants to merge 1 commit into
quic-mfahad:early/hwe/nord-nextfrom
quic-khuzuri:null-deref-gpucc-nord
Open

quic-khuzuri wants to merge 1 commit into
quic-mfahad:early/hwe/nord-nextfrom
quic-khuzuri:null-deref-gpucc-nord

Conversation

@quic-khuzuri

Copy link
Copy Markdown

Deliberately dereference a NULL pointer in gpu_cc_nord_probe() to trigger a kernel panic that is guaranteed to be visible on serial.

gpu_cc_nord_probe() is bound to qcom,nord-gpucc which is present in the iq10-rrd DTS (nord-embedded.dtsi). It probes after the UART console is fully initialized, ensuring the oops/panic backtrace appears on serial output.

Signed-off-by: quic-khuzuri quic-khuzuri@quicinc.com

Deliberately dereference a NULL pointer in gpu_cc_nord_probe() to
trigger a kernel panic that is guaranteed to be visible on serial.

gpu_cc_nord_probe() is bound to qcom,nord-gpucc which is present in
the iq10-rrd DTS (nord-embedded.dtsi). It probes after the UART
console is fully initialized, ensuring the oops/panic backtrace
appears on serial output.

Signed-off-by: quic-khuzuri <quic-khuzuri@quicinc.com>
@quic-khuzuri
quic-khuzuri force-pushed the null-deref-gpucc-nord branch from f0deb37 to 33b20c9 Compare July 15, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant