From: Alexei Starovoitov Date: Tue, 23 Jun 2026 00:11:47 +0000 (-0700) Subject: Merge branch 'fix-stale-register-bounds-on-lsm-retval-context-load' X-Git-Tag: v7.2-rc1~25^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=274b4027d8b36c8b5ec61b7c7f0a7d9cda07b9a5;p=thirdparty%2Flinux.git Merge branch 'fix-stale-register-bounds-on-lsm-retval-context-load' Tristan Madani says: ==================== Fix stale register bounds on LSM retval context load From: Tristan Madani check_mem_access() calls __mark_reg_s32_range() to narrow a register to the LSM hook retval range, but the intersection preserves stale bounds from prior instructions. Add mark_reg_unknown() before narrowing (same pattern as the else branch) and a selftest that catches the mismatch. Changes in v3: - Add selftest demonstrating the issue (Eduard Zingerman) - No code change in patch 1 from v2 ==================== Link: https://patch.msgid.link/20260622230123.3695446-1-tristmd@gmail.com Signed-off-by: Alexei Starovoitov --- 274b4027d8b36c8b5ec61b7c7f0a7d9cda07b9a5