<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in verifier_stack_arg.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>d1dbe443a0abb4ea3ec35a16e36efe6d3bbf72f6 - bpf: Fix arg_track_join log to use sa prefix for stack arg slots</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c#d1dbe443a0abb4ea3ec35a16e36efe6d3bbf72f6</link>
        <description>bpf: Fix arg_track_join log to use sa prefix for stack arg slotsarg_track_join() logs state transitions at CFG merge points. Forstack arg slots (r &gt;= MAX_BPF_REG), it printed &quot;r11:&quot;, &quot;r12:&quot;, etc.,which is misleading since r11 is a special register (BPF_REG_PARAMS)not meaningful to the user.Fix it to print &quot;sa0:&quot;, &quot;sa1:&quot;, etc., matching the per-instructiontransition log in arg_track_log() which already uses the &quot;sa&quot; prefix.Update the existing stack_arg_pruning_type_mismatch selftest to expectthe corrected format.Fixes: 2af4e792773f (&quot;bpf: Extend liveness analysis to track stack argument slots&quot;)Signed-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;Link: https://lore.kernel.org/r/20260515225056.823086-1-yonghong.song@linux.devSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c</description>
        <pubDate>Sat, 16 May 2026 00:50:56 +0200</pubDate>
        <dc:creator>Yonghong Song &lt;yonghong.song@linux.dev&gt;</dc:creator>
    </item>
<item>
        <title>0e2647792f60df746422d6089daf9d56945d5f91 - selftests/bpf: Log arg_track_join for stack arg slots in liveness analysis</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c#0e2647792f60df746422d6089daf9d56945d5f91</link>
        <description>selftests/bpf: Log arg_track_join for stack arg slots in liveness analysisCommit 2af4e792773f (&quot;bpf: Extend liveness analysis to track stack argument slots&quot;)added stack arg supports. For selftest  verifier_stack_arg/stack_arg: pruning with different stack arg typesthe following are two arg JOIN messages:  arg JOIN insn 9 -&gt; 10 r1: fp0-8 + _ =&gt; fp0-8|fp0+0  arg JOIN insn 9 -&gt; 10 r11: fp0-8 + _ =&gt; fp0-8|fp0+0Here the &quot;r11:&quot; label for stack arg slot 0 is misleading since r11is a special register (BPF_REG_PARAMS). The next patch correctsthis to &quot;sa0:&quot;, properly representing the &apos;stack arg slot 0&apos;.Signed-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;Link: https://lore.kernel.org/r/20260515225051.822739-1-yonghong.song@linux.devSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c</description>
        <pubDate>Sat, 16 May 2026 00:50:51 +0200</pubDate>
        <dc:creator>Yonghong Song &lt;yonghong.song@linux.dev&gt;</dc:creator>
    </item>
<item>
        <title>ef1b54e0db671a161887475ef70cd570cbb2a6ab - selftests/bpf: Add test for stack arg read without caller write</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c#ef1b54e0db671a161887475ef70cd570cbb2a6ab</link>
        <description>selftests/bpf: Add test for stack arg read without caller writeAdd negative tests for the outgoing stack arg validation.A static subprog with a &apos;long *&apos; arg causesbtf_prepare_func_args() to fail after setting arg_cnt. Thevalidation ensures check_outgoing_stack_args() still runs.Also update two existing tests (release_ref, stale_pkt_ptr) whoseexpected error messages changed: invalidated stack arg slots are nowcaught by check_outgoing_stack_args() at the call site instead ofat the callee&apos;s dereference.Signed-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;Link: https://lore.kernel.org/r/20260515225045.822104-1-yonghong.song@linux.devSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c</description>
        <pubDate>Sat, 16 May 2026 00:50:45 +0200</pubDate>
        <dc:creator>Yonghong Song &lt;yonghong.song@linux.dev&gt;</dc:creator>
    </item>
<item>
        <title>90e43f1b47535cc7aceef3add1a61ba3260b7aee - selftests/bpf: Enable stack argument tests for arm64</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c#90e43f1b47535cc7aceef3add1a61ba3260b7aee</link>
        <description>selftests/bpf: Enable stack argument tests for arm64Now that arm64 supports stack arguments, enable the existing stack_arg,stack_arg_kfunc and verifier_stack_arg tests for __TARGET_ARCH_arm64.Signed-off-by: Puranjay Mohan &lt;puranjay@kernel.org&gt;Signed-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;Link: https://lore.kernel.org/r/20260513045204.2403441-1-yonghong.song@linux.devSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c</description>
        <pubDate>Wed, 13 May 2026 06:52:04 +0200</pubDate>
        <dc:creator>Puranjay Mohan &lt;puranjay@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>00c3ac4292a6bc3039008cdb45bd423087acb98e - selftests/bpf: Add verifier tests for stack argument validation</title>
        <link>http://kernelsources.org:8080/source/history/linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c#00c3ac4292a6bc3039008cdb45bd423087acb98e</link>
        <description>selftests/bpf: Add verifier tests for stack argument validationAdd inline-asm based verifier tests that exercise stack argumentvalidation logic directly.Positive tests:  - subprog call with 6 arg&apos;s  - Two sequential calls to different subprogs (6-arg and 7-arg)  - Share a r11 store for both branchesNegative tests &#8212; verifier rejection:  - Read from uninitialized incoming stack arg slot  - Gap in outgoing slots: only r11-16 written, r11-8 missing  - Write at r11-80, exceeding max 7 stack args  - Missing store on one branch with a shared store  - First call has proper stack arguments and the second    call intends to inherit stack arguments but not working  - r11 load ordering issueNegative tests &#8212; pointer/ref tracking:  - Pruning type mismatch: one branch stores PTR_TO_STACK, the    other stores a scalar, callee dereferences &#8212; must not prune  - Release invalidation: bpf_sk_release invalidates a socket    pointer stored in a stack arg slot  - Packet pointer invalidation: bpf_skb_pull_data invalidates    a packet pointer stored in a stack arg slot  - Null propagation: PTR_TO_MAP_VALUE_OR_NULL stored in stack    arg slot, null branch attempts dereference via calleeSigned-off-by: Yonghong Song &lt;yonghong.song@linux.dev&gt;Link: https://lore.kernel.org/r/20260513045143.2399278-1-yonghong.song@linux.devSigned-off-by: Alexei Starovoitov &lt;ast@kernel.org&gt;

            List of files:
            /linux/tools/testing/selftests/bpf/progs/verifier_stack_arg.c</description>
        <pubDate>Wed, 13 May 2026 06:51:43 +0200</pubDate>
        <dc:creator>Yonghong Song &lt;yonghong.song@linux.dev&gt;</dc:creator>
    </item>
</channel>
</rss>
