[3/6] attr: Update to version 2.6.0

Message ID 20260704153849.3586287-3-adolf.belka@ipfire.org
State Staged
Commit 9ccfc7869616416d1263391142d57fd88f668ab4
Headers
Series [1/6] acl: Update to version 2.4.0 |

Commit Message

Adolf Belka 4 Jul 2026, 3:38 p.m. UTC
- Update from version 2.5.2 to 2.6.0
- Update rootfile
- 1 CVE fix
- Changelog
2.6.0
	- Security fixes for CVE-2026-54371:
	    - Fix symlink traversal privilege escalation vulnerability in getfattr and
		setfattr
	    - Harden getfattr to properly handle symlinks with -h/--no-dereference option
	    - Harden setfattr --restore with new -P/--physical option for safe restoring
	    - Add warnings for potentially unsafe restore operations (can be disabled
		with the --disable-unsafe-restore-warnings configure option)
	- New extended attribute system call support:
	    - Add wrappers for new xattrat() system calls (getxattrat, setxattrat,
	      listxattrat, removexattrat) introduced in kernel 6.13
	    - Add backwards compatibility layer for older systems without xattrat()
		support
	    - Add openat2() syscall wrapper support for enhanced security (kernel 5.6+)
	- Code improvements and fixes:
	    - Add new walk_tree helper, remove old implementation
	    - Fix multiple memory management issues in attr_copy_* functions
	    - Fix race conditions in listxattr and lgetxattr operations
	    - Fix buffer overflow and use-after-free bugs in setfattr --restore
	    - Remove dead code and improve compiler warning handling
	    - Add visibility attribute support for better library symbol management
	- Build system and compatibility:
	    - Improve test suite for SELinux environments
	    - Add License variable to pkg-config file
	    - Fix various compiler warnings with -Wall, -Wextra, -Wmissing-prototypes
	    - Add missing header includes and mark local functions static
	- Translation updates:
	    - Update the German translation
	- Configuration updates:
	    - Remove obsolete system.nfs4acl entry from xattr.conf
	    - Add configure option --disable-unsafe-restore-warnings

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/attr | 3 +--
 lfs/attr                     | 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/attr b/config/rootfiles/common/attr
index 73f8e9500..4307e1dd0 100644
--- a/config/rootfiles/common/attr
+++ b/config/rootfiles/common/attr
@@ -1,7 +1,6 @@ 
 usr/bin/attr
 usr/bin/getfattr
 usr/bin/setfattr
-#usr/etc
 #usr/etc/xattr.conf
 #usr/include/attr
 #usr/include/attr/attributes.h
@@ -11,7 +10,7 @@  usr/bin/setfattr
 #usr/lib/libattr.la
 #usr/lib/libattr.so
 usr/lib/libattr.so.1
-usr/lib/libattr.so.1.1.2502
+usr/lib/libattr.so.1.1.2600
 #usr/lib/pkgconfig/libattr.pc
 #usr/share/doc/attr
 #usr/share/doc/attr/CHANGES
diff --git a/lfs/attr b/lfs/attr
index 8a85b109e..2c005d7b3 100644
--- a/lfs/attr
+++ b/lfs/attr
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2026  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 2.5.2
+VER        = 2.6.0
 
 THISAPP    = attr-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -40,7 +40,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = cf26348c3a96622e4f62493ac7655e14b6580d36a5784ef4c3750178856eceabd33192fd58516be21c8aa1ad41d56c024ad440ef4bc922bed8f7a4984ea16c63
+$(DL_FILE)_BLAKE2 = 10e36188a11344e1cc1dd7d0bcc8724a62bfc945799755cff6a54fff6c6d7e306596628fca4f882e84a156cf2ea790a1a8411599819de4e60b0a21dc3b400d64
 
 install : $(TARGET)