aboutsummaryrefslogtreecommitdiffstats
path: root/rust/compiler_builtins.rs
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <[email protected]>2023-09-30 13:01:06 +0000
committerSteven Rostedt (Google) <[email protected]>2023-09-30 20:26:04 +0000
commit2598bd3ca8dcf5bbca1161ee5b271b432398da37 (patch)
tree28fe2255c4c570f938c573f4b4bda9c210b340a0 /rust/compiler_builtins.rs
parenttracing/user_events: Align set_bit() address for all archs (diff)
downloadkernel-2598bd3ca8dcf5bbca1161ee5b271b432398da37.tar.gz
kernel-2598bd3ca8dcf5bbca1161ee5b271b432398da37.zip
eventfs: Test for dentries array allocated in eventfs_release()
The dcache_dir_open_wrapper() could be called when a dynamic event is being deleted leaving a dentry with no children. In this case the dlist->dentries array will never be allocated. This needs to be checked for in eventfs_release(), otherwise it will trigger a NULL pointer dereference. Link: https://lore.kernel.org/linux-trace-kernel/[email protected] Cc: Mark Rutland <[email protected]> Acked-by: Masami Hiramatsu (Google) <[email protected]> Fixes: ef36b4f92868 ("eventfs: Remember what dentries were created on dir open") Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'rust/compiler_builtins.rs')
0 files changed, 0 insertions, 0 deletions