diff options
author | Ayush Ranjan <ayushranjan@google.com> | 2021-10-25 13:43:37 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-25 13:46:41 -0700 |
commit | 4d07fc952d6bb5aa70b4bc9ff5e6457987f1721c (patch) | |
tree | 75442613af4360c670d235f541e0811d68dd1442 /pkg/sentry/fs/gofer/session.go | |
parent | a8a66d899fe075c2a23b21edd0aab4e658ad7e81 (diff) |
Do not leak non-permission mode bits in mq_open(2).
As caught by syzkaller, we were leaking non-permission bits while passing the
user generated mode. DynamicBytesFile panics in this case.
Reported-by: syzbot+5abe52d47d56a5a98c89@syzkaller.appspotmail.com
PiperOrigin-RevId: 405481392
Diffstat (limited to 'pkg/sentry/fs/gofer/session.go')
0 files changed, 0 insertions, 0 deletions