In the Linux kernel, the following vulnerability has been resolved: hfs: ensure sb->sfsinfo is always cleaned up When hfs was converted to the new mount api a bug was introduced by changing the allocation pattern of sb->sfsinfo. If setupbdevsuper() fails after a new superblock has been allocated by sgetfc(), but before hfsfillsuper() takes ownership of the filesystem-specific sfsinfo data it was leaked. Fix this by freeing sb->sfsinfo in hfskill_super().