summaryrefslogtreecommitdiff
path: root/scripts/git.orderFile
diff options
context:
space:
mode:
authorXuanqiang Luo <luoxuanqiang@kylinos.cn>2026-07-14 23:08:08 +0800
committerAndi Shyti <andi.shyti@kernel.org>2026-07-14 23:50:12 +0200
commit71356737a7a55c76fee847563e3d33f8e6dc6b6d (patch)
tree9d634f8f43289025b803d4e8d333e5a092a577c8 /scripts/git.orderFile
parent9db20d23aac7916ff49be409a4bfd48fe7cbbfb4 (diff)
i2c: mlxbf: Fix use-after-free in mlxbf_i2c_init_resource()
If devm_platform_get_and_ioremap_resource() returns an error, mlxbf_i2c_init_resource() frees tmp_res before reading tmp_res->io to get the error code. This results in a use-after-free. Save the error code before freeing tmp_res. Fixes: b5b5b32081cd ("i2c: mlxbf: I2C SMBus driver for Mellanox BlueField SoC") Signed-off-by: Xuanqiang Luo <luoxuanqiang@kylinos.cn> Cc: <stable@vger.kernel.org> # v5.10+ Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20260714150808.85045-1-xuanqiang.luo@linux.dev
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions