diff options
author | 2022-08-15 14:07:12 +0300 | |
---|---|---|
committer | 2022-09-30 17:39:50 +0300 | |
commit | 6d5c9e79b726cc473d40e9cb60976dbe8e669624 (patch) | |
tree | 06efd61e38ceda6eb669fe14c42ad7284c5f03ec /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | fs/ntfs3: Fix [df]mask display in /proc/mounts (diff) | |
download | wireguard-linux-6d5c9e79b726cc473d40e9cb60976dbe8e669624.tar.xz wireguard-linux-6d5c9e79b726cc473d40e9cb60976dbe8e669624.zip |
fs/ntfs3: Fix attr_punch_hole() null pointer derenference
The bug occours due to a misuse of `attr` variable instead of `attr_b`.
`attr` is being initialized as NULL, then being derenfernced
as `attr->res.data_size`.
This bug causes a crash of the ntfs3 driver itself,
If compiled directly to the kernel, it crashes the whole system.
Signed-off-by: Alon Zahavi <zahavi.alon@gmail.com>
Co-developed-by: Tal Lossos <tallossos@gmail.com>
Signed-off-by: Tal Lossos <tallossos@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions