]> www.infradead.org Git - users/hch/misc.git/commit
orangefs: fix a oob in orangefs_debug_write
authorMike Marshall <hubcap@omnibond.com>
Wed, 8 Jan 2025 19:21:08 +0000 (14:21 -0500)
committerMike Marshall <hubcap@omnibond.com>
Wed, 8 Jan 2025 19:35:59 +0000 (14:35 -0500)
commitf7c848431632598ff9bce57a659db6af60d75b39
tree91065c0ec176f580b65a2fdfcd140aabf0e6a63c
parent9d89551994a430b50c4fffcb1e617a057fa76e20
orangefs: fix a oob in orangefs_debug_write

I got a syzbot report: slab-out-of-bounds Read in
orangefs_debug_write... several people suggested fixes,
I tested Al Viro's suggestion and made this patch.

Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Reported-by: syzbot+fc519d7875f2d9186c1f@syzkaller.appspotmail.com
fs/orangefs/orangefs-debugfs.c