Skip to content

linux-refs 1.5.1

Latest

Choose a tag to compare

@nvaert1986 nvaert1986 released this 28 Nov 08:19
· 3 commits to main since this release

linux-refs 1.5.1 release notes

Release date: 2026-11-28. Release gate: passed in the night of
2026-11-27: checks on bd017da; fuzzing segments 1 to 4 and the Storage
Spaces part on 9ddc6cc, whose only failed step (itest-spaces-dm, two new
lab pools refused by design) was fixed in the test script and passed on
bd017da; the later commits change test scripts only. tests/lab/
compare-release.sh --data: 960 outputs on 240 volumes identical to 1.5.0.
Source tarball only; packages later. A fix release of the
1.5 long-term series, after four independent code reviews of 1.5.0
(verdicts kept with the owner); no new features and no change to the
on-disk reading of valid volumes (tool output on all 240 lab volumes
equal to 1.5.0).

Security and robustness:

  • Kernel: a stack write one past a path walk's end (finding 1);
    unlocked parent walk (5); directory listings built once and charged to
    the opener (4); SEEK_DATA/SEEK_HOLE killable (11); name and stream
    folder matching as lookup does (16, 20); f_namelen in bytes (22);
    listxattr capped at 64 KiB; mirror pending entries sized (N7).
  • Disk images: stored parent paths are followed only inside the image's
    folder, for VHD, VHDX and qcow2, opened once and checked on that file
    (2, 17, N1, N9, N10); a name that leads to a device, FIFO or terminal
    is never opened (R1); without /proc a clear message (R2); container and
    allocation sizes bounded (3, 9, 10).
  • Tools: refs-extract cannot write outside DEST (15); short writes,
    close errors and --keep-partial handled on every file system and
    sandbox (7, 18, N2, R3, R5); control characters escaped in text output
    and on stderr (12, N4, R4); JSON escaping of EA names (8, N8); upcase
    tables checked (19, N3); file times without overflow (F1).

Tests: the review findings' own tests run in make test
(tests/review); tests/lab/compare-release.sh compares every tool's
output (and with --data every file) with the previous release.

Packages

Arch Linux packages, built from the tag archive with the attached
PKGBUILD and install-tested in a clean Arch container (kernel 7.3.6:
the DKMS module builds and installs; removal leaves nothing behind):

  • linux-refs-tools: refs-info, refs-ls, refs-cat, refs-extract,
    refs-recover, refs-log, refs-usn and their manual pages
  • linux-refs-fuse: refs-fuse
  • linux-refs-dkms: the kernel driver for mount -t refs (DKMS; for
    Secure Boot see INSTALL.md)

pacman -U linux-refs-tools-1.5.1-1-x86_64.pkg.tar.zst ...;
SHA256SUMS lists every file. Gentoo: the linux-refs-overlay has
1.5.1 (tools, fuse, kmod; a zlib USE flag, on by default).