summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-02-23 18:05:15 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-22 13:32:15 +0200
commitaaaaec39ddbcd06770dca7f1adebc3b1242ebe7b (patch)
tree8e1d472a4b2ed0d8f87fd4f505e7628475fe989d /tools/perf/scripts/python/flamegraph.py
parent34c1741254ff972e8375faf176678a248826fe3a (diff)
downloadkernel-aaaaec39ddbcd06770dca7f1adebc3b1242ebe7b.tar.gz
i2c: s3c24xx: check the size of the SMBUS message before using it
commit c0128c7157d639a931353ea344fb44aad6d6e17a upstream. The first byte of an i2c SMBUS message is the size, and it should be verified to ensure that it is in the range of 0..I2C_SMBUS_BLOCK_MAX before processing it. This is the same logic that was added in commit a6e04f05ce0b ("i2c: tegra: check msg length in SMBUS block read") to the i2c tegra driver. Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Alim Akhtar <alim.akhtar@samsung.com> Cc: Andi Shyti <andi.shyti@kernel.org> Cc: stable <stable@kernel.org> Assisted-by: gkh_clanker_2000 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/2026022314-rely-scrubbed-4839@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions