summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorYichong Chen <chenyichong@uniontech.com>2026-07-15 13:20:06 +0800
committerTyler Hicks <code@tyhicks.com>2026-07-20 22:11:14 -0500
commite97bbe1b2bd82ec2ae37ad2e4965b4d3e78bbf7f (patch)
treef237deb40d0a95c766d1f11e9b7ba3a5b0e7127f /tools/perf/scripts
parent8b2ec0f56f55477f547d332526c9ae2a8fabc0a5 (diff)
ecryptfs: reject too-small tag 70 packets
ecryptfs_parse_tag_70_packet() subtracts fixed metadata fields from the parsed packet body size to derive the encrypted filename size. A malformed packet with a body smaller than those fixed fields can underflow that size calculation. Reject tag 70 packets before the subtraction unless the body contains the signature, cipher code, and at least one byte of encrypted filename data. Fixes: 9c79f34f7ee7 ("eCryptfs: Filename Encryption: Tag 70 packets") Cc: <stable@vger.kernel.org> Signed-off-by: Yichong Chen <chenyichong@uniontech.com> Signed-off-by: Tyler Hicks <code@tyhicks.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions