diff options
author | Zorro Lang <zlang@redhat.com> | 2022-04-12 00:37:10 +0800 |
---|---|---|
committer | Eryu Guan <guaneryu@gmail.com> | 2022-04-17 19:56:22 +0800 |
commit | 0b11a5ecb8e5ca8c2a9a5aa59c493a2d9fd485f8 (patch) | |
tree | 9f5040ec8452d616ca77594d753bf00792e506b8 /.gitignore | |
parent | daa0c0146c7db84d1e368fcfcc8751566695b590 (diff) |
fstests: test dirty pipe vulnerability issue of CVE-2022-0847
Test for the Dirty Pipe vulnerability (CVE-2022-0847) caused by an
uninitialized "pipe_buffer.flags" variable. The bug cause a file
can be overwritten even if a user/process is not permitted to write
it. It's fixed by 9d2231c5d74e ("lib/iov_iter: initialize "flags" in
new pipe_buffer").
Cc: Max Kellermann <max.kellermann@ionos.com>
Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -125,6 +125,7 @@ tags /src/runas /src/seek_copy_test /src/seek_sanity_test +/src/splice2pipe /src/splice-test /src/stale_handle /src/stat_test |