aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorSergey Shtylyov <[email protected]>2022-08-17 20:00:45 +0000
committerThomas Gleixner <[email protected]>2023-02-20 12:53:41 +0000
commitfeabecaff5902f896531dde90646ca5dfa9d4f7d (patch)
treea8b173dcc4edbea56200dcda2f0653c211b0c294 /tools/perf/scripts/python/netdev-times.py
parentLinux 6.2 (diff)
downloadkernel-feabecaff5902f896531dde90646ca5dfa9d4f7d.tar.gz
kernel-feabecaff5902f896531dde90646ca5dfa9d4f7d.zip
genirq/ipi: Fix NULL pointer deref in irq_data_get_affinity_mask()
If ipi_send_{mask|single}() is called with an invalid interrupt number, all the local variables there will be NULL. ipi_send_verify() which is invoked from these functions does verify its 'data' parameter, resulting in a kernel oops in irq_data_get_affinity_mask() as the passed NULL pointer gets dereferenced. Add a missing NULL pointer check in ipi_send_verify()... Found by Linux Verification Center (linuxtesting.org) with the SVACE static analysis tool. Fixes: 3b8e29a82dd1 ("genirq: Implement ipi_send_mask/single()") Signed-off-by: Sergey Shtylyov <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions