aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2019-07-29 04:12:32 +0000
committerDarrick J. Wong <[email protected]>2019-07-29 04:12:32 +0000
commit2e616d9f9ce8d469db4cd0a019cdc2ff3feab577 (patch)
treec9032b3e27c6e6acb57ec51248468b7b66c8aae0 /tools/perf/scripts/python/net_dropmonitor.py
parentLinux 5.3-rc2 (diff)
downloadkernel-2e616d9f9ce8d469db4cd0a019cdc2ff3feab577.tar.gz
kernel-2e616d9f9ce8d469db4cd0a019cdc2ff3feab577.zip
xfs: fix stack contents leakage in the v1 inumber ioctls
Explicitly initialize the onstack structures to zero so we don't leak kernel memory into userspace when converting the in-core inumbers structure to the v1 inogrp ioctl structure. Add a comment about why we have to use memset to ensure that the padding holes in the structures are set to zero. Fixes: 5f19c7fc6873351 ("xfs: introduce v5 inode group structure") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]> Reviewed-by: Eric Sandeen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions