diff options
author | Chengfeng Ye <[email protected]> | 2022-04-09 13:12:41 +0900 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-04-25 08:01:07 +0200 |
commit | b7c81f80246fac44077166f3e07103affe6db8ff (patch) | |
tree | 346cbab9901472a9df4a811d7a55bbd221dd3d3f /scripts/bpf_doc.py | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) |
firewire: fix potential uaf in outbound_phy_packet_callback()
&e->event and e point to the same address, and &e->event could
be freed in queue_event. So there is a potential uaf issue if
we dereference e after calling queue_event(). Fix this by adding
a temporary variable to maintain e->client in advance, this can
avoid the potential uaf issue.
Cc: <[email protected]>
Signed-off-by: Chengfeng Ye <[email protected]>
Signed-off-by: Takashi Sakamoto <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions