Page MenuHomeFreeBSD

Coverity fixes in fusefs(5)
ClosedPublic

Authored by asomers on Aug 29 2019, 5:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 29, 7:40 AM
Unknown Object (File)
Jan 13 2024, 11:34 AM
Unknown Object (File)
Dec 21 2023, 4:39 AM
Unknown Object (File)
Dec 20 2023, 6:36 AM
Unknown Object (File)
Dec 13 2023, 8:24 AM
Unknown Object (File)
Sep 5 2023, 5:18 PM
Unknown Object (File)
Sep 5 2023, 5:16 PM
Unknown Object (File)
Aug 31 2023, 6:40 PM
Subscribers

Details

Summary

Coverity fixes in fusefs(5)

CID 1404532 fixes a signed vs unsigned comparison error in fuse_vnop_bmap.
It could potentially have resulted in VOP_BMAP reporting too many
consecutive blocks.

CID 1404364 is much worse. It was an array access by an untrusted,
user-provided variable. It could potentially have resulted in a malicious
file system crashing the kernel or worse.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26181
Build 24689: arc lint + arc unit

Event Timeline

emaste added a subscriber: emaste.
emaste added inline comments.
sys/fs/fuse/fuse_internal.c
393

namelen includes the '\0' presumably

This revision is now accepted and ready to land.Sep 6 2019, 2:26 PM
This revision was automatically updated to reflect the committed changes.