aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2021-12-01 14:25:27 +0100
committerMichael S. Tsirkin <[email protected]>2022-01-14 18:50:52 -0500
commit1b656e9aad7f4886ed466094d1dc5ee4dd900d20 (patch)
treec4949f1f63be97950852a2289dcc3f4fecfb5dcd /net/lapb/lapb_timer.c
parent6004e351da50565fb561be85d45151dc9c370023 (diff)
firmware: qemu_fw_cfg: fix sysfs information leak
Make sure to always NUL-terminate file names retrieved from the firmware to avoid accessing data beyond the entry slab buffer and exposing it through sysfs in case the firmware data is corrupt. Fixes: 75f3e8e47f38 ("firmware: introduce sysfs driver for QEMU's fw_cfg device") Cc: [email protected] # 4.6 Cc: Gabriel Somlo <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions