aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorSaurabh Sengar <[email protected]>2024-08-29 12:43:11 +0530
committerGreg Kroah-Hartman <[email protected]>2024-09-03 12:37:37 +0200
commitfb1adbd7e50f3d2de56d0a2bb0700e2e819a329e (patch)
tree62430cb7bcc706598a92f5fbc53eb10e636aba47 /scripts/rustdoc_test_builder.rs
parent7d32e779eb9add47bfdb4731c4d4ff443a7f7fa6 (diff)
uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
For primary VM Bus channels, primary_channel pointer is always NULL. This pointer is valid only for the secondary channels. Also, rescind callback is meant for primary channels only. Fix NULL pointer dereference by retrieving the device_obj from the parent for the primary channel. Cc: [email protected] Fixes: ca3cda6fcf1e ("uio_hv_generic: add rescind support") Signed-off-by: Saurabh Sengar <[email protected]> Signed-off-by: Naman Jain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions