aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGavrilov Ilia <[email protected]>2023-02-02 08:26:56 +0000
committerJoerg Roedel <[email protected]>2023-02-03 11:00:44 +0100
commitb6b26d86c61c441144c72f842f7469bb686e1211 (patch)
tree46c6c3dee2779d8a90e79f50fe73332c98ecf148 /tools/perf/scripts/python/export-to-sqlite.py
parent05d227efbd8d3ce28c3a87b66b5794235be197f4 (diff)
iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
The 'acpiid' buffer in the parse_ivrs_acpihid function may overflow, because the string specifier in the format string sscanf() has no width limitation. Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE. Fixes: ca3bf5d47cec ("iommu/amd: Introduces ivrs_acpihid kernel parameter") Cc: [email protected] Signed-off-by: Ilia.Gavrilov <[email protected]> Reviewed-by: Kim Phillips <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions