Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/ufs/ufs



Module Name:    src
Committed By:   maxv
Date:           Wed Feb 26 18:00:12 UTC 2020

Modified Files:
        src/sys/ufs/ufs: ufs_vnops.c

Log Message:
Zero out the padding in 'd_namlen', to prevent info leaks. Same logic as
ufs_makedirentry().

Found by kMSan: the unzeroed bytes of the pool_cache were getting copied
to the disk via a DMA write operation, and there kMSan was noticing
uninitialized memory leaving the system.

Reported-by: syzbot+382c9dffc06a9683abb5%syzkaller.appspotmail.com@localhost


To generate a diff of this commit:
cvs rdiff -u -r1.248 -r1.249 src/sys/ufs/ufs/ufs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index