diff options
| author | 2026-10-02 07:06:17 +0000 | |
|---|---|---|
| committer | 2026-10-26 14:15:47 +0100 | |
| commit | 6dfc1b1a99da4909aee07a906352be5c3fc9baba (patch) | |
| tree | 57d046b6dec07a65c0afafd044f5752badf81821 /scripts/Makefile.thinlto | |
| parent | ceph: Fix mds session leak in __open_export_target_session() (diff) | |
libceph: reject bad connect_seq in msgr1 READY reply
process_connect() WARN_ON()s when the peer's READY/SEQ reply carries a
connect_seq other than ours + 1. That value comes off the wire, so a
misbehaving or malicious server can trigger the warning at will (and
panic machines running with panic_on_warn).
Check it before touching connection state and fail the connection with
a protocol error instead, like the other bad-reply cases here.
Fixes: 31b8006e10a4 ("ceph: messenger library")
Reported-by: syzbot+21f8628595b2061c438d@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=21f8628595b2061c438d
Signed-off-by: Nguyen Ngoc Thang <ngocthang2710.1999@gmail.com>
Reviewed-by: Alex Markuze <amarkuze@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
