diff mbox series

[1/3] libpam: upgrade 1.7.3 -> 1.7.4

Message ID 20261202110337.65021-1-jaipaul.cheernam@est.tech
State Under Review
Headers show
Series [1/3] libpam: upgrade 1.7.3 -> 1.7.4 | expand

Commit Message

Jaipaul Cheernam Dec. 2, 2026, 11:03 a.m. UTC
ReleaseNotes: https://github.com/linux-pam/linux-pam/releases/tag/v1.7.4

Release 1.7.4
* build: default the runtime state directory to /run instead of /var/run
  for pam_faillock, pam_nologin, pam_sepermit, and pam_timestamp. Use
  -Drunstatedir=/var/run to retain the old paths. The default PAM debug
  log is now /run/pam-debug.log.
* build: derive the version from Git tags and preserve it in distribution
  tarballs. Generated man pages now include the version and release date.
* libpam: when using libeconf with no vendor directory configured, do not
  search for configuration files relative to the current working directory
  (CVE-2026-137898).
* libpam: detect at build time whether getlogin() can be trusted and disable
  it when the check cannot run. Override with -Dgetlogin=enabled or
  -Dgetlogin=disabled.
* libpam: added pam_modutil_user_in_group_nam_pat() for matching group
  membership against a shell-style pattern.
* libpam_misc: fixed binary response cleanup in misc_conv() and return
  PAM_CONV_ERR for NULL message or response pointers.
* libpamc: tightened agent ID and reply size validation and fixed
  PAM_BP_FILL when the caller's variable is named prompt.
* libpamc: fixed an out-of-bounds write when listing multiple agents.
* pam_access: match IPv4-mapped IPv6 addresses against corresponding IPv4
  rules and process the last configuration line even without a newline.
* pam_env: do not abort the session on an otherwise ignorable error on the
  last configuration line.
* pam_faillock: documented that the tally directory must not be writable
  by non-root users.
* pam_listfile: added item=home, comma-separated inline lists with list=,
  and shorthand arguments such as allow and user=.
* pam_listfile: ignore surrounding whitespace and comment lines in list
  files. File and inline entries now support shell-style glob patterns
  and ! negation. Exact matches take precedence over patterns; among
  matches of equal priority, the first entry wins.
* pam_listfile: handle list file read errors according to onerr= when no
  match has been determined, and treat an empty login shell as /bin/sh.
* pam_setquota: prefer an exact mount point match over a filesystem name
  match when resolving fs=.
* pam_timestamp: prevent malformed account names from directing timestamp
  operations outside the timestamp cache directory; pam_timestamp_check
  now accepts usernames with embedded dots, as the module does.
* pam_timestamp: fixed overflow when checking future timestamps with large
  timeouts, corrected timestamp age logging, and fixed a file descriptor
  leak on an error path when using logind.
* pam_umask: log and ignore invalid masks.
* pam_unix: accept bcrypt as an alias for blowfish, including in login.defs.
* pam_userdb: added key_only=<sep> to prevent ambiguous database keys by
  rejecting usernames containing the chosen separator. Bare key_only
  retains its legacy behavior. Changing the separator requires rebuilding
  the keys.
* Multiple minor bug fixes, build fixes, portability fixes,
  documentation improvements, and translation updates.

ptest results with DISTRO_FEATURE pam enabled:
PASS: tst-dlopen
PASS: tst-pam_acct_mgmt
PASS: tst-pam_authenticate
PASS: tst-pam_chauthtok
PASS: tst-pam_close_session
PASS: tst-pam_end
PASS: tst-pam_fail_delay
PASS: tst-pam_get_authtok
PASS: tst-pam_get_data
PASS: tst-pam_get_item
PASS: tst-pam_get_user
PASS: tst-pam_getenvlist
PASS: tst-pam_mkargv
PASS: tst-pam_modutil_ingroup
PASS: tst-pam_open_session
PASS: tst-pam_set_data
PASS: tst-pam_set_item
PASS: tst-pam_setcred
PASS: tst-pam_start
PASS: tst-pam_start_confdir
All 20 tests passed

Signed-off-by: Jaipaul Cheernam <jaipaul.cheernam@est.tech>
---
 meta/recipes-extended/pam/{libpam_1.7.3.bb => libpam_1.7.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/pam/{libpam_1.7.3.bb => libpam_1.7.4.bb} (98%)
diff mbox series

Patch

diff --git a/meta/recipes-extended/pam/libpam_1.7.3.bb b/meta/recipes-extended/pam/libpam_1.7.4.bb
similarity index 98%
rename from meta/recipes-extended/pam/libpam_1.7.3.bb
rename to meta/recipes-extended/pam/libpam_1.7.4.bb
index 31e14a724a..e9d66edb4d 100644
--- a/meta/recipes-extended/pam/libpam_1.7.3.bb
+++ b/meta/recipes-extended/pam/libpam_1.7.4.bb
@@ -24,7 +24,7 @@  SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/Linux-PAM-${PV}.tar.xz \
            file://pam-volatiles.conf \
            "
 
-SRC_URI[sha256sum] = "2ce4765fd49df6693771ef2941f81e33d8ee14b94a81a5c7b369aa3b137b85a5"
+SRC_URI[sha256sum] = "c343f85891c6fbdd039599612a63144a4c6ebc1b74cad7cfd1e49315d67c0ab2"
 
 DEPENDS = "bison-native flex-native libxml2-native virtual/crypt"