« List of all CVEs

CVE-2025-71230

hfs: ensure sb->s_fs_info is always cleaned up

Published: 2/18/2026 Last updated: 2/23/2026 Reserved: 2/18/2026

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

CNA assigner: Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67) Requested by: n/a

Opam packages affected (29)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes ortools_solvers orun rawlink rawlink-eio rawlink-lwt restricted shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (4)

Product Vendor Version
Linux Linux < f850d1d9f1106f528dfc5807565f2d1fa9a397d3
Linux Linux < 2e3dbf938656986cce73ac4083500d0bcfbffe24
Linux Linux >= 2.45.0, < 2.45.4
Linux Linux >= 2.46.0, < 2.46.4

References (6)