summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAndrey Vatoropin <a.vatoropin@crpt.ru>2026-01-20 11:37:47 +0000
committerJakub Kicinski <kuba@kernel.org>2026-01-21 19:18:57 -0800
commit8215794403d264739cc676668087512950b2ff31 (patch)
tree122ed85c48d2203db3632ba251ac2479de6d2e28 /tools/perf/scripts/python/flamegraph.py
parent2030c4358bd8451583f2e010108607de5cdac5dc (diff)
downloadkernel-8215794403d264739cc676668087512950b2ff31.tar.gz
be2net: Fix NULL pointer dereference in be_cmd_get_mac_from_list
When the parameter pmac_id_valid argument of be_cmd_get_mac_from_list() is set to false, the driver may request the PMAC_ID from the firmware of the network card, and this function will store that PMAC_ID at the provided address pmac_id. This is the contract of this function. However, there is a location within the driver where both pmac_id_valid == false and pmac_id == NULL are being passed. This could result in dereferencing a NULL pointer. To resolve this issue, it is necessary to pass the address of a stub variable to the function. Fixes: 95046b927a54 ("be2net: refactor MAC-addr setup code") Signed-off-by: Andrey Vatoropin <a.vatoropin@crpt.ru> Link: https://patch.msgid.link/20260120113734.20193-1-a.vatoropin@crpt.ru Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
67db7a23e2b6696b5d9b'>drm/display/dp_mst: Fix confusing docs for drm_dp_atomic_release_time_slots()Lyude Paul 2022-08-23drm/display/dp_mst: Call them time slots, not VCPI slotsLyude Paul 2022-08-23drm/display/dp_mst: Rename drm_dp_mst_vcpi_allocationLyude Paul 2022-08-16drm/dp_mst: add passthrough_aux to struct drm_dp_mst_portHamza Mahfooz 2022-07-29drm/dp_mst: fix drm_dp_dpcd_read return value checksSimon Ser 2022-07-19drm:delete the repeated word "the" in commentsshaomin Deng 2022-07-05drm: Remove linux/fb.h from drm_crtc.hVille Syrjälä 2022-06-23drm/display: Fix build error without CONFIG_OFYueHaibing 2022-06-21drm/dp_mst: Get rid of old comment in drm_atomic_get_mst_topology_state docsLyude Paul 2022-06-21drm/display/dp_mst: Don't validate port refs in drm_dp_check_and_send_link_ad...Lyude Paul 2022-06-21drm/display: Remove duplicate 'the' in two places.Jiang Jian 2022-06-20drm: Drop drm_edid.h from drm_crtc.hVille Syrjälä 2022-06-20Merge drm/drm-next into drm-misc-nextThomas Zimmermann 2022-06-16drm/dp/mst: Read the extended DPCD capabilities during system resumeImre Deak 2022-06-15Merge tag 'drm-misc-next-2022-06-08' of git://anongit.freedesktop.org/drm/drm...Daniel Vetter 2022-06-02drm/dp: Add callbacks to make using DP AUX bus properly easierDouglas Anderson 2022-05-25Merge tag 'drm-next-2022-05-25' of git://anongit.freedesktop.org/drm/drmLinus Torvalds 2022-05-20drm/dp: Export symbol / kerneldoc fixes for DP AUX busDouglas Anderson 2022-04-29drm/display: Select DP helper for DRM_DP_AUX_CHARDEV and DRM_DP_CECJavier Martinez Canillas 2022-04-28drm/dp_mst: Lower down debug info level when receive NAKWayne Lin 2022-04-25drm/display: Move SCDC helpers into display-helper libraryThomas Zimmermann 2022-04-25drm/display: Move HDMI helpers into display-helper moduleThomas Zimmermann 2022-04-25drm/display: Move HDCP helpers into display-helper moduleThomas Zimmermann 2022-04-25drm/display: Move DSC header and helpers into display-helper moduleThomas Zimmermann 2022-04-25drm/display: Introduce a DRM display-helper moduleThomas Zimmermann 2022-04-25drm: Rename dp/ to display/Thomas Zimmermann